@dydxprotocol/v4-client-js 1.15.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -300,4 +300,14 @@ export default class AccountClient extends RestClient {
|
|
|
300
300
|
const uri = `/v4/historicalTradingRewardAggregations/${address}`;
|
|
301
301
|
return this.get(uri, { period, limit, startingBeforeOrAt, startingBeforeOrAtHeight });
|
|
302
302
|
}
|
|
303
|
+
|
|
304
|
+
async getHistoricalBlockTradingRewards(
|
|
305
|
+
address: string,
|
|
306
|
+
limit?: number,
|
|
307
|
+
startingBeforeOrAt?: string,
|
|
308
|
+
startingBeforeOrAtHeight?: string,
|
|
309
|
+
): Promise<Data> {
|
|
310
|
+
const uri = `/v4/historicalBlockTradingRewards/${address}`;
|
|
311
|
+
return this.get(uri, { limit, startingBeforeOrAt, startingBeforeOrAtHeight });
|
|
312
|
+
}
|
|
303
313
|
}
|