{ "opencollection": "1.0.0", "info": { "name": "Polkadot REST Account rc API", "version": "0.1.3" }, "items": [ { "info": { "name": "rc", "type": "folder" }, "items": [ { "info": { "name": "RC get balance info", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/accounts/:accountId/balance-info", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "SS58-encoded account address" }, { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" }, { "name": "token", "value": "", "type": "query", "description": "Token symbol (defaults to native token)" }, { "name": "denominated", "value": "", "type": "query", "description": "Denominate balances using chain decimals" } ] }, "docs": "Returns balance information for a given account on the relay chain." }, { "info": { "name": "RC get proxy info", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/accounts/:accountId/proxy-info", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "SS58-encoded account address" }, { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns proxy information for a given account on the relay chain." }, { "info": { "name": "RC get staking info", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/accounts/:accountId/staking-info", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "SS58-encoded stash account address" }, { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" }, { "name": "includeClaimedRewards", "value": "", "type": "query", "description": "When true, include claimed rewards in the response" } ] }, "docs": "Returns staking information for a given stash account on the relay chain." }, { "info": { "name": "RC get staking payouts", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/accounts/:accountId/staking-payouts", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "SS58-encoded account address" }, { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" }, { "name": "depth", "value": "", "type": "query", "description": "Number of eras to query (default: 1)" }, { "name": "era", "value": "", "type": "query", "description": "The era to query at (default: active_era - 1)" }, { "name": "unclaimedOnly", "value": "", "type": "query", "description": "Only show unclaimed rewards (default: true)" } ] }, "docs": "Returns staking payout information for a given account on the relay chain." }, { "info": { "name": "RC get vesting info", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/accounts/:accountId/vesting-info", "params": [ { "name": "accountId", "value": "", "type": "path", "description": "SS58-encoded account address" }, { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns vesting information for a given account on the relay chain." }, { "info": { "name": "RC get blocks by range", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks", "params": [ { "name": "range", "value": "", "type": "query", "description": "Block range (e.g., '100-200')" }, { "name": "eventDocs", "value": "", "type": "query", "description": "Include event documentation" }, { "name": "extrinsicDocs", "value": "", "type": "query", "description": "Include extrinsic documentation" }, { "name": "noFees", "value": "", "type": "query", "description": "Skip fee calculation" }, { "name": "decodedXcmMsgs", "value": "", "type": "query", "description": "Decode and include XCM messages" }, { "name": "paraId", "value": "", "type": "query", "description": "Filter XCM messages by parachain ID" } ] }, "docs": "Returns relay chain blocks within a specified range (max 500 blocks)." }, { "info": { "name": "RC get head block", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/head", "params": [ { "name": "finalized", "value": "", "type": "query", "description": "When true returns finalized head (default: true)" }, { "name": "eventDocs", "value": "", "type": "query", "description": "Include event documentation" }, { "name": "extrinsicDocs", "value": "", "type": "query", "description": "Include extrinsic documentation" }, { "name": "noFees", "value": "", "type": "query", "description": "Skip fee calculation" }, { "name": "decodedXcmMsgs", "value": "", "type": "query", "description": "Decode and include XCM messages" }, { "name": "paraId", "value": "", "type": "query", "description": "Filter XCM messages by parachain ID" } ] }, "docs": "Returns the latest block on the relay chain." }, { "info": { "name": "RC get head block header", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/head/header", "params": [ { "name": "finalized", "value": "", "type": "query", "description": "When true returns finalized head (default: true)" } ] }, "docs": "Returns the header of the latest relay chain block." }, { "info": { "name": "RC get block by ID", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/:blockId", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block height number or block hash" }, { "name": "eventDocs", "value": "", "type": "query", "description": "Include event documentation" }, { "name": "extrinsicDocs", "value": "", "type": "query", "description": "Include extrinsic documentation" }, { "name": "noFees", "value": "", "type": "query", "description": "Skip fee calculation" }, { "name": "decodedXcmMsgs", "value": "", "type": "query", "description": "Include decoded XCM messages" }, { "name": "paraId", "value": "", "type": "query", "description": "Filter XCM messages by parachain ID" } ] }, "docs": "Returns relay chain block information for a given block identifier." }, { "info": { "name": "RC get raw extrinsics", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/:blockId/extrinsics-raw", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block height number or block hash" } ] }, "docs": "Returns raw hex-encoded extrinsics for a relay chain block without decoding." }, { "info": { "name": "RC get extrinsic by index", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/:blockId/extrinsics/:extrinsicIndex", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block height number or block hash" }, { "name": "extrinsicIndex", "value": "", "type": "path", "description": "Index of the extrinsic in the block" }, { "name": "eventDocs", "value": "", "type": "query", "description": "Include event documentation" }, { "name": "extrinsicDocs", "value": "", "type": "query", "description": "Include extrinsic documentation" }, { "name": "noFees", "value": "", "type": "query", "description": "Skip fee calculation" } ] }, "docs": "Returns a specific extrinsic from a relay chain block by its index." }, { "info": { "name": "RC get block header", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/:blockId/header", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block height number or block hash" } ] }, "docs": "Returns the header of a relay chain block by block hash or block number." }, { "info": { "name": "RC get parachain inclusions", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/blocks/:blockId/para-inclusions", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block height number or block hash" }, { "name": "paraId", "value": "", "type": "query", "description": "Filter by parachain ID" } ] }, "docs": "Returns parachain inclusion information for a given relay chain block." }, { "info": { "name": "RC get node network", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/node/network" }, "docs": "Returns the relay chain node's network information." }, { "info": { "name": "RC get transaction pool", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/node/transaction-pool", "params": [ { "name": "includeFee", "value": "", "type": "query", "description": "Include fee information for each transaction (default: false)" } ] }, "docs": "Returns the relay chain's transaction pool with optional fee information." }, { "info": { "name": "RC get node version", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/node/version" }, "docs": "Returns the relay chain node's version information." }, { "info": { "name": "RC on-going referenda", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/on-going-referenda", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" } ] }, "docs": "Returns all currently active referenda from the relay chain's Referenda pallet." }, { "info": { "name": "RC staking progress", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/staking/progress", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" } ] }, "docs": "Returns staking progress from the relay chain." }, { "info": { "name": "RC staking validators", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/staking/validators", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" } ] }, "docs": "Returns the list of active validators from the relay chain." }, { "info": { "name": "RC pallet constants", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/consts", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "onlyIds", "value": "", "type": "query", "description": "Only return constant names" } ] }, "docs": "Returns all constants defined in a relay chain pallet." }, { "info": { "name": "RC pallet constant value", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/consts/:constantItemId", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "constantItemId", "value": "", "type": "path", "description": "Name of the constant" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "metadata", "value": "", "type": "query", "description": "Include metadata" } ] }, "docs": "Returns the value and metadata of a specific constant from a relay chain pallet." }, { "info": { "name": "RC pallet dispatchables", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/dispatchables", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "onlyIds", "value": "", "type": "query", "description": "Only return dispatchable names" } ] }, "docs": "Returns the dispatchable calls defined in a relay chain pallet." }, { "info": { "name": "RC pallet dispatchable details", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/dispatchables/:dispatchableId", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "dispatchableId", "value": "", "type": "path", "description": "Name of the dispatchable" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "metadata", "value": "", "type": "query", "description": "Include metadata" } ] }, "docs": "Returns a single dispatchable call from a relay chain pallet." }, { "info": { "name": "RC pallet errors", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/errors", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "onlyIds", "value": "", "type": "query", "description": "Only return error names" } ] }, "docs": "Returns all errors defined in a relay chain pallet." }, { "info": { "name": "RC pallet error details", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/errors/:errorItemId", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "errorItemId", "value": "", "type": "path", "description": "Name of the error" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "metadata", "value": "", "type": "query", "description": "Include metadata" } ] }, "docs": "Returns metadata for a specific error in a relay chain pallet." }, { "info": { "name": "RC pallet events", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/events", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "onlyIds", "value": "", "type": "query", "description": "Only return event names" } ] }, "docs": "Returns all events defined in a relay chain pallet." }, { "info": { "name": "RC pallet event details", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/events/:eventItemId", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "eventItemId", "value": "", "type": "path", "description": "Event name" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "metadata", "value": "", "type": "query", "description": "Include full event metadata" } ] }, "docs": "Returns metadata for a specific event in a relay chain pallet." }, { "info": { "name": "RC pallet storage items", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/storage", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "onlyIds", "value": "", "type": "query", "description": "Only return storage item names" } ] }, "docs": "Returns the list of storage items for a relay chain pallet." }, { "info": { "name": "RC pallet storage item value", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/pallets/:palletId/storage/:storageItemId", "params": [ { "name": "palletId", "value": "", "type": "path", "description": "Name or index of the pallet" }, { "name": "storageItemId", "value": "", "type": "path", "description": "Name of the storage item" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "keys[]", "value": "", "type": "query", "description": "Storage key arguments" }, { "name": "metadata", "value": "", "type": "query", "description": "Include metadata for the storage item" } ] }, "docs": "Returns the value of a specific storage item from a relay chain pallet." }, { "info": { "name": "RC get runtime code", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/runtime/code", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns the Wasm code blob of the relay chain runtime at a given block." }, { "info": { "name": "RC get runtime metadata", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/runtime/metadata", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns the decoded runtime metadata of the relay chain in JSON format." }, { "info": { "name": "RC get metadata versions", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/runtime/metadata/versions", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns the available metadata versions on the relay chain at a given block." }, { "info": { "name": "RC get metadata by version", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/runtime/metadata/:version", "params": [ { "name": "version", "value": "", "type": "path", "description": "Metadata version in 'vX' format (e.g., v14, v15)" }, { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns the relay chain metadata at a specific version (e.g., v14, v15)." }, { "info": { "name": "RC get runtime spec", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/runtime/spec", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block identifier (number or hash)" } ] }, "docs": "Returns the runtime spec of the relay chain at a given block." }, { "info": { "name": "Submit transaction (relay chain)", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/v1/rc/transaction", "body": { "type": "json", "data": "{}" } }, "docs": "Submit a signed extrinsic to the relay chain transaction pool. Only available on parachains." }, { "info": { "name": "RC dry run transaction", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/v1/rc/transaction/dry-run", "body": { "type": "json", "data": "{}" } }, "docs": "Dry run a transaction on the relay chain." }, { "info": { "name": "RC fee estimate", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/v1/rc/transaction/fee-estimate", "body": { "type": "json", "data": "{}" } }, "docs": "Estimate the fee for a relay chain transaction." }, { "info": { "name": "RC transaction material", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/transaction/material", "params": [ { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "noMeta", "value": "", "type": "query", "description": "DEPRECATED: If true, metadata is not included" }, { "name": "metadata", "value": "", "type": "query", "description": "Metadata format: 'json' or 'scale'" } ] }, "docs": "Returns relay chain network information for transaction construction." }, { "info": { "name": "RC transaction material versioned", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/v1/rc/transaction/material/:metadataVersion", "params": [ { "name": "metadataVersion", "value": "", "type": "path", "description": "Metadata version (e.g., 'v14', 'v15')" }, { "name": "at", "value": "", "type": "query", "description": "Block hash or number to query at" }, { "name": "noMeta", "value": "", "type": "query", "description": "DEPRECATED: If true, metadata is not included" }, { "name": "metadata", "value": "", "type": "query", "description": "Metadata format: 'json' or 'scale'" } ] }, "docs": "Returns relay chain transaction material with metadata at a specific version." }, { "info": { "name": "RC metadata blob", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/v1/rc/transaction/metadata-blob", "body": { "type": "json", "data": "{}" } }, "docs": "Generates a metadata blob from the relay chain for transaction signing." }, { "info": { "name": "Parse transaction (relay chain)", "type": "http" }, "http": { "method": "POST", "url": "http://localhost:8080/v1/v1/rc/transaction/parse", "body": { "type": "json", "data": "{}" } }, "docs": "Decode a raw transaction using relay chain metadata. Only available on parachains. Returns the decoded pallet/method, call arguments, signature info, nonce, tip, era, and hash. Note: This endpoint uses the relay chain's current (latest) metadata for decoding. Transactions created for older runtime versions may fail to decode if the extrinsic format has changed." }, { "info": { "name": "Get the latest relay chain block's traces.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/experimental/rc/blocks/head/traces" }, "docs": "Returns the latest relay chain block's traces." }, { "info": { "name": "Get a relay chain block's traces by its height or hash.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/experimental/rc/blocks/:blockId/traces", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block identifier, as the block height or block hash." } ] }, "docs": "Returns a relay chain block's traces. Can be identified by either its height or hash." }, { "info": { "name": "Get the latest relay chain block's trace operations.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/experimental/rc/blocks/head/traces/operations", "params": [ { "name": "actions", "value": "", "type": "query", "description": "Include action traces." } ] }, "docs": "Returns the latest relay chain block's trace operations." }, { "info": { "name": "Get a relay chain block's trace operations by its height or hash.", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8080/v1/experimental/rc/blocks/:blockId/traces/operations", "params": [ { "name": "blockId", "value": "", "type": "path", "description": "Block identifier, as the block height or block hash." }, { "name": "actions", "value": "", "type": "query", "description": "Include action traces." } ] }, "docs": "Returns a relay chain block's trace operations. Can be identified by either its height or hash." } ] } ], "bundled": true }