You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm migrating from the old SDK to the new one, which I'm really liking (much better structured), but I'm having to rewrite some stuff and want to learn about new data that I'm getting.
I have identified a lot of different data that is returned:
A: output.response.signature, I understand this is the blockchain transactionId where this operation happened.
B: output.mintSigner.publicKey, the mintAddress or public address of the NFT.
B.1: Duplicated in output.nft.mintAddress
B.2: Duplicated in output.nft.mint.address
C: output.mintSigner.secretKey, what can this private key be used for? Is there any good reason to store it for later usage?
D: output.metadataAddress, the address of the Account used for storing the metadata.
D1: Duplicated in output.nft.address
D2: Duplicated in output.nft.metadataAddress
E: output.masterEditionAddress, the mint authority address, but what is this address really, is it needed to mint new editions or alike? So if you only care about creating single NFTs or master editions it serves no purpose?
E1: Duplicated in output.nft.edition.address
E2: Duplicated in output.nft.mint.mintAuthorityAddress
F: output.tokenAddress, is this the token account that holds the newly created NFT?
G: output.updateAuthorityAddress, the public key of the keypair that allows updating the NFT metadata.
Could someone review if my assumptions are correct for all points and particularly give some hints about C and E? Huge thanks in advance, this new SDK seems to be much easier to use than the old one!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm migrating from the old SDK to the new one, which I'm really liking (much better structured), but I'm having to rewrite some stuff and want to learn about new data that I'm getting.
After creating a very basic NFT like this:
I have identified a lot of different data that is returned:
A:
output.response.signature
, I understand this is the blockchain transactionId where this operation happened.B:
output.mintSigner.publicKey
, the mintAddress or public address of the NFT.output.nft.mintAddress
output.nft.mint.address
C:
output.mintSigner.secretKey
, what can this private key be used for? Is there any good reason to store it for later usage?D:
output.metadataAddress
, the address of the Account used for storing the metadata.output.nft.address
output.nft.metadataAddress
E:
output.masterEditionAddress
, the mint authority address, but what is this address really, is it needed to mint new editions or alike? So if you only care about creating single NFTs or master editions it serves no purpose?output.nft.edition.address
output.nft.mint.mintAuthorityAddress
F:
output.tokenAddress
, is this the token account that holds the newly created NFT?G:
output.updateAuthorityAddress
, the public key of the keypair that allows updating the NFT metadata.Could someone review if my assumptions are correct for all points and particularly give some hints about C and E? Huge thanks in advance, this new SDK seems to be much easier to use than the old one!
Beta Was this translation helpful? Give feedback.
All reactions