Skip to content

Commit

Permalink
Merge pull request #8 from Magickbase/implement_topHolders
Browse files Browse the repository at this point in the history
feat: implement topHolders api
  • Loading branch information
PainterPuppets authored Jan 8, 2025
2 parents abb1a62 + b86724f commit 5b7082b
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions trpc.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
quote: {
totalSupply: string | null;
holderCount: {
network: "ckb" | "btc" | "doge" | "unknown";
network: "ckb" | "btc" | "unknown" | "doge";
count: number;
}[];
price: string | null;
marketCap: string | null;
volume24h: string | null;
priceChange24h: number | null;
circulatingSupply: string | null;
fdv: string | null;
priceChange24h: number | null;
txCount24h: number;
};
}[];
Expand All @@ -60,7 +60,7 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
status: {
timestamp: number;
};
network: "ckb" | "btc" | "doge" | "unknown";
network: "ckb" | "btc" | "unknown" | "doge";
count: number;
}[];
}>;
Expand All @@ -80,7 +80,7 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
status: {
timestamp: number;
};
network: "ckb" | "btc" | "doge" | "unknown";
network: "ckb" | "btc" | "unknown" | "doge";
count: number;
}[];
}>;
Expand Down Expand Up @@ -109,15 +109,15 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
quote: {
totalSupply: string | null;
holderCount: {
network: "ckb" | "btc" | "doge" | "unknown";
network: "ckb" | "btc" | "unknown" | "doge";
count: number;
}[];
price: string | null;
marketCap: string | null;
volume24h: string | null;
priceChange24h: number | null;
circulatingSupply: string | null;
fdv: string | null;
priceChange24h: number | null;
txCount24h: number;
};
} | null;
Expand All @@ -129,37 +129,29 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
output: {
totalSupply: string | null;
holderCount: {
network: "ckb" | "btc" | "doge" | "unknown";
network: "ckb" | "btc" | "unknown" | "doge";
count: number;
}[];
price: string | null;
marketCap: string | null;
volume24h: string | null;
priceChange24h: number | null;
circulatingSupply: string | null;
fdv: string | null;
priceChange24h: number | null;
txCount24h: number;
} | null;
}>;
holderList: _trpc_server.TRPCQueryProcedure<{
topHolders: _trpc_server.TRPCQueryProcedure<{
input: {
assetId: string;
pageSize?: number | undefined;
pageIndex?: number | undefined;
};
output: {
data: {
value: string;
address: string;
network: "ckb" | "btc" | "doge" | "unknown";
usd: string;
percentage: number;
}[];
pagination: {
hasNext: boolean;
total?: number | undefined;
};
};
value: string;
address: string;
amount: string;
network: "ckb" | "btc" | "unknown" | "doge";
percentage: number;
}[] | null;
}>;
addressHoldAssets: _trpc_server.TRPCQueryProcedure<{
input: {
Expand Down Expand Up @@ -190,7 +182,7 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
};
output: {
data: {
network: "ckb" | "btc" | "doge" | "unknown";
network: "ckb" | "btc" | "unknown" | "doge";
txHash: string;
}[];
pagination: {
Expand Down

0 comments on commit 5b7082b

Please sign in to comment.