getBlockchains(params?: BlockchainQuery)
getBlockchains(params?: BlockchainQuery)
Description
Retrieve metadata about blockchains.
- OpenPool API Endpoint:
GET:/metadata/blockchain/
Parameters
Name | Type | Description | Optional |
---|---|---|---|
params | BlockchainQuery | Query parameters | Yes |
{
name?: string;
ordering?: string;
page?: number;
search?: string;
symbol?: string[];
}
Response
{
count?: number;
next?: string | null;
previous?: string | null;
results?: [
{
id?: string;
chain_id?: number | null;
name: string;
slug?: string | null;
symbol?: string | null;
image_url?: string | null;
}
];
}