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": "index.getContainerByIndex",
"params": {
"index": 0,
"encoding": "hex"
}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Retrieves a container by its acceptance index. The first container is at index 0, the second at index 1, and so on. Used to paginate or sequentially process containers.
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": "index.getContainerByIndex",
"params": {
"index": 0,
"encoding": "hex"
}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
index.getContainerByIndex:params.index: The sequential index of the container (starting from 0).params.encoding: The encoding format for the container data. Only “hex” is supported.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": "index.getContainerByIndex",
"params": {
"index": 0,
"encoding": "hex"
}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?