Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
- Expanded docs/sdk_developers/signing.md to clarify GPG and DCO requirements and add a Table of Contents (#455).
- chore: Standardized client initialization across all examples/ files to promote consistency (#658).
- chore: changed the file names of airdrop examples, classes, unit and integration tests so they are grouped together. (#631)
- Refactor `AbstractTokenTransferTransaction` to unify Token/NFT transfer logic.

### Fixed
- Added explicit read permissions to examples.yml (#623)
Expand All @@ -55,6 +56,9 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
{pending_airdrop_record.py -> token_airdrop_pending_record.py}
{token_cancel_airdrop_transaction.py -> token_airdrop_transaction_cancel.py}

- In `TokenAirdropTransaction` the parameters of the following methods have been renamed:
- add_nft_transfer(sender → sender_id, receiver → receiver_id)
- add_approved_nft_transfer(sender → sender_id, receiver → receiver_id)

## [0.1.7] - 2025-10-28

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk_users/running_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ transaction = (
TokenAirdropTransaction()
.add_token_transfer(token_id=token_id, account_id=operator_id, amount=-1)
.add_token_transfer(token_id=token_id, account_id=recipient_id, amount=1)
.add_nft_transfer(nft_id=nft_id, serial_number=serial_number, sender=operator_id, receiver=recipient_id)
.add_nft_transfer(nft_id=nft_id, serial_number=serial_number, sender_id=operator_id, receiver_id=recipient_id)
.freeze_with(client)
.sign(operator_key)
)
Expand Down
2 changes: 1 addition & 1 deletion examples/token_airdrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def token_airdrop():
.add_token_transfer(token_id=token_id, account_id=recipient_id, amount=1)
.add_nft_transfer(
nft_id=NftId(token_id=nft_id, serial_number=serial_number),
sender=operator_id, receiver=recipient_id
sender_id=operator_id, receiver_id=recipient_id
)
.freeze_with(client)
.sign(operator_key)
Expand Down
Loading