static-call
Perform read-only smart contract calls on EVM-compatible chains to retrieve data without altering the blockchain state. Supports Ethereum, Polygon, BSC, and more.
Instructions
Make a static call to a smart contract on any EVM-compatible chain (read-only)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockTag | No | Block tag (latest, earliest, pending, or block number) | latest |
chain | Yes | Chain identifier. Available: ethereum, polygon, bsc, arbitrum, optimism, avalanche, fantom, sepolia | |
data | Yes | ABI-encoded function call data | |
to | Yes | Contract address to call |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"blockTag": {
"default": "latest",
"description": "Block tag (latest, earliest, pending, or block number)",
"type": "string"
},
"chain": {
"description": "Chain identifier. Available: ethereum, polygon, bsc, arbitrum, optimism, avalanche, fantom, sepolia",
"type": "string"
},
"data": {
"description": "ABI-encoded function call data",
"type": "string"
},
"to": {
"description": "Contract address to call",
"type": "string"
}
},
"required": [
"chain",
"to",
"data"
],
"type": "object"
}