Skip to main content
Glama

ScorpTech x402 API

Evm Selector Decode

evm_selector_decode
Read-onlyIdempotent

Decode EVM function selectors, calldata and event topics: looks up 4-byte selectors (or 32-byte event topics) in 4byte.directory plus a built-in table of well-known signatures, re-hashes every candidate with Keccak-256 to drop bad entries, and for full calldata ABI-decodes the arguments (address with EIP-55 checksum, uint/int as exact decimal strings, bool, bytes, string, arrays, tuples), ranking candidates that decode cleanly first. Also computes the selector/topic for a given signature. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-selector-decode

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax candidates 1-50 (default 10)
topicNo32-byte event topic0 hash
calldataNoFull transaction input data (0x...), decoded against the candidates
selectorNo4-byte function selector, e.g. 0xa9059cbb
signatureNoA signature like transfer(address,uint256) to hash into its selector/topic

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources