To search, simply type in the query you want to look up. The frontend will try its best to detect if you're querying for a function selector, event hash, or the name itself. To disambiguate, prefix with function
, event
, or name
.
Querying by name is case sensitive, and you may use wildcards such as *
or ?
. If you don't use any, then the frontend will automatically append (*
to your query, causing you to search for all functions that have the same name. For example, transfer
will search for all functions called transfer, while transfer*
will search for all functions that contain the word transfer.
You can search for multiple selectors or names in a single query. Each individual query is space-delimited. There is no frontend support for searching for names with spaces yet.
GET /api/v1/stats
GET /api/v1/signatures
Name | Type | Description |
---|---|---|
function | string array | A single function selector, must contain leading 0x prefix |
error | string array | A single error selector, must contain leading 0x prefix |
event | string array | A single event hash, must contain leading 0x prefix |
name | string array | A single name, supports * and ? globbing |
all | any | If set, filtered signatures will be included. These signatures are highly likely to be spam and shouldn't be used to automatically decode transactions |
POST /api/v1/import
Name | Type | Description |
---|---|---|
type | string | Must be code |
data.compiler | string | Must be solidity or vyper |
data.code | string | The raw source code of the contract to import |
POST /api/v1/import
Name | Type | Description |
---|---|---|
type | string | Must be abi |
data | abi array | Array of JSON ABIs |
POST /api/v1/import
Name | Type | Description |
---|---|---|
type | string | Must be raw |
data.function | string array | Array of function selectors |
data.event | string array | Array of event selectors |
data.error | string array | Array of error selectors |