npm package: @namada/indexer-client
Description: OpenAPI client for @namada/indexer-client
Author: OpenAPI-Generator Contributors
Latest version: 4.1.3

## @namada/indexer-client@4.1.3

This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run `npm publish`

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @namada/indexer-client@4.1.3 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```

### Documentation for API Endpoints

All URIs are relative to *http://localhost:5001*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**apiV1AccountAddressGet**](docs/DefaultApi.md#apiv1accountaddressget) | **GET** /api/v1/account/{address} | Get the all the tokens balances of an address
*DefaultApi* | [**apiV1BlockHashValueGet**](docs/DefaultApi.md#apiv1blockhashvalueget) | **GET** /api/v1/block/hash/{value} | Get the block by block hash or block apphash
*DefaultApi* | [**apiV1BlockHeightValueGet**](docs/DefaultApi.md#apiv1blockheightvalueget) | **GET** /api/v1/block/height/{value} | Get the block by height
*DefaultApi* | [**apiV1BlockTimestampValueGet**](docs/DefaultApi.md#apiv1blocktimestampvalueget) | **GET** /api/v1/block/timestamp/{value} | Get the block by timestamp
*DefaultApi* | [**apiV1ChainBlockLatestGet**](docs/DefaultApi.md#apiv1chainblocklatestget) | **GET** /api/v1/chain/block/latest | Get the latest block processed by the chain crawler
*DefaultApi* | [**apiV1ChainCirculatingSupplyGet**](docs/DefaultApi.md#apiv1chaincirculatingsupplyget) | **GET** /api/v1/chain/circulating-supply | Get the circulating supply of the native token at the given epoch
*DefaultApi* | [**apiV1ChainEpochLatestGet**](docs/DefaultApi.md#apiv1chainepochlatestget) | **GET** /api/v1/chain/epoch/latest | Get the latest epoch processed by the chain crawler
*DefaultApi* | [**apiV1ChainHistoryGet**](docs/DefaultApi.md#apiv1chainhistoryget) | **GET** /api/v1/chain/history | Get a paginated list of transaction for a list of addresses
*DefaultApi* | [**apiV1ChainInnerTxIdGet**](docs/DefaultApi.md#apiv1chaininnertxidget) | **GET** /api/v1/chain/inner/{tx_id} | Get the inner transaction by hash
*DefaultApi* | [**apiV1ChainParametersGet**](docs/DefaultApi.md#apiv1chainparametersget) | **GET** /api/v1/chain/parameters | Get chain parameters
*DefaultApi* | [**apiV1ChainRpcUrlGet**](docs/DefaultApi.md#apiv1chainrpcurlget) | **GET** /api/v1/chain/rpc-url | Get rpc url that indexer connects to
*DefaultApi* | [**apiV1ChainTokenGet**](docs/DefaultApi.md#apiv1chaintokenget) | **GET** /api/v1/chain/token | Get chain tokens
*DefaultApi* | [**apiV1ChainTokenSupplyGet**](docs/DefaultApi.md#apiv1chaintokensupplyget) | **GET** /api/v1/chain/token-supply | Get the supply of some token at the given epoch
*DefaultApi* | [**apiV1ChainWrapperRecentGet**](docs/DefaultApi.md#apiv1chainwrapperrecentget) | **GET** /api/v1/chain/wrapper/recent | Get the most recent wrapper transactions with optional filtering by inner tx kind and/or transfer token
*DefaultApi* | [**apiV1ChainWrapperTxIdGet**](docs/DefaultApi.md#apiv1chainwrappertxidget) | **GET** /api/v1/chain/wrapper/{tx_id} | Get the wrapper transaction by hash
*DefaultApi* | [**apiV1CrawlersTimestampsGet**](docs/DefaultApi.md#apiv1crawlerstimestampsget) | **GET** /api/v1/crawlers/timestamps | Get timestamps of the last activity of the crawlers
*DefaultApi* | [**apiV1GasEstimateGet**](docs/DefaultApi.md#apiv1gasestimateget) | **GET** /api/v1/gas/estimate | Get an estimate for a transaction
*DefaultApi* | [**apiV1GasPriceGet**](docs/DefaultApi.md#apiv1gaspriceget) | **GET** /api/v1/gas-price | Get all the gas prices
*DefaultApi* | [**apiV1GasPriceTokenGet**](docs/DefaultApi.md#apiv1gaspricetokenget) | **GET** /api/v1/gas-price/{token} | Get the gas price per token type
*DefaultApi* | [**apiV1GovProposalGet**](docs/DefaultApi.md#apiv1govproposalget) | **GET** /api/v1/gov/proposal | Get a list of governance proposals
*DefaultApi* | [**apiV1GovProposalIdDataGet**](docs/DefaultApi.md#apiv1govproposaliddataget) | **GET** /api/v1/gov/proposal/{id}/data | Get a governance proposal data by proposal id
*DefaultApi* | [**apiV1GovProposalIdGet**](docs/DefaultApi.md#apiv1govproposalidget) | **GET** /api/v1/gov/proposal/{id} | Get a governance proposal by id
*DefaultApi* | [**apiV1GovProposalIdVotesAddressGet**](docs/DefaultApi.md#apiv1govproposalidvotesaddressget) | **GET** /api/v1/gov/proposal/{id}/votes/{address} | Get all the votes for a governance proposal from an address
*DefaultApi* | [**apiV1GovProposalIdVotesGet**](docs/DefaultApi.md#apiv1govproposalidvotesget) | **GET** /api/v1/gov/proposal/{id}/votes | Get all the votes for a governance proposal
*DefaultApi* | [**apiV1GovVoterAddressVotesGet**](docs/DefaultApi.md#apiv1govvoteraddressvotesget) | **GET** /api/v1/gov/voter/{address}/votes | Get all the votes from a voter
*DefaultApi* | [**apiV1IbcRateLimitsGet**](docs/DefaultApi.md#apiv1ibcratelimitsget) | **GET** /api/v1/ibc/rate-limits | Get the rate limits of IBC tokens
*DefaultApi* | [**apiV1IbcTokenFlowsGet**](docs/DefaultApi.md#apiv1ibctokenflowsget) | **GET** /api/v1/ibc/token-flows | Get the withdraw and deposit rates of IBC tokens
*DefaultApi* | [**apiV1IbcTokenThroughputAddressGet**](docs/DefaultApi.md#apiv1ibctokenthroughputaddressget) | **GET** /api/v1/ibc/token-throughput/{address} | Get the throughput of the given IBC token
*DefaultApi* | [**apiV1IbcTxIdStatusGet**](docs/DefaultApi.md#apiv1ibctxidstatusget) | **GET** /api/v1/ibc/{tx_id}/status | Get the status of an IBC transfer by tx id
*DefaultApi* | [**apiV1MaspAggregatesGet**](docs/DefaultApi.md#apiv1maspaggregatesget) | **GET** /api/v1/masp/aggregates | Get inflows and outflows from/to the MASP pool
*DefaultApi* | [**apiV1MaspRatesGet**](docs/DefaultApi.md#apiv1maspratesget) | **GET** /api/v1/masp/rates | Get masp rates
*DefaultApi* | [**apiV1PgfPaymentsIdGet**](docs/DefaultApi.md#apiv1pgfpaymentsidget) | **GET** /api/v1/pgf/payments/{id} | Get a pgf payment by proposal id
*DefaultApi* | [**apiV1PosBondAddressGet**](docs/DefaultApi.md#apiv1posbondaddressget) | **GET** /api/v1/pos/bond/{address} | Get all the bonds for an address
*DefaultApi* | [**apiV1PosMergedBondsAddressGet**](docs/DefaultApi.md#apiv1posmergedbondsaddressget) | **GET** /api/v1/pos/merged-bonds/{address} | Get all the bonds for an address, with merged amounts, regardless of the status
*DefaultApi* | [**apiV1PosMergedUnbondsAddressGet**](docs/DefaultApi.md#apiv1posmergedunbondsaddressget) | **GET** /api/v1/pos/merged-unbonds/{address} | Get all the unbonds for an an address with merged withdraw amounts
*DefaultApi* | [**apiV1PosRewardAddressGet**](docs/DefaultApi.md#apiv1posrewardaddressget) | **GET** /api/v1/pos/reward/{address} | Get all the rewards for an address
*DefaultApi* | [**apiV1PosRewardDelegatorAddressValidatorAddressEpochGet**](docs/DefaultApi.md#apiv1posrewarddelegatoraddressvalidatoraddressepochget) | **GET** /api/v1/pos/reward/{delegator_address}/{validator_address}/{epoch} | Get rewards for a single delegator for a specific epoch
*DefaultApi* | [**apiV1PosUnbondAddressGet**](docs/DefaultApi.md#apiv1posunbondaddressget) | **GET** /api/v1/pos/unbond/{address} | Get all the unbonds for an an address
*DefaultApi* | [**apiV1PosValidatorAllGet**](docs/DefaultApi.md#apiv1posvalidatorallget) | **GET** /api/v1/pos/validator/all | Get all validators, non paginated
*DefaultApi* | [**apiV1PosValidatorGet**](docs/DefaultApi.md#apiv1posvalidatorget) | **GET** /api/v1/pos/validator | Get all validators, paginated
*DefaultApi* | [**apiV1PosVotingPowerGet**](docs/DefaultApi.md#apiv1posvotingpowerget) | **GET** /api/v1/pos/voting-power | Get the total voting power
*DefaultApi* | [**apiV1PosWithdrawAddressGet**](docs/DefaultApi.md#apiv1poswithdrawaddressget) | **GET** /api/v1/pos/withdraw/{address} | Get all the withdraws for an address at a specific epoch
*DefaultApi* | [**apiV1RevealedPublicKeyAddressGet**](docs/DefaultApi.md#apiv1revealedpublickeyaddressget) | **GET** /api/v1/revealed-public-key/{address} | Get revealed public key for an address if exists
*DefaultApi* | [**healthGet**](docs/DefaultApi.md#healthget) | **GET** /health | 


### Documentation For Models

 - [ApiV1ChainBlockLatestGet200Response](docs/ApiV1ChainBlockLatestGet200Response.md)
 - [ApiV1ChainEpochLatestGet200Response](docs/ApiV1ChainEpochLatestGet200Response.md)
 - [ApiV1ChainHistoryGet200Response](docs/ApiV1ChainHistoryGet200Response.md)
 - [ApiV1ChainTokenGet200ResponseInner](docs/ApiV1ChainTokenGet200ResponseInner.md)
 - [ApiV1CrawlersTimestampsGet200ResponseInner](docs/ApiV1CrawlersTimestampsGet200ResponseInner.md)
 - [ApiV1GovProposalGet200Response](docs/ApiV1GovProposalGet200Response.md)
 - [ApiV1GovProposalIdVotesGet200Response](docs/ApiV1GovProposalIdVotesGet200Response.md)
 - [ApiV1IbcTxIdStatusGet200Response](docs/ApiV1IbcTxIdStatusGet200Response.md)
 - [ApiV1PosBondAddressGet200Response](docs/ApiV1PosBondAddressGet200Response.md)
 - [ApiV1PosMergedBondsAddressGet200Response](docs/ApiV1PosMergedBondsAddressGet200Response.md)
 - [ApiV1PosUnbondAddressGet200Response](docs/ApiV1PosUnbondAddressGet200Response.md)
 - [ApiV1PosValidatorGet200Response](docs/ApiV1PosValidatorGet200Response.md)
 - [ApiV1PosWithdrawAddressGet200Response](docs/ApiV1PosWithdrawAddressGet200Response.md)
 - [Balance](docs/Balance.md)
 - [Block](docs/Block.md)
 - [Bond](docs/Bond.md)
 - [CirculatingSupply](docs/CirculatingSupply.md)
 - [GasEstimate](docs/GasEstimate.md)
 - [GasPriceTableInner](docs/GasPriceTableInner.md)
 - [HealthGet200Response](docs/HealthGet200Response.md)
 - [IbcRateLimit](docs/IbcRateLimit.md)
 - [IbcToken](docs/IbcToken.md)
 - [IbcTokenFlow](docs/IbcTokenFlow.md)
 - [IbcTokenThroughput](docs/IbcTokenThroughput.md)
 - [InnerTransaction](docs/InnerTransaction.md)
 - [MaspPoolAggregateResponse](docs/MaspPoolAggregateResponse.md)
 - [MaspRatesResponse](docs/MaspRatesResponse.md)
 - [MergedBond](docs/MergedBond.md)
 - [ModelParameters](docs/ModelParameters.md)
 - [NativeToken](docs/NativeToken.md)
 - [Pagination](docs/Pagination.md)
 - [PgfPayment](docs/PgfPayment.md)
 - [Proposal](docs/Proposal.md)
 - [ProposalData](docs/ProposalData.md)
 - [RedelegationInfo](docs/RedelegationInfo.md)
 - [RevealedPk](docs/RevealedPk.md)
 - [Reward](docs/Reward.md)
 - [RpcUrl](docs/RpcUrl.md)
 - [TokenSupply](docs/TokenSupply.md)
 - [TransactionHistory](docs/TransactionHistory.md)
 - [TransactionHistoryTx](docs/TransactionHistoryTx.md)
 - [Unbond](docs/Unbond.md)
 - [Validator](docs/Validator.md)
 - [ValidatorStatus](docs/ValidatorStatus.md)
 - [Vote](docs/Vote.md)
 - [VotingPower](docs/VotingPower.md)
 - [Withdraw](docs/Withdraw.md)
 - [WrapperTransaction](docs/WrapperTransaction.md)
 - [WrapperTransactionInnerTransactionsInner](docs/WrapperTransactionInnerTransactionsInner.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.