Get STX user balances
Retrieves the STX token balance for a specified address or contract identifier.
GET
GET
/extended/v1/address/{principal}/stx
Retrieves STX token balance for a given Address or Contract Identifier.
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. Note - Use either of the query parameters but not both at a time.
Example:60000
Status code | Description |
---|---|
200 | Success |
GET request that returns address balances
Last updated on