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

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<null | string>