diff --git a/v4-client-js/src/clients/modules/account.ts b/v4-client-js/src/clients/modules/account.ts index e9521ba..e4e0c37 100644 --- a/v4-client-js/src/clients/modules/account.ts +++ b/v4-client-js/src/clients/modules/account.ts @@ -300,4 +300,14 @@ export default class AccountClient extends RestClient { const uri = `/v4/historicalTradingRewardAggregations/${address}`; return this.get(uri, { period, limit, startingBeforeOrAt, startingBeforeOrAtHeight }); } + + async getHistoricalBlockTradingRewards( + address: string, + limit?: number, + startingBeforeOrAt?: string, + startingBeforeOrAtHeight?: string, + ): Promise { + const uri = `/v4/historicalBlockTradingRewards/${address}`; + return this.get(uri, { limit, startingBeforeOrAt, startingBeforeOrAtHeight }); + } }