@mavrykdynamics/taquito
Version:
High level functionality that builds upon the other packages in the Mavryk Typescript Library Suite.
17 lines (16 loc) • 587 B
TypeScript
import { OperationContentsAndResult } from '@mavrykdynamics/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;