read-contract
Execute read-only functions on smart contracts to retrieve data using ABI, contract address, function name, and arguments, enabling secure blockchain interactions without exposing private keys.
Instructions
Call a read-only function on a contract, and returning the response
Input Schema
Name | Required | Description | Default |
---|---|---|---|
abi | Yes | ||
address | Yes | ||
args | Yes | ||
functionName | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"abi": {
"type": "string"
},
"address": {
"type": "string"
},
"args": {
"items": {
"type": "string"
},
"type": "array"
},
"functionName": {
"type": "string"
}
},
"required": [
"abi",
"address",
"functionName",
"args"
],
"type": "object"
}