Selector / encode
abi_utilsCompute function selectors and event topics for a signature, and ABI-encode calls with arguments to prepare smart contract transactions.
Instructions
Compute a function selector & event topic for a signature, and optionally ABI-encode a call with args.
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>"
},
"name": "abi_utils"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| signature | Yes |