eth_call | Base Method
POSThttps://base.callstaticrpc.com/:apiKey
Executes a new message call immediately without creating a transaction on the block chain.
Request
Responses
- 200
The result of the call.
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://base.callstaticrpc.com/:apiKey' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_call",
"params": [
{
"from": "string",
"to": "0xd46e8dd67c5d32be8058bb8eb970870f07244567",
"gas": "0x1C9C380",
"gasPrice": "0x9184e72a000",
"value": "0x0",
"data": "0x"
},
"0x61A80"
]
}'
ResponseClear