curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Gets the UTXOs that reference a given address. If sourceChain is specified, then it will retrieve the atomic UTXOs exported from that chain to the X Chain.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
avm.getUTXOs:params.addresses: A list of X-Chain addresses to fetch UTXOs for.params.limit: Optional maximum number of UTXOs to return. Defaults to 1024 if omitted or exceeded.params.startIndex: Pagination index from the previous response’s endIndex.params.sourceChain: Optional source chain ID (e.g., “P” or “C”). Used when fetching atomic UTXOs.params.encoding: Encoding format for the returned UTXOs. Must be “hex” if specified.Show properties
Show items
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "avm.getUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?