x402
utility

Extract the 4-byte function selector from calldata hex — call when reading the 4-byte selector from calldata. Use for chain input hygiene without live RPC—adjacent to OneSource-class small chain reads, but static/local only so rights and margin stay clear. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.

post/api/v1/x402/selector-extract

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/selector-extract
  • Auth: none declared

Request body

calldatastring required

Transaction calldata hex; first 4 bytes are the selector.

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
validboolean
selectorstring
remaining_bytesinteger

Changes

No recorded changes to this operation across all 1 revision of this API.