/runtime/code REST API Endpoint
Path Parameters
Query Parameters
at
string
Loading...
Returns
at
object
Loading...
hash
string
Loading...
height
string
Loading...
code
string
Loading...
Request
1# AssetHub (default) - for runtime code from AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/runtime/code' \3--header 'Accept: application/json'45# Polkadot Relaychain - for runtime code from Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/runtime/code' \7--header 'Accept: application/json'
1# AssetHub (default) - for runtime code from AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/runtime/code' \3--header 'Accept: application/json'45# Polkadot Relaychain - for runtime code from Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/runtime/code' \7--header 'Accept: application/json'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free