{"uid":"cap_eDqYJPBErOf8Ro9xt9-4n","slug":"vextorium-evm-solana-function-selector-decoder-f2a6ab16","name":"Vextorium EVM/Solana Function Selector Decoder","description":"558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/decode-selector?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"signature":{"type":"string","description":"Function selector (0x + 8 hex) or event topic (0x + 64 hex)"}}},"responseSchema":{"type":"json","example":{"code":"0xa9059cbb","note":"The same code can match several signatures (collisions); the oldest is usually the real one. Source: 4byte.directory.","type":"funcion","source":"4byte.directory","possible":6,"signatures":["transfer(address,uint256)","many_msg_babbage(bytes1)"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zj8F9jK0wabdn0a1V7BTx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes an EVM function selector (4 bytes) or event topic hash (32 bytes) into human-readable Solana/EVM ABI signatures using the 4byte.directory database","exampleAgentPrompt":"What function does the EVM selector 0xa9059cbb correspond to? Decode it for me and show all possible matching ABI signatures.","exampleUseCases":[{"title":"Identify unknown calldata method","prompt":"I'm analyzing a raw Ethereum transaction and the calldata starts with 0xa9059cbb — what smart contract function is that calling?"},{"title":"Decode DeFi event topic hash","prompt":"Can you tell me what EVM event this topic hash 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef corresponds to?"},{"title":"Audit smart contract interaction","prompt":"I'm auditing on-chain activity and found a transaction with selector 0x23b872dd — decode that selector and tell me how many known signatures match it."}],"resultDescription":"Returns the decoded function or event signature(s) matching the provided selector or topic hash, including the hex code, type (function or event), source database (4byte.directory), number of possible colliding signatures, and a note about collisions. The oldest/most common match is typically the canonical one.","failureModes":["Selector not found in 4byte.directory — returns empty signatures array","Invalid hex format (missing 0x prefix or wrong byte length) — validation error","Selector has multiple collisions — returns all candidates with a note that the oldest is usually correct","Network timeout to upstream 4byte.directory — may return error"],"whenToPreferThis":"Use this endpoint when you need to reverse-engineer an EVM function selector (4 bytes, 0x + 8 hex) or event topic hash (32 bytes, 0x + 64 hex) into a human-readable ABI signature. Ideal for transaction analysis, calldata decoding, smart contract auditing, and DeFi debugging. Prefer this over manual 4byte.directory lookups when automating on-chain data pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:30:35.746Z","isFirstParty":false,"canonicalSlug":"vextorium-evm-solana-function-selector-decoder-f2a6ab16"}