Claim a token
Last updated
Was this helpful?
Last updated
Was this helpful?
The TokenClaimAirdropTransaction
allows an intended airdrop recipient to claim a pending token transfer, requiring signatures from both the receiver and transaction payer. When no auto-association slots are available, this transaction handles both the TokenAssociate
and CryptoTransfer
steps. If the receiver account has auto-association slots available, the token is automatically associated and transferred, making the claim transaction unnecessary. The receiver pays only the transaction fee, while the sender covers association and custom fees. Once claimed, the transfer is irreversible and removed from network state. All referenced pending airdrops must succeed for the transaction to complete.
The receiver account key.
The transaction fee payer account key if it differs from the sender.
Please see the transaction and query table for the base transaction fee.
Please use the to estimate the cost of your transaction fee.
addPendingAirdropId(<pendingAirdropId)
List<PendingAirdropId>
Adds the ID of a pending airdrop to the transaction, indicating which specific airdrop the receiver wants to claim. This method is used to reference and claim one or more pending airdrops by their unique identifiers. The transaction can have up to 10 entries and must no have any duplicates.