mirror of
https://github.com/GMGNAI/gmgn-skills.git
synced 2026-08-25 05:58:06 +00:00
feat(portfolio): add batch wallet profits command
This commit is contained in:
@@ -417,6 +417,14 @@ export class OpenApiClient {
|
||||
});
|
||||
}
|
||||
|
||||
async getWalletProfits(chain: string, walletAddresses: string[], period = "7d"): Promise<unknown> {
|
||||
return this.authExistRequest("POST", "/v1/user/wallet_profits", {}, {
|
||||
chain,
|
||||
period,
|
||||
wallet_addresses: walletAddresses,
|
||||
});
|
||||
}
|
||||
|
||||
async getWalletTokenBalance(
|
||||
chain: string,
|
||||
walletAddress: string,
|
||||
|
||||
Reference in New Issue
Block a user