Hello Can I get transfer code from one ton account to another code ?
On github transfer code in javascript is not clear and with errors

May 25, 2023, 7:45 AM
u mean exit codes?
transfer opcode is 0x5fcc3d14
https://docs.ton.org/learn/tvm-instructions/tvm-exit-codes
May 25, 2023, 7:48 AM
Hello Can I get transfer Send code from one ton account to another code ?
On github transfer code in javascript is not clear and with errors

Sending ton from one account to another account
May 25, 2023, 8:59 AM
hello, can i verify nft ownership in contract code ?
May 25, 2023, 10:44 AM
Is it a regular NFT or SBT?
May 25, 2023, 10:46 AM
NFT
May 25, 2023, 10:46 AM
Then it's not possible without user actually sending the NFT to your contract
May 25, 2023, 10:47 AM
how to check token is NFT or SBT in tonWeb sdk ?
May 25, 2023, 10:48 AM
Attempt calling get_authority_address(), if the method fails then token is not SBT.
May 25, 2023, 10:51 AM
can u plz tell me where to find this function ?
May 25, 2023, 11:00 AM
TonWeb has some methods to call get-methods on contracts. As far as I remember, that's tonweb.provider.call(
, , ).
May 25, 2023, 11:02 AM
Do you think these few nanoTons of storage fee will make a difference in your case?
May 25, 2023, 11:07 AM
Thanks.
user sending the nft to my contract, how can i check if its arrived or not in contract code?
May 25, 2023, 11:14 AM
The NFT itself will send a ownership_assigned message to your contract after the successful transfer, so you can handle it
https://github.com/ton-blockchain/TEPs/blob/master/text/0062-nft-standard.md
May 25, 2023, 11:16 AM
alright
its sending the msg to the contract but not nft
only TON FROGS making issue else other nfts working fine,
May 25, 2023, 11:17 AM
The contract of NFT sends a message to the new owner's address automatically
May 25, 2023, 11:18 AM
i am saying that
Transfer nft to my contract failed,
but ownership_assigned message come to the contract.
nft stays in the user wallet.
all other nfts except this collection working fine.
https://getgems.io/collection/EQDahyr_gPkHBPbhyrvjoHGVFGGj8vXXtL7w14AV3S2JvpTF
May 25, 2023, 11:22 AM
tx? Maybe you leave the forward amount of Nano TON is not enough
May 25, 2023, 12:53 PM
https://tonscan.org/tx/by-msg-hash/83rDIDIafhTP5bDdf8q5sNoyYGDa3bcFIB6dq5ovJQ0=
May 25, 2023, 12:53 PM
how you send the NFT? Did you use Transfer method on getgems.io? I think no.
The forward fee seems too low for me.
May 25, 2023, 1:01 PM
forward fee is ok for bounce
May 25, 2023, 1:02 PM
calling transfer method of nft contract from js sdk.
this is the error on tonscan
9 - Cell underflow. Read from slice primitive tried to read more bits or references than there are.
exitcode - 9
help
May 26, 2023, 8:02 AM

© 2024 Draquery.com All rights reserved.