Constructors
constructor
- new BankQuerier(url): BankQuerier
Properties
Private
url
url: string
Methods
allBalances
- allBalances(req, headers?): Promise<QueryAllBalancesResponse>
Parameters
req: QueryAllBalancesRequest
Optional
headers: HeadersInit
Returns Promise<QueryAllBalancesResponse>
balance
- balance(req, headers?): Promise<QueryBalanceResponse>
Parameters
req: QueryBalanceRequest
Optional
headers: HeadersInit
Returns Promise<QueryBalanceResponse>
denomMetadata
- denomMetadata(req, headers?): Promise<QueryDenomMetadataResponse>
Parameters
req: QueryDenomMetadataRequest
Optional
headers: HeadersInit
Returns Promise<QueryDenomMetadataResponse>
denomsMetadata
- denomsMetadata(req, headers?): Promise<QueryDenomsMetadataResponse>
Parameters
req: QueryDenomsMetadataRequest
Optional
headers: HeadersInit
Returns Promise<QueryDenomsMetadataResponse>
params
- params(req, headers?): Promise<QueryParamsResponse>
Parameters
req: QueryParamsRequest
Optional
headers: HeadersInit
Returns Promise<QueryParamsResponse>
spendableBalances
- spendableBalances(req, headers?): Promise<QuerySpendableBalancesResponse>
Parameters
req: QuerySpendableBalancesRequest
Optional
headers: HeadersInit
Returns Promise<QuerySpendableBalancesResponse>
supplyOf
- supplyOf(req, headers?): Promise<QuerySupplyOfResponse>
Parameters
req: QuerySupplyOfRequest
Optional
headers: HeadersInit
Returns Promise<QuerySupplyOfResponse>
totalSupply
- totalSupply(req, headers?): Promise<QueryTotalSupplyResponse>
Parameters
req: QueryTotalSupplyRequest
Optional
headers: HeadersInit
Returns Promise<QueryTotalSupplyResponse>