- Preparing search index...
- The search index is not available
cardano-sdk
Function createRewardsHistoryTracker
- createRewardsHistoryTracker(transactions$: Observable<TxWithEpoch[]>, rewardAccounts$: Observable<RewardAccount[]>, rewardsHistoryProvider: ((rewardAccounts: RewardAccount[], lowerBound: null | EpochNo, onFatalError?: ((value: unknown) => void)) => Observable<Map<RewardAccount, Reward[]>>), rewardsHistoryStore: storage.KeyValueStore<RewardAccount, Reward[]>, logger: Logger, onFatalError?: ((value: unknown) => void)): Observable<RewardsHistory>
-
Parameters
-
transactions$: Observable<TxWithEpoch[]>
-
rewardAccounts$: Observable<RewardAccount[]>
-
rewardsHistoryProvider: ((rewardAccounts: RewardAccount[], lowerBound: null | EpochNo, onFatalError?: ((value: unknown) => void)) => Observable<Map<RewardAccount, Reward[]>>)
-
- (rewardAccounts: RewardAccount[], lowerBound: null | EpochNo, onFatalError?: ((value: unknown) => void)): Observable<Map<RewardAccount, Reward[]>>
-
Parameters
-
-
lowerBound: null | EpochNo
-
Optional
onFatalError: ((value: unknown) => void)
-
- (value: unknown): void
-
Returns void
-
-
logger: Logger
-
Optional
onFatalError: ((value: unknown) => void)
-
- (value: unknown): void
-
Returns void