⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

chain_getRuntimeVersion

Returns the current runtime specification and transaction version for the node. As a developer, you use this to:

  • Detect runtime upgrades and adjust clients accordingly (e.g., refresh metadata).
  • Ensure your transaction building/signing logic matches the node’s transactionVersion.
  • Gate feature flags or migrations based on specName/specVersion (e.g., API changes between releases).

Code Examples

curl -X POST https://api-bittensor-mainnet.n.dwellir.com/YOUR_API_KEY \
+ -H 'Content-Type: application/json' \
+ -d '{"jsonrpc":"2.0","method":"chain_getRuntimeVersion","params":[],"id":1}'