Skip to main content

/extended/v3/principals/{principal}/transactions/{tx_id}/balance-changes REST API Endpoint

Returns the balance changes for a principal's transaction

Updated on
Aug 18, 2026

Path Parameters

principal
string
REQUIRED

Stacks account or contract principal.

tx_id
string
REQUIRED

Transaction ID

Query Parameters

limit
integer

Number of results per page

cursor
string

(Optional) Cursor for paginating principal transaction balance changes. Format: <asset_type>:<asset_identifier> where asset_type is a numeric tag (1=STX, 2=FT, 3=NFT) and asset_identifier is <stx> for STX or a fully-qualified Clarity asset id such as SP000…contract-name::asset-name for FT/NFT.

Returns

total
integer

Total number of matching records.

limit
integer

Number of results per page

cursor
object

Cursor metadata for this page of results.

next
string | null

Cursor for the next page, or null when there is no next page.

previous
string | null

Cursor for the previous page, or null when there is no previous page.

current
string

Cursor identifying the current page.

results
array

Items returned for the current page.

asset
object

Asset associated with the balance change.

Response variant.

type
string

Discriminator identifying the record or transaction variant.

type
string

Discriminator identifying the record or transaction variant.

balance_change
object

Change in the asset balance.

sent
string

Amount sent by the principal

received
string

Amount received by the principal

net
string

Net balance change for the principal

Request
Response
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
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free