Get Smart Contracts Metadata

Access 50,000 Smart Contract Tags for DeFi protocol identification and attribution

getSmartContracts(params: ContractQuery)

Description

Allows you to query our database of 50K smart contract labels with broad EVM DeFi coverage to quickly identify a 0x address as belonging to a specific DeFi protocol (e.g. Compound). This can help provide invaluable context to blockchain activity, aiding in the identification of ecosystem participants.

This is a premium endpoint. For access, please visit the Plans page on the OpenPool Developer Portal at dev.openpool.co to sign up (you’ll need to create an account first).

  • OpenPool API Endpoint: GET:/metadata/contract/

Parameters

NameTypeDescriptionOptional
paramsContractQueryQuery parametersYes
{
	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;
}];
}