Index
Functions
add Reward Event Listener
Parameters
rewardEvent: REWARD_ITEM_TRANSFER_RECEIVED
listenerFn: ListenerFn<REWARD_ITEM_TRANSFER_RECEIVED, IRewardItemTransferPayload>
Returns void
get Application Reward Items
Gets Application Reward Items.
Parameters
args: IRewardItemArgs
Returns Promise<IPaginatedResponse<IRewardItem>>
get Reward Item Balances
Gets userProfile Reward Item Balance.
Parameters
args: { rewardItemIds: string[] }
reward
Item Ids: string[]
Returns Promise<IPaginatedResponse<IRewardItemBalancePayload>>
get Reward Item Transfers
Gets user's Reward Item Transfers.
Parameters
args: IRewardItemTransferArgs
arguments to filter user's Reward Item Transfers
Returns Promise<IPaginatedResponse<IRewardItemTransferPayload>>
get Reward Transactions
Parameters
args: IRewardTransactionArgs
Returns Promise<IPaginatedResponse<IRewardTransaction>>
remove Reward Event Listener
Parameters
rewardEvent: REWARD_ITEM_TRANSFER_RECEIVED
Optional listenerFn: ListenerFn<REWARD_ITEM_TRANSFER_RECEIVED, IRewardItemTransferPayload>
Returns void
transfer Reward Item Amount
Transfer Reward Item Balance to another profile.
Parameters
args: { amount: number; recipientProfileId: string; rewardItemId: string }
amount: number
recipient
Profile Id: string reward
Item Id: string
Returns Promise<IRewardItemTransferPayload>
Generated using TypeDoc
Add listener for the RewardEvent
2.12.0