curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "ots_getApiLevel",
"params": [],
"id": 1
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": 8
}Get the Otterscan API version level on Hyperliquid EVM. Check node compatibility with Otterscan block explorer features.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "ots_getApiLevel",
"params": [],
"id": 1
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": 8
}ots_getApiLevel JSON-RPC method returns the Otterscan API version level supported by the Hyperliquid EVM node. This method allows clients, particularly the Otterscan block explorer, to determine which API features are available on the connected node.
result — the API level number (e.g., 8 for the current version)curl -X POST https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "ots_getApiLevel",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": 8
}
ots_getApiLevel method is essential for:
Was this page helpful?