Get account STX balance
Retrieves STX token balance for a given Address or Contract Identifier.
| Path Parameters |
|---|
principal string — REQUIREDStacks address or a Contract identifier. Example: SP31DA6FTSJX2WGTZ69SFY11BH51NZMB0ZW97B5P0 |
| Query Parameters |
|---|
unanchored booleanInclude transaction data from unanchored (i.e. unconfirmed) microblocks. Example: true |
until_block stringreturned 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 |
| Responses | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Success
|