Readonly
amountThe current balance of the spender's token allowance.
NOTE: If null
, the spender has access to all of the account owner's NFT instances
(currently owned and any in the future).
Readonly
ownerThe account ID of the owner of the hbar allowance.
Readonly
spenderThe account ID of the spender of the hbar allowance.
Readonly
tokenThe token that the allowance pertains to.
Represents a token allowance granted to a spender account by an owner account.
The
TokenAllowance
class manages the permissions for one account to spend a specified amount of tokens on behalf of another account. It includes details about the token, the spender, the owner, and the amount allowed.