Skip to main content

Parameters

transaction
object
required
The transaction call object
blockNumber
string
required
Block number (hex), or latest, earliest, pending, safe, finalized

Returns

data
string
Return value of the executed contract method (hex)

Example

curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_call", "params": [{"to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "data": "0x70a08231000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045"}, "latest"], "id": 1}'