Resolve a selector or event topic to a signature (paid $0.001)
selector_lookupResolve a 4-byte function selector or 32-byte event topic hash to its human-readable signature(s) via 4byte.directory and openchain.xyz, returning all matches with verified flag.
Instructions
PAID $0.001 (x402, USDC on Base). Resolve a 4-byte function selector (0x + 8 hex) OR a 32-byte event topic hash (0x + 64 hex) to its human-readable signature(s) via 4byte.directory + openchain.xyz. Returns all matches (selectors can collide) with a verified flag. Without payment returns the x402 challenge; pass x_payment to settle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | A 4-byte function selector (0x + 8 hex) or a 32-byte event topic hash (0x + 64 hex). | |
| x_payment | No | x402 payment payload (base64) for this PAID decode. If supplied it is forwarded as the X-PAYMENT header to settle the call and return the real result instead of a 402 challenge. Omit to get the price challenge first. |