/ DEVELOPERS / API / ETH_CALL

eth_call

Read-only contract call. Today QWVM contracts return -32601 (use qw_callContract); EOAs return '0x'. EVM contracts will fully support this in Phase B.

eth_call

Read-only contract call. Today QWVM contracts return -32601 (use qw_callContract); EOAs return '0x'. EVM contracts will fully support this in Phase B.

eth_*category: contractreturns: hex bytes
Share link

Parameters

{ to, data, from?, gas?, value? }

Block tag

Response

Press Send Request to see a response.

Copy as

curl -X POST '/rpc' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0xe20E4bE36144aF17eb87509077D02F8C38423Bf7","data":"0x"},"latest"],"id":1}'