NFT Id of the NFT for sale.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
NFTSoldEvent Blockchain event.
NFT Id of the NFT for sale.
Unsigned unsubmitted Buy-NFT Transaction Hash. The Hash is only valid for 5 minutes.
Kind of marketplace : It must be public or private.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
MarketplaceCreatedEvent Blockchain event.
Kind of marketplace : It must be public or private.
Unsigned unsubmitted Create-Marketplace Transaction Hash. The Hash is only valid for 5 minutes.
Number.
The Markeplace id.
A JSON object with the marketplace data. ex:{owner, kind, accountList, (...)}
Marketplace mint fee.
Number.
Number.
The NFT id.
A JSON object with the NFT listing data.
NFT Id of the NFT to be listed for sale.
Marketplace Id of the marketplace to list the NFT on.
Price of the NFT.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
NFTListedEvent Blockchain event.
NFT Id of the NFT to be listed for sale.
Marketplace Id of the marketplace to list the NFT on.
Price of the NFT.
Unsigned unsubmitted List-NFT Transaction Hash. The Hash is only valid for 5 minutes.
Marketplace Id of the marketplace to update.
Commission when an NFT is sold on the marketplace : it can be set as flat (number) or as percentage. ex: { [MarketplaceConfigAction.Set]: { percentage: 10 } }
Fee when an NFT is added for sale to marketplace : it can be set as flat (number) or as percentage. ex: { [MarketplaceConfigAction.Set]: { flat: 5 } }
A list of accounts : if the marketplace kind is private, it allows these accounts to sell NFT. If the marketplace kind is public, it bans these accounts from selling NFT.
Off-chain related marketplace metadata. Can be an IPFS Hash, an URL or plain text.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
MarketplaceConfigSetEvent Blockchain event.
Marketplace Id of the marketplace to update.
Commission when an NFT is sold on the marketplace : it can be set as flat (number) or as percentage. ex: { [MarketplaceConfigAction.Set]: { percentage: 10 } }
Fee when an NFT is added for sale to marketplace : it can be set as flat (number) or as percentage. ex: { [MarketplaceConfigAction.Set]: { flat: 5 } }
A list of accounts : if the marketplace kind is private, it allows these accounts to sell NFT. If the marketplace kind is public, it bans these accounts from selling NFT.
Off-chain related marketplace metadata. Can be an IPFS Hash, an URL or plain text.
MarketplaceConfigSetEvent Blockchain event.
Kind of marketplace : It must be public or private.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
MarketplaceKindSetEvent Blockchain event.
Kind of marketplace : It must be public or private.
Unsigned unsubmitted Set-Marketplace-Kind Transaction Hash. The Hash is only valid for 5 minutes.
Fee to mint a marketplace.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
NFTSoldEvent Blockchain event.
Fee to mint a marketplace.
Unsigned unsubmitted Set-Marketplace-Mint-Fee Transaction Hash. The Hash is only valid for 5 minutes.
Marketplace Id of the marketplace to be transferred.
Adress of the new marketplace owner.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
MarketplaceOwnerSetEvent Blockchain event.
Marketplace Id of the marketplace to be transferred.
Adress of the new marketplace owner.
Unsigned unsubmitted Set-Marketplace-Owner Transaction Hash. The Hash is only valid for 5 minutes.
NFT Id of the NFT to be unlisted from sale.
Account that will sign the transaction.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
NFTUnlistedEvent Blockchain event.
NFT Id of the NFT to be unlisted from sale.
Unsigned unsubmitted Unlist-NFT Transaction Hash. The Hash is only valid for 5 minutes.
Generated using TypeDoc
buyNft
Buys an NFT on a marketplace.