curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_congestion_level \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_congestion_level",
"params": {
"block_id": 1,
"shard_id": 1
}
}
'{
"result": {
"congestion_level": 123
},
"id": "<string>",
"jsonrpc": "<string>"
}Queries the congestion level of a shard. More info about congestion here
curl --request POST \
--url https://rpc.mainnet.near.org/EXPERIMENTAL_congestion_level \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"jsonrpc": "<string>",
"method": "EXPERIMENTAL_congestion_level",
"params": {
"block_id": 1,
"shard_id": 1
}
}
'{
"result": {
"congestion_level": 123
},
"id": "<string>",
"jsonrpc": "<string>"
}