Skip to main content

avm.getAddressTxs RPC Method

Returns all transactions that change the balance of the given address.

Updated on
Nov 2, 2023

avm.getAddressTxs RPC Method

Parameters

address
String
REQUIRED
The address for which we're fetching related transactions
cursor
uint64
The page number or offset. Leave empty to get the first page.
assetID
String
REQUIRED
Only return transactions that changed the balance of this asset. Must be an ID or an alias for an asset.
pageSize
uint64
The number of items to return per page. It defaults to 1024.

Returns

txIDs
array of strings
The list of transaction IDs that affected the balance of this address.
cursor
uint64
The page number or offset.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/X \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc":"2.0",
5
"id" : 1,
6
"method" :"avm.getAddressTxs",
7
"params" :{
8
"address":"X-avax19pm62y5n0yt76wgp8pd7jdhepmppc67y7yg0cq",
9
"assetID":"AVAX",
10
"pageSize":20
11
}
12
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free