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": "platform.getUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Gets the UTXOs that reference a given set of addresses.
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": "platform.getUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
platform.getUTXOs:params.addresses: A list of addresses to fetch UTXOs for.params.limit: Maximum number of UTXOs to fetch (max: 1024).params.startIndex: Pagination start index.params.sourceChain: Source chain ID (e.g. “X” or “C”) to retrieve atomic UTXOs.params.encoding: Encoding for the UTXOs (currently supports “hex”).Show properties
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": "platform.getUTXOs",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?