starknet_call
POST
/{apiKey}
Calls a function in a contract and returns the return value. Using this call will not create a transaction; hence, will not change the state
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
objectrequired
The details of the function call
object or enumrequired
The hash of the requested block, or number (height) of the requested block, or a block tag, for the block referencing the state or call the transaction on.
Block hash, number or tag
Responses
200
The function's return value
Was this page helpful?