Skip to main content

state_call RPC Method

Perform a call to a builtin on the chain

Updated on
Oct 04, 2023

state_call RPC Method

Parameters

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

Returns

result
string
The output of the call to the built-in function
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free