lastBlockSendingBonus
function. The data 0x0d9160e7
in the call is the signature for the function lastBlockSendingBonus
. You can generate the function signature using Chainstack’s Web3Tools by typing lastBlockSendingBonus()
into the function name field.
Ronin API method eth_call
allows for executing a message call transaction, which directly interacts with a smart contract method without creating a transaction on the blockchain. This is particularly useful for read-only operations that don’t require a transaction to be committed to a block.
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
object
- The transaction call object:to
: The address of the contract to call.data
: The data to send to the contract. This is usually the method signature and encoded parameters.
string
- The block number or string (latest
,earliest
,pending
) specifying the state to use for executing the call.
Response
result
- The return value of the executed contract method, encoded in data. This could be a direct value or a set of values depending on the contract’s method called.
Use case
Theeth_call
method is essential for interacting with smart contracts when you need to query their state or execute their read-only methods. For example, getting the balance of a token for a specific address, checking the status of a decentralized application, or any other operation that doesn’t change the state of the blockchain.Body
application/json
Response
200 - application/json
The result of the executed call
The response is of type object
.