UNPKG

@taquito/taquito

Version:

High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.

17 lines (16 loc) 588 B
import { OperationContentsAndResult } from '@taquito/rpc'; import BigNumber from 'bignumber.js'; export interface Receipt { totalFee: BigNumber; totalGas: BigNumber; totalMilliGas: BigNumber; totalStorage: BigNumber; totalAllocationBurn: BigNumber; totalOriginationBurn: BigNumber; totalPaidStorageDiff: BigNumber; totalStorageBurn: BigNumber; } export declare const receiptFromOperation: (op: OperationContentsAndResult[], { ALLOCATION_BURN, ORIGINATION_BURN }?: { ALLOCATION_BURN: number; ORIGINATION_BURN: number; }) => Receipt;