Skip to main content

index.isAccepted RPC Method

Returns true if the container is in this index.

Updated on
Nov 2, 2023

index.isAccepted RPC Method

Parameters

containerID
String
Thecontainer ID.
encoding
String
Encoding is "hex" only.

Returns

isAccepted
bool
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.isAccepted",
6
"params": {
7
"containerID":"2dGz8JSfX17QqW12pARrt2iWNhXdcpXMYPVSYRn9HrReGpMXqQ",
8
"encoding":"hex"
9
}
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free