interface BankExtension {
    bank: {
        allBalances: ((address) => Promise<Coin[]>);
        balance: ((address, denom) => Promise<Coin>);
        denomMetadata: ((denom) => Promise<Metadata>);
        denomsMetadata: (() => Promise<Metadata[]>);
        supplyOf: ((denom) => Promise<Coin>);
        totalSupply: ((paginationKey?) => Promise<QueryTotalSupplyResponse>);
    };
}

Properties

Properties

bank: {
    allBalances: ((address) => Promise<Coin[]>);
    balance: ((address, denom) => Promise<Coin>);
    denomMetadata: ((denom) => Promise<Metadata>);
    denomsMetadata: (() => Promise<Metadata[]>);
    supplyOf: ((denom) => Promise<Coin>);
    totalSupply: ((paginationKey?) => Promise<QueryTotalSupplyResponse>);
}

Type declaration

  • Readonly allBalances: ((address) => Promise<Coin[]>)
      • (address): Promise<Coin[]>
      • Parameters

        • address: string

        Returns Promise<Coin[]>

  • Readonly balance: ((address, denom) => Promise<Coin>)
      • (address, denom): Promise<Coin>
      • Parameters

        • address: string
        • denom: string

        Returns Promise<Coin>

  • Readonly denomMetadata: ((denom) => Promise<Metadata>)
      • (denom): Promise<Metadata>
      • Parameters

        • denom: string

        Returns Promise<Metadata>

  • Readonly denomsMetadata: (() => Promise<Metadata[]>)
      • (): Promise<Metadata[]>
      • Returns Promise<Metadata[]>

  • Readonly supplyOf: ((denom) => Promise<Coin>)
      • (denom): Promise<Coin>
      • Parameters

        • denom: string

        Returns Promise<Coin>

  • Readonly totalSupply: ((paginationKey?) => Promise<QueryTotalSupplyResponse>)
      • (paginationKey?): Promise<QueryTotalSupplyResponse>
      • Parameters

        • Optional paginationKey: Uint8Array

        Returns Promise<QueryTotalSupplyResponse>

Generated using TypeDoc