eth_call
Execute smart contract calls without creating blockchain transactions to read data, test functions, or simulate contract interactions on EVM networks.
Instructions
Executes a new message call immediately without creating a transaction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockNumber | No | Block number or 'latest', 'earliest', 'pending' | latest |
data | Yes | Data to send (hex string) | |
from | No | From address (optional) | |
gas | No | Gas limit (optional) | |
gasPrice | No | Gas price (optional) | |
to | Yes | Contract address | |
value | No | Value in wei (optional) |
Input Schema (JSON Schema)
{
"properties": {
"blockNumber": {
"default": "latest",
"description": "Block number or 'latest', 'earliest', 'pending'",
"type": "string"
},
"data": {
"description": "Data to send (hex string)",
"type": "string"
},
"from": {
"description": "From address (optional)",
"type": "string"
},
"gas": {
"description": "Gas limit (optional)",
"type": "string"
},
"gasPrice": {
"description": "Gas price (optional)",
"type": "string"
},
"to": {
"description": "Contract address",
"type": "string"
},
"value": {
"description": "Value in wei (optional)",
"type": "string"
}
},
"required": [
"to",
"data"
],
"type": "object"
}