1

I'm minting a lot of spl-tokens which is 1 decimal. Let's assume that each nft have different metadata. So how can I choose a specific nft to transfer?

1 Answer 1

3

Each NFT has a mint address. Since NFTs are tokens with a max supply of 1. The mint for each NFT will be unique to that NFT.

1
  • Can you give me example code? I only find this function spl_token::instruction::transfer(token_program_id, source_pubkey, destination_pubkey, authority_pubkey, signer_pubkeys, amount) but there is no param tell me which nft to transfer like you said
    – marethyu
    Commented Jan 12, 2023 at 10:47

Your Answer

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

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