【发布时间】:2022-08-22 02:48:50
【问题描述】:
我正在尝试将 solana 上的现有 NFT 添加到经过 metaplex 认证的集合中,但由于 API 没有很好的文档记录而有点难过。
我相当肯定下面的这个调用是我需要使用的。根据我可以从https://docs.metaplex.com/programs/token-metadata/changelog/v1.1 的文档中推断出的内容。
对象中的一些项目不清楚,这里是类型的代码:
let tx = new Transaction().add(
createVerifyCollectionInstruction({
metadata: web3.PublicKey, (?)
collectionAuthority: web3.PublicKey, (?)
payer: wallet.PublicKey, (obvious)
collectionMint: web3.PublicKey, (nft to be added)
collection: web3.PublicKey, (collection public key)
collectionMasterEditionAccount: web3.PublicKey, (?)
}),
);
我对这里发生了什么有所了解,但对其他人仍然模糊,有人可以分解这些参数中的每一个吗?感谢您的任何见解!
标签: solana nft solana-web3js metaplex