Search contract ABIs
GET /v2/contract/abi
GET
/v2/contract/abi
Search for contract ABIs with various filters.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” name
required
string
Filter by name
Example
ERC20 exactName
required
boolean
Whether to match the exact name
interfaceId
required
string
Filter by interface ID
Example
0x123... methodName
required
string
The method name
Example
transfer stateMutability
required
string
The state mutability
Example
nonpayable inputs
Array<string>
The input types
Example
[ "address", "uint256"] outputs
Array<string>
The output types
Example
[ "bool"] isShared
required
boolean
Whether to search shared ABIs
page[number]
number
Page number (starts at 1)
Example
1 page[size]
number
Items per page
Example
10Header Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Responses
Section titled “ Responses ”List of matching ABIs
object
items
required
The search results
Array<object>
object
name
required
The ABI name
string
ERC20 abiId
required
The ABI ID
string format: uuid
e271bc5c-f870-44cd-8462-54280d0411f6 page
required
Pagination information
object
number
required
Page number (starts at 1)
number
1 size
required
Items per page
number
10 totalPages
required
Total number of items
number
100 totalCount
required
Total number of pages
number
10 hasNext
required
Whether there is a next page
boolean
true hasPrev
required
Whether there is a previous page
boolean
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error