Proxy

eth_call

Executes a new message call immediately without creating a transaction on the block chain.

Sample request

https://api.thespectre.io/api
   ?module=proxy
   &action=eth_call
   &to=0x0000000000000000000000000000000000001001
   &data=0x70a08231000000000000000000000000e16359506c028e51f16be38986ec5746251e9724
   &tag=latest
   &apikey=YourApiKeyToken

Request query parameters

ParameterDescription

to*

the string representing the address to interact with

data*

the hash of the method signature and encoded parameters

tag*

the string pre-defined block parameter, either earliest, pending or latest

Sample response

{
    "status": "1",
    "message": "OK",
    "result": "0x00000000000000000000000000000000000000000000000000601d8888141c00" 
}

Last updated