Taquito TypeDocs
    Preparing search index...

    Interface TzProvider

    interface TzProvider {
        activate(pkh: string, secret: string): Promise<Operation>;
        getBalance(address: string): Promise<BigNumber>;
        getDelegate(address: string): Promise<string | null>;
        getSpendable(address: string): Promise<BigNumber>;
    }
    Index

    Methods

    • Parameters

      • address: string

        Tezos address you want to get the spendable balance for (eg tz1...)

      Returns Promise<BigNumber>

    • Parameters

      • address: string

        Tezos address you want to get the delegate for (eg tz1...)

      Returns Promise<string | null>

    • Parameters

      • address: string

        Tezos address you want to get the spendable balance for (eg tz1...)

      Returns Promise<BigNumber>