UNPKG

@taquito/taquito

Version:

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

18 lines (17 loc) 595 B
import BigNumber from 'bignumber.js'; import { ContractProvider } from './interface'; export declare class SaplingStateAbstraction { private id; private provider; constructor(id: BigNumber, provider: ContractProvider); /** * * @description Fetch the sapling state * * @param block optional block level to fetch the values from (head will be use by default) * @returns Return a json object of the sapling_state * */ getSaplingDiff(block?: number): Promise<import("@taquito/rpc").SaplingDiffResponse>; getId(): string; }