Skip to main content Link Menu Expand (external link) Document Search Copy Copied

SolanaNftMetadata

Model getters

Method name Return type Description Notes
getName() string The name of the NFT
Example: My NFT
 
getSymbol() string The symbol or abbreviated name of the NFT
Example: NFT_SYMBOL
 
getSellerFeeBasisPoints() float The royalty that will be paid to the authors of the minted NFT every time the NFT is transferred
The royalty is calculated as a percentage of the NFT price. To set the royalty to 1%, set this parameter to 100; to set 10%, set this parameter to 1000; to set 50%, set this parameter to 5000, and so on.
To specify the NFT authors and their shares in the royalty, set the creators parameter.
To disable the royalty for the NFT completely, set sellerFeeBasisPoints to 0 and do not set creators.
Example: 0
 
getUri() string The URL pointing to the NFT metadata; for more information, see EIP-721
Example: https://my_token_data.com
 
getCollection() string The blockchain address of the NFT collection where the NFT will be minted in. Specify the private key of the collection verifier in the collectionVerifierPrivateKey parameter of the request body to get the NFT verified in the collection after the NFT has been minted. To know more about Solana collections and verification, refer to the Solana user documentation.
Example: FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ
[optional]
getMutable() bool Specifies whether the NFT metadata is mutable (“true”) or immutable (“false”); if not set, defaults to “true”
Example: null
[optional] [default to true]
getCreators() \Tatum\Model\SolanaNftMetadataCreator[] The blockchain addresses where the royalties will be sent every time the minted NFT is transferred
Example: null
[optional]