Skip to main content

platform.getUtxOs RPC Method

Loading...

Updated on
Nov 02, 2023

platform.getUtxOs RPC Method

Parameters

addresses
[]string
Loading...
limit
int
Loading...
startIndex
object
Loading...
address
string
Loading...
utxo
string
Loading...
sourceChain
string
Loading...
encoding
string
Loading...

Returns

numFetched
string
Loading...
utxos
[]string
Loading...
endIndex
object
Loading...
address
string
Loading...
utxo
string
Loading...
encoding
string
Loading...
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "platform.getUTXOs",
7
"params": {
8
"addresses": [
9
"P-avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy"
10
],
11
"sourceChain": "X",
12
"limit": 5,
13
"encoding": "hex"
14
}
15
}'
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "platform.getUTXOs",
7
"params": {
8
"addresses": [
9
"P-avax1tnuesf6cqwnjw7fxjyk7lhch0vhf0v95wj5jvy"
10
],
11
"sourceChain": "X",
12
"limit": 5,
13
"encoding": "hex"
14
}
15
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free