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
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
requestobjectrequiredThe details of the function call
block_idobject or enumrequiredThe 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?