0

Transfer of NFT tokens. I need to send NFT tokens using web JS.

I will be able to send coins using this code. But I can't find anything like this for sending nft tokens enter image description here

3

2 Answers 2

0

the example you are showing is using the transfer action of the fungible token contract eosio.token

if you would have in place a non-fungible token contract let's say eosio.nft it would prolly have an action called transfer as well.

and you would send nft tokens using the eosio.nft::transfer action in a similar fashion as the code you are pointing out in your question.

0

To transfer an NFT on EOS / WAX, you can do it like this:

In the transaction, use the account / name atomicassets / transfer

data: {
    from: 'me.wam',
    to: 'you.wam',
    asset_ids: [1234567890],
    memo: 'sending you an nft'
}

Hope this helps :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.