Starknet OpenRPC specFor the latest version of the publicly maintained OpenRPC spec, see the Starknet specs GitHub repo.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
request
— the details of the function call:contract_address
— the address of the contract to be called.entry_point_selector
— the selector of the function to be called.calldata
— the parameters passed to the function.
block_id
— 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.
Response
result
— the function’s return value, as defined in the Cairo output.
Use case
A practical use case forstarknet_call
is to interact with a contract’s function without creating a transaction or changing the state. This can be useful for querying contract state or testing function calls.
Deprecated feeder gateway method
The feeder gateway was deprecated on December 11, 2023. Example of the call you had to make to the feeder gateway before the deprecation:Shell
Body
application/json
Response
200
Successful response