Interface: NFTData
General structure of a Non-Fungible Token drop. This should be passed into createDrop
if you wish to have an NFT drop.
Properties
contractId
contractId: string
The account ID that the NFT contract is deployed to. This contract is where all the NFTs for the specific drop must come from.
Defined in
senderId
Optional
senderId: string
By default, anyone can fund your drop with NFTs. This field allows you to set a specific account ID that will be locked into sending the NFTs.
Defined in
tokenIds
Optional
tokenIds: string
[]
If there are any token IDs that you wish to be automatically sent to the Keypom contract in order to register keys as part of createDrop
, specify them here.
A maximum of 2 token IDs can be sent as part of the transaction. If you wish to register more keys by sending more NFTs, you must do this in a separate call by invoking
the nftTransferCall
method separately.