Hi, I'm trying to transfer NFTs via python tonsdk,

I followed the example. The result is part of the 0.05 ton goes to the tx fee and the rest goes to the receiver, I'm wondering if there's a way for tx sender to keep the remaining TON:

body = NFTItem().create_transfer_body(
Address("New Owner Address")
)
query = wallet.create_transfer_message(
"NFT Item Address",
to_nano(0.05, "ton"),
0, # owner wallet seqno
payload=body
)
nft_boc = bytes_to_b64str(query["message"].to_boc(False))

May 30, 2023, 10:41 PM
There should be a parameter in create_transfer_body indicating where excess TONs go (something like response_destination).
May 31, 2023, 2:00 AM

© 2024 Draquery.com All rights reserved.