Skip to main content

index.getIndex RPC Method

Get a container's index.

Updated on
Nov 2, 2023

index.getIndex RPC Method

Parameters

containerID
String
Thecontainer ID.
encoding
String
Encoding can only be "hex".

Returns

index
string
The container'sindex.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/index/X/tx \
2
--data-raw '{
3
"jsonrpc":"2.0",
4
"id" :1,
5
"method" :"index.getIndex",
6
"params": {
7
"containerID":"CRKUaHg85WmLtMc2AbiWVh87Vi5PKBVZFFLhWPtZyRDv6SHSS",
8
"encoding":"hex"
9
}
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free