Skip to main content

/runtime/code REST API Endpoint

Get the runtime wasm blob.

Updated on
Sep 2, 2024

/runtime/code REST API Endpoint

Path Parameters

Query Parameters

at
string
Block at which to retrieve the runtime wasm blob at.

Returns

at
object
An object containing information about the state
hash
string
The block's hash
height
string
The block's height
code
string
The hexadecimal string representing a smart contract code or a cryptographic key associated with the transaction or operation
Request
1
curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/runtime/code' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free