pulsechain.box
ots

ots_getApiLevel

Returns the current Otterscan API level supported by the node. This is used by Otterscan to determine which features are available.

Returns the current Otterscan API level supported by the node. This is used by Otterscan to determine which features are available.

Parameters

#TypeDescription
No parameters required.

Returns

TypeDescription
numberThe API level as an integer. Currently 8.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "ots_getApiLevel",
    "params": [],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": 8
}
TRY IT

Notes

  • The API level indicates which ots_* methods are available. Higher levels add more methods.
  • Level 8 is the current level, supporting all Otterscan extension methods.
Copyright © 2026 AvecdrA. Made with love.