Get user balances
Retrieves account balance information, including STX, fungible, and non-fungible tokens.
GET
/extended/v1/address/{principal}/balances
Get account balances
Retrieves total account balance information for a given Address or Contract Identifier. This includes the balances of STX Tokens, Fungible Tokens and Non-Fungible Tokens for the account.
Path Parameters
principal
Requiredstring
Stacks address or a Contract identifier
Example:"SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0"
Query Parameters
unanchored
boolean
Include transaction data from unanchored (i.e. unconfirmed) microblocks
Example:true
Default: false
until_block
string
returned data representing the state up until that point in time, rather than the current block.
Example:60000
Status code | Description |
---|---|
200 | Success |
GET request that returns address balances