Get account balance
GET/accounts/:address/balance/:asset_type
Returns the balance of coin/fungible asset (primary fungible asset store only) for the specified account, asset type, and ledger version of a specific transaction. If no ledger version is specified in the request, the latest ledger version is used. Aptos nodes prune account state history according to a configurable retention period. If the requested ledger version has been pruned, the server responds with a 410 status code.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 410
- 429
Successful Response
Response Headers
Current block height of the chain
Chain ID of the current chain
Current epoch of the chain
Oldest unpruned ledger version of the chain
Current timestamp of the chain
Current ledger version of the chain
Oldest unpruned block height of the chain
Cursor for the next page
Amount of gas actually used for transaction execution
Bad Request
Unauthorized
Forbidden
Not Found
Block Pruned
Too Many Requests