encode_call
ActiveTool of gulltoppr
declared in 0.1.2
Encode a function call to calldata (0x…) without sending anything.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"chain",
"address",
"function"
],
"properties": {
"args": {
"type": "array",
"default": [],
"description": "Function arguments, in order. Pass uint values as decimal strings."
},
"chain": {
"type": "string",
"description": "Chain alias (\"ethereum\", \"base\", \"optimism\", \"arbitrum\", \"polygon\", \"local\") or numeric chain id."
},
"value": {
"type": "string",
"description": "Native value in wei (decimal string), for payable functions."
},
"address": {
"type": "string",
"description": "0x contract address."
},
"rpc_url": {
"type": "string",
"description": "Override RPC URL. Required for chains with no default (e.g. local/31337)."
},
"function": {
"type": "string",
"description": "Function name, or full signature like \"transfer(address,uint256)\" if overloaded."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
gulltoppr
https://github.com/portdeveloper/gulltoppr
2/7 registries