eth_call
POST/
Executes a new message call immediately without creating a transaction on the blockchain.
Parameters:
to
: the address to which the transaction is directed.data
: hash of the method signature and encoded parameters.blockNumber
: block number in hexadecimal format or the strings 'latest', 'earliest', 'pending'.
Returns:
result
: a hex string representing the return value of the executed contract call.
Request
Query Parameters
apikey stringrequired
Your API key
- application/json
Body
Array [
- MOD1
- MOD2
]
id integer
jsonrpc string
method string
params
object[]
anyOf
to string
The address to which the transaction is directed.
data string
Hash of the method signature and encoded parameters.
string
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
id integer
result string
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}
Loading...
Was this helpful?
Happy React is loading...