state_getMetadata
Description
Returns the current runtime metadata in SCALE-encoded form. Use client libraries to decode.
Example
curl -s https://api-acala.n.dwellir.com/YOUR_API_KEY -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"state_getMetadata","params":[]}'
Notes
- Cache metadata and refresh after
state_getRuntimeVersion
changes.