Function selector lookup
Resolve 4-byte function selectors to known function names. Results keep input positions and mark unknown and ambiguous selectors.
https://triport.io/v1/intelligence/methods- Network
- Chainless: one call covers every supported chain; no chain field
- Scope
- intelligence:read
- Auth
- x-token: $TRIPORT_API_KEY header (or Authorization: Bearer)
- Rate limit
- Business — 30 rps (intelligence, burst ×2); Enterprise — 150 rps
Resolve 4-byte function selectors to known function names. Results keep input positions and mark unknown and ambiguous selectors.
A selector is not a unique identity: two functions can share one. A match does not tell you what a deployed contract actually does. Send selectors, not full calldata; use calldata decode for that.
This method takes no chain.
Every answer is an envelope with state, meta, optional data and optional error. Read state first: ok, empty, partial, stale, unsupported or unavailable (see response states). meta.cached tells you whether the answer came from cache.
Parameters
freshbooleanoptionaltrue skips the cache and asks for a new lookup (GET routes: ?fresh=1).selectorsarray of stringrequired0x + 8 hex characters each.Response
Response recorded on 2026-11-06 through https://triport.io (long lists shortened). Values change over time.
Errors
| HTTP | error.code | When |
|---|---|---|
| 400 | invalid_request | Malformed address, unknown field, null value or invalid JSON. |
| 401 | unauthorized | Missing or invalid API key. |
| 403 | scope_missing / tier_insufficient | The key lacks intelligence:read, or the plan is below Business. |
| 405 | method_not_allowed | Wrong HTTP method; the Allow header names POST. |
| 422 | unsupported | The chain (or the contract) is not supported by this method. |
| 429 | rate_limited | Over the intelligence per-second limit; wait Retry-After seconds. |
| 503 | unavailable | The lookup could not be completed right now; retry later. |
| 504 | timeout | The lookup took too long; retry, or retry later with the same input. |
See errors, limits and states for the full rules and the code examples.