Skip to main content

/runtime/spec REST API Endpoint

Get version information of the Substrate runtime.

Updated on
Sep 2, 2024

/runtime/spec REST API Endpoint

Path Parameters

Query Parameters

at
string
Block at which to retrieve runtime version information at.

Returns

at
object
The at object which contains the following fields:
height
string
The block number or height
hash
string
The unique identifier (hash) of the block
authoringVersion
string
The version of the runtime authoring code
transactionVersion
string
The version number of the transaction format, used to ensure compatibility with different versions
implVersion
string
The implementation version of the node software
specName
string
The name of the blockchain specification
specVersion
string
The version number of the blockchain specification being used
chainType
object
The chainType object which contains the following fields:
live
string
Indicates whether the chain is live
properties
object
The properties object which contains the following fields:
isEthereum
boolean
A boolean indicating whether the chain is Ethereum-compatible
ss58Format
string
The address format used on the blockchain
tokenDecimals
array
The number of decimal places used for the token
tokenSymbol
array
The symbol for the blockchain's native token
Request
1
curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/runtime/spec' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free