Skip to main content

state_call RPC method

Perform a call to a builtin on the chain.


Method string REQUIRED

The name of the built-in function you want to call

Bytes string REQUIRED

The input data to be passed to the built-in function as bytes

BlockHash string

The hash of a specific block in the chain


result string

The list of RPC methods exposed by the node

Code Examples

curl<API-KEY> \
-H "Content-Type: application/json" \
--data '{"method":"state_call","params":["METHOD", "DATA"],"id":1,"jsonrpc":"2.0"}'