UNPKG

@taquito/taquito

Version:

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

21 lines (20 loc) 683 B
import BigNumber from 'bignumber.js'; import { Operation } from '../operations/operations'; export interface TzProvider { /** * * @param address Tezos address you want to get the spendable balance for (eg tz1...) */ getBalance(address: string): Promise<BigNumber>; /** * * @param address Tezos address you want to get the spendable balance for (eg tz1...) */ getSpendable(address: string): Promise<BigNumber>; /** * * @param address Tezos address you want to get the delegate for (eg tz1...) */ getDelegate(address: string): Promise<string | null>; activate(pkh: string, secret: string): Promise<Operation>; }