aftermath-ts-sdk 2.2.0 → 2.2.1-dev.5bbac96
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/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14157,7 +14157,7 @@ declare class Rewards extends Caller {
|
|
|
14157
14157
|
/**
|
|
14158
14158
|
* Preview a single account's expected rewards for an epoch, broken down by
|
|
14159
14159
|
* domain (trading, referral, AFLP, integrator) plus totals. Backed by the
|
|
14160
|
-
* newer `rewards/
|
|
14160
|
+
* newer `rewards/expected-rewards` endpoint. Provide exactly one of `address`
|
|
14161
14161
|
* or `accountId`; omit `epoch` for the current epoch.
|
|
14162
14162
|
*/
|
|
14163
14163
|
getExpectedRewards(inputs: ApiRewardsExpectedRewardsBody): Promise<ApiRewardsExpectedRewardsResponse>;
|
package/dist/index.js
CHANGED
|
@@ -15396,11 +15396,11 @@ var init_rewards = __esm({
|
|
|
15396
15396
|
/**
|
|
15397
15397
|
* Preview a single account's expected rewards for an epoch, broken down by
|
|
15398
15398
|
* domain (trading, referral, AFLP, integrator) plus totals. Backed by the
|
|
15399
|
-
* newer `rewards/
|
|
15399
|
+
* newer `rewards/expected-rewards` endpoint. Provide exactly one of `address`
|
|
15400
15400
|
* or `accountId`; omit `epoch` for the current epoch.
|
|
15401
15401
|
*/
|
|
15402
15402
|
async getExpectedRewards(inputs) {
|
|
15403
|
-
return this.fetchApi("
|
|
15403
|
+
return this.fetchApi("expected-rewards", inputs);
|
|
15404
15404
|
}
|
|
15405
15405
|
// =========================================================================
|
|
15406
15406
|
// Transactions
|