Docs
Supported ChainsMythosSubstrate APIState Methods

state_getKeysPaged - Mythos RPC Method

Enumerate storage keys on Mythos. Essential for iterating storage maps.

Returns storage keys with pagination on Mythos.

Use Cases

  • Storage iteration - Enumerate storage map entries
  • Data export - Bulk export chain data for AAA gaming (FIFA Rivals, NFL Rivals, Pudgy Party), player-owned economies, and bot-resistant matchmaking
  • Account enumeration - List all accounts

Request Parameters

Request
prefixString

Storage key prefix

countNumber

Maximum keys to return

startKeyString

Key to start after

blockHashString

Block hash for historical query

Response Body

Response

Code Examples

Bash
curl https://api-mythos-archive.n.dwellir.com/YOUR_API_KEY \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "state_getKeysPaged",
    "params": ["0x26aa394eea5630e07c48ae0c9558cef7", 100],
    "id": 1
  }'
JavaScript
import { ApiPromise, WsProvider } from '@polkadot/api';

const provider = new WsProvider('wss://api-mythos-archive.n.dwellir.com/YOUR_API_KEY');
const api = await ApiPromise.create({ provider });

// Get all accounts (paginated)
const keys = await api.rpc.state.getKeysPaged(
  api.query.system.account.keyPrefix(),
  100
);

console.log('Found accounts:', keys.length);

await api.disconnect();

On this page