getSmartContracts(params?: ContractQuery)
getSmartContracts(params?: ContractQuery)
Description
Query the OpenPool database of 20K+ smart contracts to get tags and labels.
- OpenPool API Endpoint:
GET:/metadata/contract/
Parameters
Name | Type | Description | Optional |
---|---|---|---|
params | ContractQuery | Query parameters | Yes |
{
address?: string[];
name?: string;
ordering?: string;
page?: number;
search?: string;
}
Response
{
count?: number;
next?: string | null;
previous?: string | null;
results?: [{
id?: string;
address: string;
name?: string | null;
tags?: string | null;
blockchain: string;
}];
}