rpc_methods – Mythos JSON-RPC Method
Lists every RPC namespace and method version exposed by the node. Call this first when validating feature availability across Mythos archive and full nodes.
Parameters#
This method takes no parameters.
Returns#
| Field | Type | Description |
|---|---|---|
methods | array | List of method names (e.g. chain_getBlock, state_getStorage). |
version | number | RPC API version number. |
Request Example#
{
"jsonrpc": "2.0",
"method": "rpc_methods",
"params": [],
"id": 1
}
Example (curl)#
curl https://api-mythos-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "rpc_methods",
"params": [],
"id": 1
}'