getNftReward
Last updated
Last updated
The KOII you earned are based on K1 network. Check the to earn more KOII on K2 .
This function returns attention rewards earned from an NFT in KOII.
id <string> - The transaction ID to process for which you have to see the earned attention rewards.
In the below code example, change the targetNft
to the NFT ID for which you want to see the attention rewards gained.
Promise<null | number> - Koii rewards earned from a given NFT
Koii rewards earned. If the transaction is not a valid Koii NFT, null
will be returned.