Path Parameters
- principalstringREQUIRED
Stacks account or contract principal.
- tx_idstringREQUIRED
Transaction ID
Query Parameters
- limitinteger
Number of results per page
- cursorstring
(Optional) Cursor for paginating principal transaction balance changes. Format:
<asset_type>:<asset_identifier>whereasset_typeis a numeric tag (1=STX, 2=FT, 3=NFT) andasset_identifieris<stx>for STX or a fully-qualified Clarity asset id such asSP000…contract-name::asset-namefor FT/NFT.
Returns
- totalinteger
Total number of matching records.
- limitinteger
Number of results per page
- cursorobject
Cursor metadata for this page of results.
- nextstring | null
Cursor for the next page, or null when there is no next page.
- previousstring | null
Cursor for the previous page, or null when there is no previous page.
- currentstring
Cursor identifying the current page.
- resultsarray
Items returned for the current page.
- assetobject
Asset associated with the balance change.
Response variant.
- typestring
Discriminator identifying the record or transaction variant.
Response variant.
- typestring
The asset type that was affected by the balance change.
- identifierstring
The identifier of the asset that was affected by the balance change.
- typestring
Discriminator identifying the record or transaction variant.
- balance_changeobject
Change in the asset balance.
- sentstring
Amount sent by the principal
- receivedstring
Amount received by the principal
- netstring
Net balance change for the principal
1{2"total": 1,3"limit": 1,4"cursor": {5"next": null,6"previous": null,7"current": "1:stx"8},9"results": [10{11"asset": {12"type": "stx"13},14"balance_change": {15"sent": "579",16"received": "0",17"net": "-579"18}19}20]21}
1{2"total": 1,3"limit": 1,4"cursor": {5"next": null,6"previous": null,7"current": "1:stx"8},9"results": [10{11"asset": {12"type": "stx"13},14"balance_change": {15"sent": "579",16"received": "0",17"net": "-579"18}19}20]21}