@mavrykdynamics/taquito
Version:
High level functionality that builds upon the other packages in the Mavryk Typescript Library Suite.
29 lines (28 loc) • 1.45 kB
TypeScript
import { OperationContentsAndResult, OperationContentsAndResultTransaction, OperationContentsTransaction } from '@mavrykdynamics/taquito-rpc';
import BigNumber from 'bignumber.js';
import { Context } from '../context';
import { Operation } from './operations';
import { FeeConsumingOperation, ForgedBytes, GasConsumingOperation, StorageConsumingOperation } from './types';
/**
* @description Transaction operation provides utility functions to fetch a newly issued transaction
*
* @warn Currently supports one transaction per operation
*/
export declare class TransactionOperation extends Operation implements GasConsumingOperation, StorageConsumingOperation, FeeConsumingOperation {
private readonly params;
readonly source: string;
constructor(hash: string, params: OperationContentsTransaction, source: string, raw: ForgedBytes, results: OperationContentsAndResult[], context: Context);
get operationResults(): OperationContentsAndResultTransaction[];
get status(): import("@mavrykdynamics/taquito-rpc").OperationResultStatusEnum | "unknown";
get amount(): BigNumber;
get destination(): string;
get fee(): number;
get gasLimit(): number;
get storageLimit(): number;
private sumProp;
get consumedGas(): string;
get consumedMilliGas(): string;
get storageDiff(): string;
get storageSize(): string;
get errors(): import("@mavrykdynamics/taquito-rpc").TezosGenericOperationError[];
}