chain_abi_encode
ABI encode function call — Build EVM transaction calldata offline: Solidity ABI-encode a function call from its signature and arguments. Returns the 4-byte selector, full calldata (selector + args), encoded args and 32-byte words. signature= (e.g. transfer(address,uint256)) and args= (comma-separated, or a JSON array for arrays / strings with commas) required. Supports address, bool, uintN/intN (range-checked, negatives in two's complement), bytesN, bytes, string and T[] of static types; no tuples. 422 on bad types/values. Price: $0.002 USDC (Base, via 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": {
"signature": "<signature>",
"args": "<args>"
},
"name": "chain_abi_encode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913,1000000 | |
| signature | Yes | transfer(address,uint256) |