getRewardAsync

open fun getRewardAsync(rewardId: String, cancellationSignal: CancellationSignal?, callback: WalletCallback<Reward>)

Asynchronously retrieves a reward by its unique identifier.

Parameters

rewardId

The unique identifier of the reward.

cancellationSignal

A signal for canceling the asynchronous operation (nullable).

callback

The callback to be invoked upon completion or error.