Skip to main content

ord_getSatAtIndex RPC Method

Gets the sat at the specified index.

Updated on
May 17, 2024

ord_getSatAtIndex RPC Method

Please note that this method requires the Ordinals & Runes API add-on enabled on your QuickNode endpoint.

Parameters

sat
integer
REQUIRED
The SAT number for which you want to retrieve the SAT value
index
integer
REQUIRED
The index within the SAT number from which you want to retrieve the SAT value

Returns

id
array
The SAT number
Request
1
curl --location 'https://docs-demo.btc.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "ord_getSatAtIndex",
5
"params": [
6
125866034480298,
7
0
8
],
9
"id": 1,
10
"jsonrpc": "2.0"
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free