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

state_call

Executes a runtime API by name with SCALE-encoded input at the best block. This is an advanced method; exact input/output types depend on the runtime.

Replace the function name and SCALE-encoded params according to the exposed runtime APIs.

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":"state_call","params":[],"id":1}'