Skip to content

Commit

Permalink
Merge pull request #7 from Magickbase/update_infolist_api
Browse files Browse the repository at this point in the history
feat: update infolist api
  • Loading branch information
PainterPuppets authored Dec 27, 2024
2 parents 3b6635a + 8ec6741 commit abb1a62
Showing 1 changed file with 68 additions and 15 deletions.
83 changes: 68 additions & 15 deletions trpc.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,35 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
errorShape: _trpc_server_unstable_core_do_not_import.DefaultErrorShape;
transformer: true;
}, {
infoList: _trpc_server.TRPCQueryProcedure<{
coinList: _trpc_server.TRPCQueryProcedure<{
input: {
pageSize?: number | undefined;
pageIndex?: number | undefined;
};
} | undefined;
output: {
data: {
symbol: string | null;
id: string;
name: string | null;
decimals: number | null;
icon: string | null;
tags: string[];
info: {
symbol: string | null;
id: string;
name: string | null;
decimals: number | null;
icon: string | null;
tags: string[];
};
quote: {
totalSupply: string | null;
holderCount: {
network: "ckb" | "btc" | "doge" | "unknown";
count: number;
}[];
price: string | null;
marketCap: string | null;
volume24h: string | null;
circulatingSupply: string | null;
fdv: string | null;
priceChange24h: number | null;
txCount24h: number;
};
}[];
pagination: {
hasNext: boolean;
Expand Down Expand Up @@ -82,12 +98,28 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
assetId: string;
};
output: {
symbol: string | null;
id: string;
name: string | null;
decimals: number | null;
icon: string | null;
tags: string[];
info: {
symbol: string | null;
id: string;
name: string | null;
decimals: number | null;
icon: string | null;
tags: string[];
};
quote: {
totalSupply: string | null;
holderCount: {
network: "ckb" | "btc" | "doge" | "unknown";
count: number;
}[];
price: string | null;
marketCap: string | null;
volume24h: string | null;
circulatingSupply: string | null;
fdv: string | null;
priceChange24h: number | null;
txCount24h: number;
};
} | null;
}>;
quote: _trpc_server.TRPCQueryProcedure<{
Expand All @@ -103,9 +135,9 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
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,6 +161,27 @@ declare const appRouter: _trpc_server_unstable_core_do_not_import.BuiltRouter<{
};
};
}>;
addressHoldAssets: _trpc_server.TRPCQueryProcedure<{
input: {
address: string;
};
output: {
assets: {
info: {
symbol: string | null;
id: string;
name: string | null;
decimals: number | null;
icon: string | null;
};
value: string;
amount: string;
price: string | null;
priceChange24h: number | null;
}[];
balance: string;
} | null;
}>;
transactionList: _trpc_server.TRPCQueryProcedure<{
input: {
assetId: string;
Expand Down

0 comments on commit abb1a62

Please sign in to comment.