Type Alias hedera::AccountAllowanceDeleteTransaction

source ·
pub type AccountAllowanceDeleteTransaction = Transaction<AccountAllowanceDeleteTransactionData>;
Expand description

Deletes one or more non-fungible approved allowances from an owner’s account. This operation will remove the allowances granted to one or more specific non-fungible token serial numbers. Each owner account listed as wiping an allowance must sign the transaction. Hbar and fungible token allowances can be removed by setting the amount to zero in AccountAllowanceApproveTransaction.

Aliased Type§

struct AccountAllowanceDeleteTransaction { /* private fields */ }

Implementations§

source§

impl AccountAllowanceDeleteTransaction

source

pub fn get_nft_allowances(&self) -> &[NftRemoveAllowance]

Get the nft allowances that will be removed.

source

pub fn delete_all_token_nft_allowances( &mut self, nft_id: NftId, owner_account_id: AccountId, ) -> &mut Self

Remove all nft token allowances.