{"openapi":"3.1.0","info":{"title":"Polkadot REST API","description":"High-performance Rust REST API for Substrate/Polkadot blockchain data. Drop-in replacement for substrate-api-sidecar.","contact":{"url":"https://github.com/paritytech/polkadot-rest-api"},"license":{"name":"GPL-3.0-or-later"},"version":"0.1.3"},"servers":[{"url":"http://localhost:8080/v1","description":"Localhost"}],"paths":{"/v1/accounts/compare":{"get":{"tags":["accounts"],"summary":"Compare account addresses","description":"Compares multiple SS58 addresses to determine if they have the same underlying public key.","operationId":"get_compare","parameters":[{"name":"addresses","in":"query","description":"Comma-separated list of SS58 addresses to compare (max 30)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Comparison result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountCompareResponse"}}}},"400":{"description":"Invalid parameters"}}}},"/v1/accounts/{accountId}/asset-approvals":{"get":{"tags":["accounts"],"summary":"Account asset approvals","description":"Returns asset approval information for a given account, asset, and delegate.","operationId":"get_asset_approvals","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"assetId","in":"query","description":"The asset ID to query approval for","required":true,"schema":{"type":"string"}},{"name":"delegate","in":"query","description":"The delegate address with spending approval","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Asset approval information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetApprovalResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/asset-balances":{"get":{"tags":["accounts"],"summary":"Account asset balances","description":"Returns asset balances for a given account on Asset Hub chains.","operationId":"get_asset_balances","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"assets","in":"query","description":"Comma-separated list of asset IDs to query","required":false,"schema":{"type":"string"}},{"name":"showEmpty","in":"query","description":"When true, include assets with zero balance (default: false)","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Account asset balances","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetBalancesResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/balance-info":{"get":{"tags":["accounts"],"summary":"Account balance info","description":"Returns balance information for a given account including free, reserved, and locked balances.","operationId":"get_balance_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"token","in":"query","description":"Token symbol for chains with multiple tokens","required":false,"schema":{"type":"string"}},{"name":"denominated","in":"query","description":"When true, denominate balances using chain decimals","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Account balance information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceInfoResponse"}}}},"400":{"description":"Invalid account or block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/convert":{"get":{"tags":["accounts"],"summary":"Convert account format","description":"Converts an account address between different SS58 formats and key types.","operationId":"get_convert","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address or hex public key","required":true,"schema":{"type":"string"}},{"name":"scheme","in":"query","description":"Cryptographic scheme: ed25519, sr25519, or ecdsa (default: sr25519)","required":false,"schema":{"type":"string"}},{"name":"prefix","in":"query","description":"SS58 prefix number (default: 42)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"publicKey","in":"query","description":"If true, treat input as a public key","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Converted account information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountConvertResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/foreign-asset-balances":{"get":{"tags":["accounts"],"summary":"Account foreign asset balances","description":"Returns foreign asset balances for a given account on Asset Hub chains. Foreign assets use XCM MultiLocation as their identifier.","operationId":"get_foreign_asset_balances","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"foreignAssets","in":"query","description":"List of multilocation JSON strings to filter by","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"showEmpty","in":"query","description":"When true, include assets with zero balance (default: false)","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Foreign asset balances","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid account or parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/pool-asset-approvals":{"get":{"tags":["accounts"],"summary":"Account pool asset approvals","description":"Returns pool asset approval information for a given account, asset, and delegate.","operationId":"get_pool_asset_approvals","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"assetId","in":"query","description":"The pool asset ID to query approval for","required":true,"schema":{"type":"string"}},{"name":"delegate","in":"query","description":"The delegate address with spending approval","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Pool asset approval information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolAssetApprovalResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/pool-asset-balances":{"get":{"tags":["accounts"],"summary":"Account pool asset balances","description":"Returns pool asset balances for a given account.","operationId":"get_pool_asset_balances","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"assets","in":"query","description":"Comma-separated list of pool asset IDs to query","required":false,"schema":{"type":"string"}},{"name":"showEmpty","in":"query","description":"When true, include assets with zero balance (default: false)","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pool asset balances","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PoolAssetBalancesResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/proxy-info":{"get":{"tags":["accounts"],"summary":"Account proxy info","description":"Returns proxy information for a given account including delegated proxies and their types.","operationId":"get_proxy_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Proxy information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProxyInfoResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/staking-info":{"get":{"tags":["accounts"],"summary":"Account staking info","description":"Returns staking information for a given stash account including bonded amount, controller, and nominations.","operationId":"get_staking_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded stash account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"includeClaimedRewards","in":"query","description":"When true, include claimed rewards in the response","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Staking information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StakingInfoResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/staking-payouts":{"get":{"tags":["accounts"],"summary":"Account staking payouts","description":"Returns staking payout history for a given account including era rewards and claimed status.","operationId":"get_staking_payouts","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded stash account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"depth","in":"query","description":"Number of eras to query (default: 1)","required":false,"schema":{"type":"string"}},{"name":"era","in":"query","description":"The era to query at (default: active_era - 1)","required":false,"schema":{"type":"string"}},{"name":"unclaimedOnly","in":"query","description":"Only show unclaimed rewards (default: true)","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Staking payout information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StakingPayoutsResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/accounts/{accountId}/validate":{"get":{"tags":["accounts"],"summary":"Validate account address","description":"Validates an SS58-encoded account address and returns details about its format.","operationId":"get_validate","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address to validate","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number (accepted for API consistency)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Validation result","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountValidateResponse"}}}}}}},"/v1/accounts/{accountId}/vesting-info":{"get":{"tags":["accounts"],"summary":"Account vesting info","description":"Returns vesting information for a given account including vesting schedules and locked amounts.","operationId":"get_vesting_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}},{"name":"includeClaimable","in":"query","description":"When true, calculate vested amounts","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Vesting information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VestingInfoResponse"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/ahm-info":{"get":{"tags":["ahm"],"summary":"Asset Hub Migration info","description":"Returns information about the Asset Hub migration, including start and end blocks for both relay chain and Asset Hub.","operationId":"ahm_info","responses":{"200":{"description":"AHM migration boundaries","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"No migration data available"}}}},"/v1/blocks":{"get":{"tags":["blocks"],"summary":"Get blocks by range","description":"Returns a collection of blocks given a numeric range. Range is inclusive and limited to 500 blocks.","operationId":"get_blocks","parameters":[{"name":"range","in":"query","description":"Block range in format 'start-end' (e.g. '100-200')","required":false,"schema":{"type":"string"}},{"name":"eventDocs","in":"query","description":"Include documentation for events","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include documentation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat range as Relay Chain blocks","required":false,"schema":{"type":"boolean"}},{"name":"useEvmFormat","in":"query","description":"Convert AccountId32 addresses to EVM format for revive pallet events","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Array of block information","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}},"400":{"description":"Invalid range parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/head":{"get":{"tags":["blocks"],"summary":"Get latest block","description":"Returns the latest finalized or canonical block with full extrinsic and event details.","operationId":"get_block_head","parameters":[{"name":"finalized","in":"query","description":"When true (default), returns finalized head. When false, returns canonical head.","required":false,"schema":{"type":"boolean"}},{"name":"eventDocs","in":"query","description":"Include documentation for events","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include documentation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"decodedXcmMsgs","in":"query","description":"Decode and include XCM messages","required":false,"schema":{"type":"boolean"}},{"name":"paraId","in":"query","description":"Filter XCM messages by parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"useRcBlock","in":"query","description":"When true, use relay chain head to find corresponding Asset Hub blocks","required":false,"schema":{"type":"boolean"}},{"name":"useEvmFormat","in":"query","description":"Convert AccountId32 addresses to EVM format for revive pallet events","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Latest block information","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/head/header":{"get":{"tags":["blocks"],"summary":"Get head block header","description":"Returns the header of the latest finalized or canonical block (lightweight, no extrinsics/events).","operationId":"get_blocks_head_header","parameters":[{"name":"finalized","in":"query","description":"When true (default), returns finalized head header. When false, returns canonical head header.","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat as Relay Chain block and return Asset Hub blocks","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Block header information","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/{blockId}":{"get":{"tags":["blocks"],"summary":"Get block by ID","description":"Returns block information for a given block identifier (hash or number), including extrinsics, events, and fees.","operationId":"get_block","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"eventDocs","in":"query","description":"Include documentation for events","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include documentation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"finalizedKey","in":"query","description":"When true (default), include finalized status in response","required":false,"schema":{"type":"boolean"}},{"name":"decodedXcmMsgs","in":"query","description":"Decode and include XCM messages","required":false,"schema":{"type":"boolean"}},{"name":"paraId","in":"query","description":"Filter XCM messages by parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"useRcBlock","in":"query","description":"Treat blockId as Relay Chain block and return Asset Hub blocks","required":false,"schema":{"type":"boolean"}},{"name":"useEvmFormat","in":"query","description":"Convert AccountId32 addresses to EVM format for revive pallet events","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Block information","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/{blockId}/extrinsics-raw":{"get":{"tags":["blocks"],"summary":"Get raw extrinsics","description":"Returns raw block data with hex-encoded extrinsics for a given block identifier. The extrinsics are returned as raw hex strings without decoding.","operationId":"get_block_extrinsics_raw","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"When true, treat blockId as Relay Chain block and return Asset Hub blocks","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Raw block data with hex-encoded extrinsics","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/{blockId}/extrinsics/{extrinsicIndex}":{"get":{"tags":["blocks"],"summary":"Get extrinsic by index","description":"Returns a specific extrinsic from a block by its index within the block.","operationId":"get_extrinsic","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"extrinsicIndex","in":"path","description":"Index of the extrinsic within the block","required":true,"schema":{"type":"string"}},{"name":"eventDocs","in":"query","description":"Include documentation for events","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include documentation for extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"When true, treat blockId as Relay Chain block and return Asset Hub extrinsics","required":false,"schema":{"type":"boolean"}},{"name":"useEvmFormat","in":"query","description":"Convert AccountId32 addresses to EVM format for revive pallet events","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Extrinsic details","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier or extrinsic index"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/{blockId}/header":{"get":{"tags":["blocks"],"summary":"Get block header by ID","description":"Returns the header of the specified block (lightweight, no extrinsics/events).","operationId":"get_block_header","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat blockId as Relay Chain block and return Asset Hub blocks","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Block header information","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/blocks/{blockId}/para-inclusions":{"get":{"tags":["blocks"],"summary":"Get parachain inclusions","description":"Returns parachain inclusion information for a given relay chain block. Extracts CandidateIncluded events from the ParaInclusion pallet.","operationId":"get_block_para_inclusions","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"paraId","in":"query","description":"Filter results by a specific parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}}],"responses":{"200":{"description":"Parachain inclusion information","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/capabilities":{"get":{"tags":["capabilities"],"summary":"API capabilities","description":"Returns the chain name and list of available pallets in the runtime metadata.","operationId":"get_capabilities","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Chain capabilities","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitiesResponse"}}}},"400":{"description":"Invalid block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/coretime/info":{"get":{"tags":["coretime"],"summary":"Get coretime info","description":"Returns coretime chain status information including the last committed timeslice.","operationId":"coretime_info","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Coretime info","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/coretime/leases":{"get":{"tags":["coretime"],"summary":"Get coretime leases","description":"Returns all leases registered on a coretime chain with task IDs and validity timeslices.","operationId":"coretime_leases","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Coretime leases","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/coretime/overview":{"get":{"tags":["coretime"],"summary":"Get coretime overview","description":"Returns an overview of all cores with assignments, queue state, workload, workplan, and regions.","operationId":"coretime_overview","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Coretime overview","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/coretime/regions":{"get":{"tags":["coretime"],"summary":"Get coretime regions","description":"Returns all regions on a coretime chain including begin/end timeslices, core, owner, and mask.","operationId":"coretime_regions","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Coretime regions","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/coretime/renewals":{"get":{"tags":["coretime"],"summary":"Get coretime potential renewals","description":"Returns potential renewals on a coretime chain sorted by core index, including price, completion status, and task assignment.","operationId":"coretime_renewals","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Coretime renewals","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/coretime/reservations":{"get":{"tags":["coretime"],"summary":"Get coretime reservations","description":"Returns all reservations on a coretime chain. Reserved cores are permanently allocated and not available for sale.","operationId":"coretime_reservations","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Coretime reservations","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/health":{"get":{"tags":["health"],"summary":"Health check","description":"Returns the health status of the API server.","operationId":"get_health","responses":{"202":{"description":"API is healthy","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/v1/node/network":{"get":{"tags":["node"],"summary":"Node network info","description":"Returns the node's network information including peer count, syncing status, and local peer ID.","operationId":"get_node_network","responses":{"200":{"description":"Node network information","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/node/transaction-pool":{"get":{"tags":["node"],"summary":"Transaction pool","description":"Returns the node's transaction pool with optional fee information.","operationId":"get_node_transaction_pool","parameters":[{"name":"includeFee","in":"query","description":"Include fee details for each transaction","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Transaction pool entries","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionPoolResponse"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/node/version":{"get":{"tags":["node"],"summary":"Node version","description":"Returns the node's version information including client version, implementation name, and chain name.","operationId":"get_node_version","responses":{"200":{"description":"Node version information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersionResponse"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/asset-conversion/liquidity-pools":{"get":{"tags":["pallets"],"summary":"Liquidity pools","description":"Returns all liquidity pools from the AssetConversion pallet.","operationId":"get_liquidity_pools","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Liquidity pools","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/asset-conversion/next-available-id":{"get":{"tags":["pallets"],"summary":"Next available pool ID","description":"Returns the next available pool asset ID from the AssetConversion pallet.","operationId":"get_next_available_id","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Next available ID","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/assets/{assetId}/asset-info":{"get":{"tags":["pallets"],"summary":"Asset info","description":"Returns details for a specific asset including supply, admin, and metadata.","operationId":"pallets_assets_asset_info","parameters":[{"name":"assetId","in":"path","description":"Asset ID","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Asset information","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Asset not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/foreign-assets":{"get":{"tags":["pallets"],"summary":"Foreign assets","description":"Returns all foreign assets with their details and metadata. Foreign assets use XCM MultiLocation as their identifier.","operationId":"pallets_foreign_assets","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Foreign assets list","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Not supported on this chain"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/nomination-pools/info":{"get":{"tags":["pallets"],"summary":"Nomination pools info","description":"Returns global nomination pools statistics and configuration.","operationId":"pallets_nomination_pools_info","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Nomination pools information","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Not supported on this chain"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/nomination-pools/{poolId}":{"get":{"tags":["pallets"],"summary":"Nomination pool details","description":"Returns details for a specific nomination pool.","operationId":"pallets_nomination_pools_pool","parameters":[{"name":"poolId","in":"path","description":"Pool ID","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pool details","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Pool not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/on-going-referenda":{"get":{"tags":["pallets"],"summary":"On-going referenda","description":"Returns all currently active referenda from the Referenda pallet.","operationId":"pallets_on_going_referenda","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Active referenda","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/pool-assets/{assetId}/asset-info":{"get":{"tags":["pallets"],"summary":"Pool asset info","description":"Returns details for a specific pool asset including supply, admin, and metadata.","operationId":"pallets_pool_assets_asset_info","parameters":[{"name":"assetId","in":"path","description":"Pool asset ID","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pool asset information","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Pool asset not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/staking/progress":{"get":{"tags":["pallets"],"summary":"Staking progress","description":"Returns staking progress including era, session info, and validator counts.","operationId":"pallets_staking_progress","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Staking progress information","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/staking/validators":{"get":{"tags":["pallets"],"summary":"Staking validators","description":"Returns the list of active validators and their info.","operationId":"pallets_staking_validators","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Validator information","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/consts":{"get":{"tags":["pallets"],"summary":"Pallet constants","description":"Returns all constants defined in a pallet.","operationId":"pallets_constants","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return constant names","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pallet constants","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/consts/{constantItemId}":{"get":{"tags":["pallets"],"summary":"Pallet constant value","description":"Returns the value and metadata of a specific constant in a pallet.","operationId":"pallets_constant_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"constantItemId","in":"path","description":"Name of the constant","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include metadata","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Constant value","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"404":{"description":"Constant not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/dispatchables":{"get":{"tags":["pallets"],"summary":"Pallet dispatchables","description":"Returns the dispatchable calls defined in a pallet.","operationId":"get_pallets_dispatchables","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return dispatchable names","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pallet dispatchables","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/dispatchables/{dispatchableId}":{"get":{"tags":["pallets"],"summary":"Pallet dispatchable details","description":"Returns a single dispatchable call defined in a pallet.","operationId":"get_pallet_dispatchable_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"dispatchableId","in":"path","description":"Name of the dispatchable","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include metadata","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Dispatchable details","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Dispatchable not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/errors":{"get":{"tags":["pallets"],"summary":"Pallet errors","description":"Returns all errors defined in a pallet.","operationId":"get_pallet_errors","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return error names","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pallet errors","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/errors/{errorItemId}":{"get":{"tags":["pallets"],"summary":"Pallet error details","description":"Returns metadata for a specific error in a pallet.","operationId":"get_pallet_error_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"errorItemId","in":"path","description":"Name of the error","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include metadata","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Error details","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Error not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/events":{"get":{"tags":["pallets"],"summary":"Get pallet events","description":"Returns all events defined in a pallet.","operationId":"get_pallet_events","parameters":[{"name":"palletId","in":"path","description":"Pallet name or index","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return event names","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pallet events","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"404":{"description":"Pallet not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/events/{eventItemId}":{"get":{"tags":["pallets"],"summary":"Get pallet event item","description":"Returns metadata for a specific event in a pallet.","operationId":"get_pallet_event_item","parameters":[{"name":"palletId","in":"path","description":"Pallet name or index","required":true,"schema":{"type":"string"}},{"name":"eventItemId","in":"path","description":"Event name","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include full event metadata","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Event item details","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid request"},"404":{"description":"Pallet or event not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/storage":{"get":{"tags":["pallets"],"summary":"Pallet storage items","description":"Returns the list of storage items for a given pallet.","operationId":"get_pallets_storage","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return storage item names","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Pallet storage items","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet or parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/pallets/{palletId}/storage/{storageItemId}":{"get":{"tags":["pallets"],"summary":"Pallet storage item value","description":"Returns the value of a specific storage item in a pallet.","operationId":"get_pallets_storage_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"storageItemId","in":"path","description":"Name of the storage item","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"keys[]","in":"query","description":"Storage key arguments","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"metadata","in":"query","description":"Include metadata for the storage item","required":false,"schema":{"type":"boolean"}},{"name":"useRcBlock","in":"query","description":"Treat 'at' as relay chain block identifier","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Storage item value","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"404":{"description":"Storage item not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/paras/{number}/inclusion":{"get":{"tags":["paras"],"summary":"Parachain inclusion data","description":"Returns inclusion information for a given parachain block, searching relay chain blocks for when the parachain block was included.","operationId":"get_paras_inclusion","parameters":[{"name":"number","in":"path","description":"Parachain block number","required":true,"schema":{"type":"string"}},{"name":"depth","in":"query","description":"Search depth for relay chain blocks (max 100, default 10, must be divisible by 5)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Parachain inclusion information","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/accounts/{accountId}/balance-info":{"get":{"tags":["rc"],"summary":"RC get balance info","description":"Returns balance information for a given account on the relay chain.","operationId":"get_balance_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}},{"name":"token","in":"query","description":"Token symbol (defaults to native token)","required":false,"schema":{"type":"string"}},{"name":"denominated","in":"query","description":"Denominate balances using chain decimals","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Balance information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RcBalanceInfoResponse"}}}},"400":{"description":"Invalid account address"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/accounts/{accountId}/proxy-info":{"get":{"tags":["rc"],"summary":"RC get proxy info","description":"Returns proxy information for a given account on the relay chain.","operationId":"get_proxy_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Proxy information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RcProxyInfoResponse"}}}},"400":{"description":"Invalid account address"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/accounts/{accountId}/staking-info":{"get":{"tags":["rc"],"summary":"RC get staking info","description":"Returns staking information for a given stash account on the relay chain.","operationId":"get_staking_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded stash account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}},{"name":"includeClaimedRewards","in":"query","description":"When true, include claimed rewards in the response","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Staking information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RcStakingInfoResponse"}}}},"400":{"description":"Invalid account address"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/accounts/{accountId}/staking-payouts":{"get":{"tags":["rc"],"summary":"RC get staking payouts","description":"Returns staking payout information for a given account on the relay chain.","operationId":"get_staking_payouts","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}},{"name":"depth","in":"query","description":"Number of eras to query (default: 1)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"era","in":"query","description":"The era to query at (default: active_era - 1)","required":false,"schema":{"type":"integer","format":"int32","minimum":0}},{"name":"unclaimedOnly","in":"query","description":"Only show unclaimed rewards (default: true)","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Staking payouts","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RcStakingPayoutsResponse"}}}},"400":{"description":"Invalid account address"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/accounts/{accountId}/vesting-info":{"get":{"tags":["rc"],"summary":"RC get vesting info","description":"Returns vesting information for a given account on the relay chain.","operationId":"get_vesting_info","parameters":[{"name":"accountId","in":"path","description":"SS58-encoded account address","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Vesting information","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RcVestingInfoResponse"}}}},"400":{"description":"Invalid account address"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks":{"get":{"tags":["rc"],"summary":"RC get blocks by range","description":"Returns relay chain blocks within a specified range (max 500 blocks).","operationId":"get_rc_blocks","parameters":[{"name":"range","in":"query","description":"Block range (e.g., '100-200')","required":false,"schema":{"type":"string"}},{"name":"eventDocs","in":"query","description":"Include event documentation","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include extrinsic documentation","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation","required":false,"schema":{"type":"boolean"}},{"name":"decodedXcmMsgs","in":"query","description":"Decode and include XCM messages","required":false,"schema":{"type":"boolean"}},{"name":"paraId","in":"query","description":"Filter XCM messages by parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}}],"responses":{"200":{"description":"Relay chain blocks","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid range or missing parameter"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/head":{"get":{"tags":["rc"],"summary":"RC get head block","description":"Returns the latest block on the relay chain.","operationId":"get_rc_blocks_head","parameters":[{"name":"finalized","in":"query","description":"When true returns finalized head (default: true)","required":false,"schema":{"type":"boolean"}},{"name":"eventDocs","in":"query","description":"Include event documentation","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include extrinsic documentation","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation","required":false,"schema":{"type":"boolean"}},{"name":"decodedXcmMsgs","in":"query","description":"Decode and include XCM messages","required":false,"schema":{"type":"boolean"}},{"name":"paraId","in":"query","description":"Filter XCM messages by parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}}],"responses":{"200":{"description":"Relay chain head block","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/head/header":{"get":{"tags":["rc"],"summary":"RC get head block header","description":"Returns the header of the latest relay chain block.","operationId":"get_rc_blocks_head_header","parameters":[{"name":"finalized","in":"query","description":"When true returns finalized head (default: true)","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain head block header","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/{blockId}":{"get":{"tags":["rc"],"summary":"RC get block by ID","description":"Returns relay chain block information for a given block identifier.","operationId":"get_rc_block","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"eventDocs","in":"query","description":"Include event documentation","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include extrinsic documentation","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation","required":false,"schema":{"type":"boolean"}},{"name":"decodedXcmMsgs","in":"query","description":"Include decoded XCM messages","required":false,"schema":{"type":"boolean"}},{"name":"paraId","in":"query","description":"Filter XCM messages by parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}}],"responses":{"200":{"description":"Relay chain block information","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/{blockId}/extrinsics-raw":{"get":{"tags":["rc"],"summary":"RC get raw extrinsics","description":"Returns raw hex-encoded extrinsics for a relay chain block without decoding.","operationId":"get_rc_block_extrinsics_raw","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Raw extrinsics","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/{blockId}/extrinsics/{extrinsicIndex}":{"get":{"tags":["rc"],"summary":"RC get extrinsic by index","description":"Returns a specific extrinsic from a relay chain block by its index.","operationId":"get_rc_extrinsic","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"extrinsicIndex","in":"path","description":"Index of the extrinsic in the block","required":true,"schema":{"type":"string"}},{"name":"eventDocs","in":"query","description":"Include event documentation","required":false,"schema":{"type":"boolean"}},{"name":"extrinsicDocs","in":"query","description":"Include extrinsic documentation","required":false,"schema":{"type":"boolean"}},{"name":"noFees","in":"query","description":"Skip fee calculation","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Extrinsic details","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block ID or extrinsic index"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/{blockId}/header":{"get":{"tags":["rc"],"summary":"RC get block header","description":"Returns the header of a relay chain block by block hash or block number.","operationId":"get_rc_block_header","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain block header","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/blocks/{blockId}/para-inclusions":{"get":{"tags":["rc"],"summary":"RC get parachain inclusions","description":"Returns parachain inclusion information for a given relay chain block.","operationId":"get_rc_block_para_inclusions","parameters":[{"name":"blockId","in":"path","description":"Block height number or block hash","required":true,"schema":{"type":"string"}},{"name":"paraId","in":"query","description":"Filter by parachain ID","required":false,"schema":{"type":"integer","format":"int32","minimum":0}}],"responses":{"200":{"description":"Parachain inclusions","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block identifier"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/node/network":{"get":{"tags":["rc"],"summary":"RC get node network","description":"Returns the relay chain node's network information.","operationId":"get_rc_node_network","responses":{"200":{"description":"Relay chain node network info","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/node/transaction-pool":{"get":{"tags":["rc"],"summary":"RC get transaction pool","description":"Returns the relay chain's transaction pool with optional fee information.","operationId":"get_rc_node_transaction_pool","parameters":[{"name":"includeFee","in":"query","description":"Include fee information for each transaction (default: false)","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain transaction pool","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionPoolResponse"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/node/version":{"get":{"tags":["rc"],"summary":"RC get node version","description":"Returns the relay chain node's version information.","operationId":"get_rc_node_version","responses":{"200":{"description":"Relay chain node version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NodeVersionResponse"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/pallets/on-going-referenda":{"get":{"tags":["rc"],"summary":"RC on-going referenda","description":"Returns all currently active referenda from the relay chain's Referenda pallet.","operationId":"rc_pallets_on_going_referenda","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Active referenda from relay chain","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/staking/progress":{"get":{"tags":["rc"],"summary":"RC staking progress","description":"Returns staking progress from the relay chain.","operationId":"rc_pallets_staking_progress","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain staking progress","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/staking/validators":{"get":{"tags":["rc"],"summary":"RC staking validators","description":"Returns the list of active validators from the relay chain.","operationId":"rc_pallets_staking_validators","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain validator information","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/consts":{"get":{"tags":["rc"],"summary":"RC pallet constants","description":"Returns all constants defined in a relay chain pallet.","operationId":"rc_pallets_constants","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return constant names","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain pallet constants","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/consts/{constantItemId}":{"get":{"tags":["rc"],"summary":"RC pallet constant value","description":"Returns the value and metadata of a specific constant from a relay chain pallet.","operationId":"rc_pallets_constant_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"constantItemId","in":"path","description":"Name of the constant","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include metadata","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain constant value","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Constant not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/dispatchables":{"get":{"tags":["rc"],"summary":"RC pallet dispatchables","description":"Returns the dispatchable calls defined in a relay chain pallet.","operationId":"rc_pallets_dispatchables","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return dispatchable names","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain pallet dispatchables","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/dispatchables/{dispatchableId}":{"get":{"tags":["rc"],"summary":"RC pallet dispatchable details","description":"Returns a single dispatchable call from a relay chain pallet.","operationId":"rc_pallet_dispatchable_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"dispatchableId","in":"path","description":"Name of the dispatchable","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include metadata","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain dispatchable details","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Dispatchable not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/errors":{"get":{"tags":["rc"],"summary":"RC pallet errors","description":"Returns all errors defined in a relay chain pallet.","operationId":"rc_pallet_errors","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return error names","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain pallet errors","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/errors/{errorItemId}":{"get":{"tags":["rc"],"summary":"RC pallet error details","description":"Returns metadata for a specific error in a relay chain pallet.","operationId":"rc_pallet_error_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"errorItemId","in":"path","description":"Name of the error","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include metadata","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain error details","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Error not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/events":{"get":{"tags":["rc"],"summary":"RC pallet events","description":"Returns all events defined in a relay chain pallet.","operationId":"rc_pallet_events","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return event names","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain pallet events","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/events/{eventItemId}":{"get":{"tags":["rc"],"summary":"RC pallet event details","description":"Returns metadata for a specific event in a relay chain pallet.","operationId":"rc_pallet_event_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"eventItemId","in":"path","description":"Event name","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"metadata","in":"query","description":"Include full event metadata","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain event details","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Pallet or event not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/storage":{"get":{"tags":["rc"],"summary":"RC pallet storage items","description":"Returns the list of storage items for a relay chain pallet.","operationId":"rc_get_pallets_storage","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"onlyIds","in":"query","description":"Only return storage item names","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain pallet storage items","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid pallet or parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/pallets/{palletId}/storage/{storageItemId}":{"get":{"tags":["rc"],"summary":"RC pallet storage item value","description":"Returns the value of a specific storage item from a relay chain pallet.","operationId":"rc_get_pallets_storage_item","parameters":[{"name":"palletId","in":"path","description":"Name or index of the pallet","required":true,"schema":{"type":"string"}},{"name":"storageItemId","in":"path","description":"Name of the storage item","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"keys[]","in":"query","description":"Storage key arguments","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"metadata","in":"query","description":"Include metadata for the storage item","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Relay chain storage item value","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"404":{"description":"Storage item not found"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/runtime/code":{"get":{"tags":["rc"],"summary":"RC get runtime code","description":"Returns the Wasm code blob of the relay chain runtime at a given block.","operationId":"get_rc_runtime_code","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain runtime code","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/runtime/metadata":{"get":{"tags":["rc"],"summary":"RC get runtime metadata","description":"Returns the decoded runtime metadata of the relay chain in JSON format.","operationId":"get_rc_runtime_metadata","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain runtime metadata","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/runtime/metadata/versions":{"get":{"tags":["rc"],"summary":"RC get metadata versions","description":"Returns the available metadata versions on the relay chain at a given block.","operationId":"get_rc_runtime_metadata_versions","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Available metadata versions","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/runtime/metadata/{version}":{"get":{"tags":["rc"],"summary":"RC get metadata by version","description":"Returns the relay chain metadata at a specific version (e.g., v14, v15).","operationId":"get_rc_runtime_metadata_versioned","parameters":[{"name":"version","in":"path","description":"Metadata version in 'vX' format (e.g., v14, v15)","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain metadata at specified version","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid version format"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/runtime/spec":{"get":{"tags":["rc"],"summary":"RC get runtime spec","description":"Returns the runtime spec of the relay chain at a given block.","operationId":"get_rc_runtime_spec","parameters":[{"name":"at","in":"query","description":"Block identifier (number or hash)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain runtime spec","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/transaction":{"post":{"tags":["rc"],"summary":"Submit transaction (relay chain)","description":"Submit a signed extrinsic to the relay chain transaction pool. Only available on parachains.","operationId":"submit_rc","requestBody":{"description":"Signed extrinsic with 'tx' field containing hex-encoded transaction","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Transaction hash","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid transaction"},"500":{"description":"Internal server error"},"503":{"description":"Relay chain not configured"}}}},"/v1/rc/transaction/dry-run":{"post":{"tags":["rc"],"summary":"RC dry run transaction","description":"Dry run a transaction on the relay chain.","operationId":"dry_run_rc","requestBody":{"description":"Transaction with 'tx', 'senderAddress', and optional 'at' and 'xcmVersion' fields","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Dry run result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid transaction"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/transaction/fee-estimate":{"post":{"tags":["rc"],"summary":"RC fee estimate","description":"Estimate the fee for a relay chain transaction.","operationId":"fee_estimate_rc","requestBody":{"description":"Transaction with 'tx' field","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Fee estimate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeEstimateResponse"}}}},"400":{"description":"Invalid transaction"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/transaction/material":{"get":{"tags":["rc"],"summary":"RC transaction material","description":"Returns relay chain network information for transaction construction.","operationId":"material_rc","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"noMeta","in":"query","description":"DEPRECATED: If true, metadata is not included","required":false,"schema":{"type":"boolean"}},{"name":"metadata","in":"query","description":"Metadata format: 'json' or 'scale'","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain transaction material","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/transaction/material/{metadataVersion}":{"get":{"tags":["rc"],"summary":"RC transaction material versioned","description":"Returns relay chain transaction material with metadata at a specific version.","operationId":"material_versioned_rc","parameters":[{"name":"metadataVersion","in":"path","description":"Metadata version (e.g., 'v14', 'v15')","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"noMeta","in":"query","description":"DEPRECATED: If true, metadata is not included","required":false,"schema":{"type":"boolean"}},{"name":"metadata","in":"query","description":"Metadata format: 'json' or 'scale'","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Relay chain transaction material with versioned metadata","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/transaction/metadata-blob":{"post":{"tags":["rc"],"summary":"RC metadata blob","description":"Generates a metadata blob from the relay chain for transaction signing.","operationId":"metadata_blob_rc","requestBody":{"description":"Request with 'tx' field and optional 'at' block","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Metadata blob","content":{"application/json":{"schema":{"type":"object"}}}},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/rc/transaction/parse":{"post":{"tags":["rc"],"summary":"Parse transaction (relay chain)","description":"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.","operationId":"parse_rc","requestBody":{"description":"Transaction with 'tx' field containing hex-encoded extrinsic","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseRequest"}}},"required":true},"responses":{"200":{"description":"Parsed transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseResponse"}}}},"400":{"description":"Invalid transaction or relay chain not configured","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseError"}}}},"500":{"description":"Internal server error"},"503":{"description":"Relay chain unavailable"}}}},"/v1/runtime/code":{"get":{"tags":["runtime"],"summary":"Runtime Wasm code","description":"Returns the Wasm code blob of the Substrate runtime at a given block.","operationId":"runtime_code","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Runtime code","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/runtime/metadata":{"get":{"tags":["runtime"],"summary":"Runtime metadata","description":"Returns the decoded runtime metadata in JSON format.","operationId":"runtime_metadata","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Runtime metadata","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/runtime/metadata/versions":{"get":{"tags":["runtime"],"summary":"Available metadata versions","description":"Returns the available metadata versions at a given block.","operationId":"runtime_metadata_versions","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of available metadata versions","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}},"400":{"description":"Invalid block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/runtime/metadata/{version}":{"get":{"tags":["runtime"],"summary":"Runtime metadata by version","description":"Returns the metadata at a specific version. The version parameter should be in 'vX' format (e.g., 'v14', 'v15').","operationId":"runtime_metadata_versioned","parameters":[{"name":"version","in":"path","description":"Metadata version (e.g., 'v14', 'v15')","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Runtime metadata at specified version","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid version format or block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/runtime/spec":{"get":{"tags":["runtime"],"summary":"Runtime specification","description":"Returns the runtime specification including version, APIs, and chain properties.","operationId":"runtime_spec","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Runtime specification","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid block parameter"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction":{"post":{"tags":["transaction"],"summary":"Submit transaction","description":"Submit a signed extrinsic to the transaction pool.","operationId":"submit","requestBody":{"description":"Signed extrinsic with 'tx' field containing hex-encoded transaction","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Transaction hash","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid transaction"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction/dry-run":{"post":{"tags":["transaction"],"summary":"Dry run transaction","description":"Dry run a transaction to check validity without submitting.","operationId":"dry_run","requestBody":{"description":"Transaction with 'tx', 'senderAddress', and optional 'at' and 'xcmVersion' fields","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Dry run result","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid transaction"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction/fee-estimate":{"post":{"tags":["transaction"],"summary":"Estimate transaction fee","description":"Estimate the fee for a transaction.","operationId":"fee_estimate","requestBody":{"description":"Transaction with 'tx' field containing hex-encoded transaction","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Fee estimate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeeEstimateResponse"}}}},"400":{"description":"Invalid transaction"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction/material":{"get":{"tags":["transaction"],"summary":"Transaction construction material","description":"Returns network information needed for transaction construction including genesis hash, spec version, and optionally metadata.","operationId":"material","parameters":[{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"noMeta","in":"query","description":"DEPRECATED: If true, metadata is not included","required":false,"schema":{"type":"boolean"}},{"name":"metadata","in":"query","description":"Metadata format: 'json' or 'scale'","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Transaction material","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction/material/{metadataVersion}":{"get":{"tags":["transaction"],"summary":"Transaction material with versioned metadata","description":"Returns transaction construction material with metadata at a specific version.","operationId":"material_versioned","parameters":[{"name":"metadataVersion","in":"path","description":"Metadata version (e.g., 'v14', 'v15')","required":true,"schema":{"type":"string"}},{"name":"at","in":"query","description":"Block hash or number to query at","required":false,"schema":{"type":"string"}},{"name":"noMeta","in":"query","description":"DEPRECATED: If true, metadata is not included","required":false,"schema":{"type":"boolean"}},{"name":"metadata","in":"query","description":"Metadata format: 'json' or 'scale'","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Transaction material with versioned metadata","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction/metadata-blob":{"post":{"tags":["transaction"],"summary":"Generate metadata blob","description":"Generates a metadata blob for transaction signing with the CheckMetadataHash extension.","operationId":"metadata_blob","requestBody":{"description":"Request with 'tx' field and optional 'at' block","content":{"application/json":{"schema":{"type":"object"}}},"required":true},"responses":{"200":{"description":"Metadata blob","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Invalid parameters"},"500":{"description":"Internal server error"},"503":{"description":"Service unavailable"}}}},"/v1/transaction/parse":{"post":{"tags":["transaction"],"summary":"Parse transaction","description":"Decode a raw transaction and return its components without executing or submitting it. Returns the decoded pallet/method, call arguments, signature info, nonce, tip, era, and hash. Note: This endpoint uses the chain's current (latest) metadata for decoding. Transactions created for older runtime versions may fail to decode if the extrinsic format has changed.","operationId":"parse","requestBody":{"description":"Transaction with 'tx' field containing hex-encoded extrinsic","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseRequest"}}},"required":true},"responses":{"200":{"description":"Parsed transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseResponse"}}}},"400":{"description":"Invalid transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ParseError"}}}},"500":{"description":"Internal server error"}}}},"/v1/version":{"get":{"tags":["version"],"summary":"API version","description":"Returns the current version of the Polkadot REST API.","operationId":"get_version","responses":{"200":{"description":"API version","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionResponse"}}}}}}}},"components":{"schemas":{"AccountCompareResponse":{"type":"object","description":"Response for GET /accounts/compare","required":["areEqual","addresses"],"properties":{"addresses":{"type":"array","items":{"$ref":"#/components/schemas/AddressDetails"},"description":"Details for each address"},"areEqual":{"type":"boolean","description":"Whether all addresses have the same underlying public key"}}},"AccountConvertResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/convert","required":["ss58Prefix","network","address","accountId","scheme","publicKey"],"properties":{"accountId":{"type":"string","description":"The original AccountId (hex)"},"address":{"type":"string","description":"The SS58-encoded address"},"network":{"type":"string","description":"Network name corresponding to the SS58 prefix"},"publicKey":{"type":"boolean","description":"Whether the input was treated as a public key"},"scheme":{"type":"string","description":"The cryptographic scheme used"},"ss58Prefix":{"type":"integer","format":"int32","description":"SS58 prefix used for encoding","minimum":0}}},"AccountValidateResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/validate","required":["isValid"],"properties":{"accountId":{"type":["string","null"],"description":"The account ID in hex format (null if invalid)"},"isValid":{"type":"boolean","description":"Whether the address is valid"},"network":{"type":["string","null"],"description":"The network name for the prefix (null if invalid/unknown)"},"ss58Prefix":{"type":["string","null"],"description":"The SS58 prefix (null if invalid)"}}},"AddressDetails":{"type":"object","description":"Details about a single address","required":["ss58Format"],"properties":{"network":{"type":["string","null"],"description":"The network name for the prefix (null if invalid/unknown)"},"publicKey":{"type":["string","null"],"description":"The public key in hex format (null if invalid)"},"ss58Format":{"type":"string","description":"The original SS58 format address"},"ss58Prefix":{"type":["integer","null"],"format":"int32","description":"The SS58 prefix (null if invalid)","minimum":0}}},"AssetApprovalResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/asset-approvals","required":["at"],"properties":{"ahTimestamp":{"type":["string","null"]},"amount":{"type":["string","null"],"description":"The approved amount (null if approval doesn't exist)"},"at":{"$ref":"#/components/schemas/BlockInfo"},"deposit":{"type":["string","null"],"description":"The deposit associated with the approval (null if approval doesn't exist)"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]}}},"AssetBalance":{"type":"object","description":"Asset balance information","required":["assetId","balance","isFrozen","isSufficient"],"properties":{"assetId":{"type":"string","description":"Asset ID as string (matches Sidecar format)"},"balance":{"type":"string","description":"Balance as string (u128 serialized as decimal string)"},"isFrozen":{"type":"boolean"},"isSufficient":{"type":"boolean"}}},"AssetBalancesResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/asset-balances","required":["at","assets"],"properties":{"ahTimestamp":{"type":["string","null"]},"assets":{"type":"array","items":{"$ref":"#/components/schemas/AssetBalance"}},"at":{"$ref":"#/components/schemas/BlockInfo"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]}}},"BalanceInfoResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/balance-info","required":["at","nonce","tokenSymbol","free","reserved","miscFrozen","feeFrozen","frozen","transferable","locks"],"properties":{"ahTimestamp":{"type":["string","null"]},"at":{"$ref":"#/components/schemas/BlockInfo"},"feeFrozen":{"type":"string","description":"The amount that free may not drop below when withdrawing specifically for\ntransaction fee payment (legacy field, may be string message for newer runtimes)"},"free":{"type":"string","description":"Free balance (not equivalent to spendable balance)"},"frozen":{"type":"string","description":"Frozen balance (newer runtimes, may be string message for older runtimes)"},"locks":{"type":"array","items":{"$ref":"#/components/schemas/BalanceLock"},"description":"Array of balance locks"},"miscFrozen":{"type":"string","description":"The amount that free may not drop below when withdrawing for anything except\ntransaction fee payment (legacy field, may be string message for newer runtimes)"},"nonce":{"type":"string","description":"Account nonce"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]},"reserved":{"type":"string","description":"Reserved balance"},"tokenSymbol":{"type":"string","description":"Token symbol"},"transferable":{"type":"string","description":"Calculated transferable balance using: free - max(maybeED, frozen - reserved)"}}},"BalanceLock":{"type":"object","description":"Balance lock information","required":["id","amount","reasons"],"properties":{"amount":{"type":"string","description":"Amount locked"},"id":{"type":"string","description":"Lock identifier"},"reasons":{"type":"string","description":"Lock reasons (Fee = 0, Misc = 1, All = 2)"}}},"BlockInfo":{"type":"object","description":"Block information","required":["hash","height"],"properties":{"hash":{"type":"string"},"height":{"type":"string"}}},"CapabilitiesResponse":{"type":"object","required":["chain","pallets"],"properties":{"chain":{"type":"string"},"pallets":{"type":"array","items":{"type":"string"}}}},"ClaimedReward":{"type":"object","description":"Claimed reward status for a specific era","required":["era","status"],"properties":{"era":{"type":"string","description":"Era index"},"status":{"type":"string","description":"Claim status (\"claimed\" or \"unclaimed\")"}}},"EraPayouts":{"oneOf":[{"$ref":"#/components/schemas/EraPayoutsData","description":"Successful payout data for an era"},{"type":"object","description":"Error message when payouts cannot be calculated","required":["message"],"properties":{"message":{"type":"string"}}}],"description":"Payouts for a single era - can be either actual payouts or an error message"},"EraPayoutsData":{"type":"object","description":"Actual payout data for an era","required":["era","totalEraRewardPoints","totalEraPayout","payouts"],"properties":{"era":{"type":"string","description":"Era index"},"payouts":{"type":"array","items":{"$ref":"#/components/schemas/ValidatorPayout"},"description":"Individual payouts for validators nominated"},"totalEraPayout":{"type":"string","description":"Total payout for the era"},"totalEraRewardPoints":{"type":"string","description":"Total reward points for the era"}}},"FeeEstimateResponse":{"type":"object","required":["weight","class","partialFee"],"properties":{"class":{"type":"string"},"partialFee":{"type":"string"},"weight":{"$ref":"#/components/schemas/Weight"}}},"HealthResponse":{"type":"object","required":["status"],"properties":{"connected_chains":{"type":["integer","null"],"minimum":0},"status":{"type":"string"},"uptime":{"type":["integer","null"],"format":"int64","minimum":0}}},"MethodInfo":{"type":"object","description":"Method information (pallet and method name).","required":["pallet","method"],"properties":{"method":{"type":"string","description":"Method name in lowerCamelCase","example":"transferAllowDeath"},"pallet":{"type":"string","description":"Pallet name in lowerCamelCase","example":"balances"}}},"NodeVersionResponse":{"type":"object","required":["clientVersion","clientImplName","chain"],"properties":{"chain":{"type":"string"},"clientImplName":{"type":"string"},"clientVersion":{"type":"string"}}},"NominationsInfo":{"type":"object","description":"Nominations information for a nominator","required":["targets","submittedIn","suppressed"],"properties":{"submittedIn":{"type":"string","description":"Era in which nomination was submitted"},"suppressed":{"type":"boolean","description":"Whether nominations are suppressed"},"targets":{"type":"array","items":{"type":"string"},"description":"List of validator addresses being nominated"}}},"ParseError":{"type":"object","description":"Error response for transaction parsing failures.","required":["code","error","transaction","cause","stack"],"properties":{"cause":{"type":"string","description":"Cause of the error"},"code":{"type":"integer","format":"int32","description":"HTTP status code","example":400,"minimum":0},"error":{"type":"string","description":"Error message","example":"Failed to parse transaction."},"stack":{"type":"string","description":"Stack trace"},"transaction":{"type":"string","description":"The transaction that failed to parse"}}},"ParseRequest":{"type":"object","description":"Request body for transaction parsing.","properties":{"tx":{"type":["string","null"],"description":"Hex-encoded extrinsic with optional 0x prefix.","example":"0x4902840004316d995f..."}}},"ParseResponse":{"type":"object","description":"Response for successful transaction parsing.","required":["isSigned","method","args","era","hash"],"properties":{"args":{"type":"object","description":"Decoded call arguments"},"era":{"type":"object","description":"Era/mortality information"},"hash":{"type":"string","description":"Blake2-256 hash of the extrinsic","example":"0x1234567890abcdef..."},"isSigned":{"type":"boolean","description":"Whether the extrinsic is signed","example":true},"method":{"$ref":"#/components/schemas/MethodInfo","description":"Pallet and method information"},"nonce":{"type":["string","null"],"description":"Account nonce (only present for signed extrinsics)","example":"42"},"signature":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/SignatureInfo","description":"Signature information (only present for signed extrinsics)"}]},"tip":{"type":["string","null"],"description":"Tip amount (only present for signed extrinsics)","example":"0"}}},"PoolAssetApprovalResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/pool-asset-approvals","required":["at"],"properties":{"ahTimestamp":{"type":["string","null"]},"amount":{"type":["string","null"],"description":"The approved amount (null if approval doesn't exist)"},"at":{"$ref":"#/components/schemas/BlockInfo"},"deposit":{"type":["string","null"],"description":"The deposit associated with the approval (null if approval doesn't exist)"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]}}},"PoolAssetBalance":{"type":"object","description":"Pool asset balance information","required":["assetId","balance","isFrozen","isSufficient"],"properties":{"assetId":{"type":"string","description":"Asset ID as string (matches Sidecar format)"},"balance":{"type":"string","description":"Balance as string (u128 serialized as decimal string)"},"isFrozen":{"type":"boolean"},"isSufficient":{"type":"boolean"}}},"PoolAssetBalancesResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/pool-asset-balances","required":["at","poolAssets"],"properties":{"ahTimestamp":{"type":["string","null"]},"at":{"$ref":"#/components/schemas/BlockInfo"},"poolAssets":{"type":"array","items":{"$ref":"#/components/schemas/PoolAssetBalance"}},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]}}},"ProxyDefinition":{"type":"object","description":"A proxy definition containing the delegate, proxy type, and delay","required":["delegate","proxyType","delay"],"properties":{"delay":{"type":"string","description":"The announcement delay in blocks"},"delegate":{"type":"string","description":"The delegate address that can act on behalf of the account"},"proxyType":{"type":"string","description":"The type of proxy (e.g., \"Any\", \"Staking\", \"Governance\", etc.)"}}},"ProxyInfoResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/proxy-info","required":["at","delegatedAccounts","depositHeld"],"properties":{"ahTimestamp":{"type":["string","null"]},"at":{"$ref":"#/components/schemas/BlockInfo"},"delegatedAccounts":{"type":"array","items":{"$ref":"#/components/schemas/ProxyDefinition"},"description":"Array of delegated accounts with their proxy definitions"},"depositHeld":{"type":"string","description":"The deposit held for the proxies"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]}}},"RcBalanceInfoResponse":{"type":"object","description":"Response for GET /rc/accounts/{accountId}/balance-info","required":["at","nonce","tokenSymbol","free","reserved","miscFrozen","feeFrozen","frozen","transferable","locks"],"properties":{"at":{"$ref":"#/components/schemas/BlockInfo"},"feeFrozen":{"type":"string","description":"The amount that free may not drop below when withdrawing specifically for\ntransaction fee payment (legacy field, may be string message for newer runtimes)"},"free":{"type":"string","description":"Free balance (not equivalent to spendable balance)"},"frozen":{"type":"string","description":"Frozen balance (newer runtimes, may be string message for older runtimes)"},"locks":{"type":"array","items":{"$ref":"#/components/schemas/BalanceLock"},"description":"Array of balance locks"},"miscFrozen":{"type":"string","description":"The amount that free may not drop below when withdrawing for anything except\ntransaction fee payment (legacy field, may be string message for newer runtimes)"},"nonce":{"type":"string","description":"Account nonce"},"reserved":{"type":"string","description":"Reserved balance"},"tokenSymbol":{"type":"string","description":"Token symbol"},"transferable":{"type":"string","description":"Calculated transferable balance using: free - max(maybeED, frozen - reserved)"}}},"RcProxyInfoResponse":{"type":"object","description":"Response for GET /rc/accounts/{accountId}/proxy-info","required":["at","delegatedAccounts","depositHeld"],"properties":{"at":{"$ref":"#/components/schemas/BlockInfo"},"delegatedAccounts":{"type":"array","items":{"$ref":"#/components/schemas/ProxyDefinition"},"description":"Array of delegated accounts with their proxy definitions"},"depositHeld":{"type":"string","description":"The deposit held for the proxies"}}},"RcStakingInfoResponse":{"type":"object","description":"Response for GET /rc/accounts/{accountId}/staking-info","required":["at","controller","rewardDestination","numSlashingSpans","staking"],"properties":{"at":{"$ref":"#/components/schemas/BlockInfo"},"controller":{"type":"string","description":"Controller account address"},"nominations":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/NominationsInfo","description":"Nominations info (null if not a nominator)"}]},"numSlashingSpans":{"type":"string","description":"Number of slashing spans"},"rewardDestination":{"$ref":"#/components/schemas/RewardDestination","description":"Where rewards are paid to"},"staking":{"$ref":"#/components/schemas/StakingLedger","description":"Staking ledger"}}},"RcStakingPayoutsResponse":{"type":"object","description":"Response for GET /rc/accounts/{accountId}/staking-payouts","required":["at","erasPayouts"],"properties":{"at":{"$ref":"#/components/schemas/BlockInfo"},"erasPayouts":{"type":"array","items":{"$ref":"#/components/schemas/EraPayouts"},"description":"Array of era payouts"}}},"RcVestingInfoResponse":{"type":"object","description":"Response for GET /rc/accounts/{accountId}/vesting-info","required":["at","vesting"],"properties":{"at":{"$ref":"#/components/schemas/BlockInfo"},"vesting":{"type":"array","items":{"$ref":"#/components/schemas/VestingSchedule"},"description":"Array of vesting schedules (empty array if no vesting)"}}},"RewardDestination":{"oneOf":[{"type":"object","description":"Rewards are automatically re-staked","required":["staked"],"properties":{"staked":{"default":null}}},{"type":"object","description":"Rewards are sent to the stash account","required":["stash"],"properties":{"stash":{"default":null}}},{"type":"object","description":"Rewards are sent to the controller account","required":["controller"],"properties":{"controller":{"default":null}}},{"type":"object","description":"No reward destination","required":["none"],"properties":{"none":{"default":null}}},{"type":"object","description":"Rewards are sent to a specific account","required":["account"],"properties":{"account":{"type":"string","description":"Rewards are sent to a specific account"}}}],"description":"Reward destination - e.g. { \"staked\": null }, { \"stash\": null }, { \"account\": \"...\" }"},"SignatureInfo":{"type":"object","description":"Signature information for signed extrinsics.","required":["signer","signature"],"properties":{"signature":{"type":"string","description":"Hex-encoded signature","example":"0xa24152685f52e4726466e80247d965bb3d349637fc8a1ea6f7cc1451ddec98b5..."},"signer":{"$ref":"#/components/schemas/SignerId","description":"Signer account"}}},"SignerId":{"type":"object","description":"Signer identifier.","required":["id"],"properties":{"id":{"type":"string","description":"SS58-encoded account address","example":"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"}}},"StakingInfoResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/staking-info","required":["at","controller","rewardDestination","numSlashingSpans","staking"],"properties":{"ahTimestamp":{"type":["string","null"]},"at":{"$ref":"#/components/schemas/BlockInfo"},"controller":{"type":"string","description":"Controller address"},"nominations":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/NominationsInfo","description":"Nomination info (null if not a nominator)"}]},"numSlashingSpans":{"type":"string","description":"Number of slashing spans"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]},"rewardDestination":{"$ref":"#/components/schemas/RewardDestination","description":"Reward destination configuration"},"staking":{"$ref":"#/components/schemas/StakingLedger","description":"Staking ledger information"}}},"StakingLedger":{"type":"object","description":"Staking ledger information","required":["stash","total","active","unlocking"],"properties":{"active":{"type":"string","description":"Active staked balance"},"claimedRewards":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ClaimedReward"},"description":"Claimed rewards per era (only when includeClaimedRewards=true)"},"stash":{"type":"string","description":"Stash account address"},"total":{"type":"string","description":"Total locked balance (active + unlocking)"},"unlocking":{"type":"array","items":{"$ref":"#/components/schemas/UnlockingChunk"},"description":"Unlocking chunks with value and era"}}},"StakingPayoutsResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/staking-payouts","required":["at","erasPayouts"],"properties":{"ahTimestamp":{"type":["string","null"]},"at":{"$ref":"#/components/schemas/BlockInfo"},"erasPayouts":{"type":"array","items":{"$ref":"#/components/schemas/EraPayouts"},"description":"Array of era payouts"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]}}},"TransactionPoolEntry":{"type":"object","required":["hash","encodedExtrinsic"],"properties":{"encodedExtrinsic":{"type":"string"},"hash":{"type":"string"},"partialFee":{"type":["string","null"]},"priority":{"type":["string","null"]},"tip":{"type":["string","null"]}}},"TransactionPoolResponse":{"type":"object","required":["pool"],"properties":{"pool":{"type":"array","items":{"$ref":"#/components/schemas/TransactionPoolEntry"}}}},"UnlockingChunk":{"type":"object","description":"Unlocking chunk with value and era when funds become available","required":["value","era"],"properties":{"era":{"type":"string","description":"Era when funds become available"},"value":{"type":"string","description":"Amount being unlocked"}}},"ValidatorPayout":{"type":"object","description":"Payout information for a single validator","required":["validatorId","nominatorStakingPayout","claimed","totalValidatorRewardPoints","validatorCommission","totalValidatorExposure","nominatorExposure"],"properties":{"claimed":{"type":"boolean","description":"Whether the reward has been claimed"},"nominatorExposure":{"type":"string","description":"Nominator's stake behind this validator"},"nominatorStakingPayout":{"type":"string","description":"Calculated payout amount for the nominator"},"totalValidatorExposure":{"type":"string","description":"Total stake behind this validator"},"totalValidatorRewardPoints":{"type":"string","description":"Validator's reward points for this era"},"validatorCommission":{"type":"string","description":"Validator's commission (as parts per billion, 0-1000000000)"},"validatorId":{"type":"string","description":"Validator stash account ID"}}},"VersionResponse":{"type":"object","required":["version"],"properties":{"version":{"type":"string"}}},"VestingInfoResponse":{"type":"object","description":"Response for GET /accounts/{accountId}/vesting-info","required":["at","vesting"],"properties":{"ahTimestamp":{"type":["string","null"]},"at":{"$ref":"#/components/schemas/BlockInfo"},"rcBlockHash":{"type":["string","null"]},"rcBlockNumber":{"type":["string","null"]},"vesting":{"type":"array","items":{"$ref":"#/components/schemas/VestingSchedule"},"description":"Array of vesting schedules (empty array if no vesting)"}}},"VestingSchedule":{"type":"object","description":"A vesting schedule","required":["locked","perBlock","startingBlock"],"properties":{"locked":{"type":"string","description":"Total tokens locked at start of vesting"},"perBlock":{"type":"string","description":"Tokens unlocked per block"},"startingBlock":{"type":"string","description":"Block when vesting begins"}}},"Weight":{"type":"object","required":["refTime","proofSize"],"properties":{"proofSize":{"type":"string"},"refTime":{"type":"string"}}}}},"tags":[{"name":"health","description":"Health check"},{"name":"node","description":"Connected node information"},{"name":"version","description":"API version"},{"name":"blocks","description":"Block queries and extrinsic data"},{"name":"accounts","description":"Account balance, staking, and proxy information"},{"name":"pallets","description":"Runtime pallet metadata, storage, constants, events, errors"},{"name":"runtime","description":"Runtime specification, metadata, and code"},{"name":"transaction","description":"Transaction submission, fee estimation, and construction material"},{"name":"coretime","description":"Coretime system information"},{"name":"paras","description":"Parachain inclusion data"},{"name":"ahm","description":"Asset Hub Migration information"},{"name":"capabilities","description":"API capabilities and chain pallets"},{"name":"rc","description":"Relay chain endpoints (available on parachains only)"}]}