Decode EVM calldata
singularityagent__decodeDecode a hex calldata blob into a function signature and arguments. Recognizes common ERC-20/721/1155, WETH, Multicall3 and Safe calls out of the box, and unwraps batches — a multicall, an aggregate, an execTransaction or a multiSend reports the calls it carries under inner. Pass abi for anything else, or set lookup to ask a public 4-byte directory for candidate signatures when the selector is unknown (those are third-party guesses, marked untrusted, and never promoted to signature).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Human-readable ABI entries to decode against, e.g. ["function foo(uint256 bar)"]. | |
| data | Yes | Hex calldata, with or without the 0x prefix. | |
| lookup | No | When the selector is not recognized, ask a public 4-byte directory for candidate signatures. Off by default: it discloses the selector to a third party, and anyone may submit an entry there, so results come back as untrusted candidates rather than as an identification. |