import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.metrics.chains.listBTCbBridgersAboveThreshold({
threshold: "1000000",
pageSize: 10,
});
for await (const page of result) {
console.log(page);
}
}
run();{
"addresses": [
{
"address": "<string>",
"sortKey": "<string>"
}
],
"nextPageToken": "<string>"
}Get list of addresses and their net bridged amounts that have bridged more than a certain threshold.
import { Avalanche } from "@avalanche-sdk/chainkit";
const avalanche = new Avalanche();
async function run() {
const result = await avalanche.metrics.chains.listBTCbBridgersAboveThreshold({
threshold: "1000000",
pageSize: 10,
});
for await (const page of result) {
console.log(page);
}
}
run();{
"addresses": [
{
"address": "<string>",
"sortKey": "<string>"
}
],
"nextPageToken": "<string>"
}The minimum balance for which addresses should be considered.
A page token, received from a previous list call. Provide this to retrieve the subsequent page.
The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 5000.
1 <= x <= 5000Was this page helpful?