Beliebige Smart-Contract-Funktion lesen (10 Ketten)
vertrag_lesenCalls any read-only (view/pure) function of a smart contract on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, Gnosis, Linea or Base Sepolia — just give the function signature like "balanceOf(address) returns (uint256)" or "getReserves() returns (uint112,uint112,uint32)" and the arguments. Returns decoded values. Optional block number for historical reads. No ABI, no RPC key needed. Read-only. Vertragsfunktion abfragen. Preis $0.01 (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vertrag": "<vertrag>",
"funktion": "<funktion>"
},
"name": "vertrag_lesen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Blocknummer oder latest | |
| kette | No | kette | |
| vertrag | Yes | Vertragsadresse 0x… | |
| funktion | Yes | Signatur, z. B. "totalSupply() returns (uint256)" | |
| argumente | No | Argumente in Reihenfolge |