@taquito/taquito
Version:
High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.
25 lines (24 loc) • 1.27 kB
TypeScript
import { OperationContentsAndResult, OperationContentsAndResultReveal, OperationContentsReveal } from '@taquito/rpc';
import { Context } from '../context';
import { Operation } from './operations';
import { FeeConsumingOperation, ForgedBytes, GasConsumingOperation, StorageConsumingOperation } from './types';
/**
* @description Reveal operation provides utility functions to fetch a newly issued revelation
*/
export declare class RevealOperation extends Operation implements GasConsumingOperation, StorageConsumingOperation, FeeConsumingOperation {
private readonly params;
readonly source: string;
constructor(hash: string, params: OperationContentsReveal, source: string, raw: ForgedBytes, results: OperationContentsAndResult[], context: Context);
get operationResults(): OperationContentsAndResultReveal[];
get status(): "applied" | "failed" | "skipped" | "backtracked" | "unknown";
get fee(): number;
get gasLimit(): number;
get storageLimit(): number;
get publicKey(): string;
private sumProp;
get consumedGas(): string;
get consumedMilliGas(): string;
get storageDiff(): string;
get storageSize(): string;
get errors(): import("@taquito/rpc").TezosGenericOperationError[];
}