abi_decode
Decode ABI-encoded hex data into readable values using provided Solidity types. Turn raw encoded output into structured data for further blockchain processing.
Instructions
ABI decode encoded data back to values
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": {
"types": "<types>",
"data": "<data>"
},
"name": "abi_decode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The encoded data as hex string | |
| types | Yes | Array of Solidity types (e.g., ['address', 'uint256']) |