Calls
acceptOffer
Accepts an offer on a token Caller must be token owner NamespaceauctionNft
Auction a bundle of tokens on the open market to the highest bidder- Tokens must be from the same collection
- Tokens with individual royalties schedules cannot be sold in bundles
-
payment_asset
fungible asset Id to receive payment with -
reserve_price
winning bid must be over this threshold -
duration
length of the auction (in blocks), uses default duration if unspecified
bid
Place a bid on an open auctionamount
to bid (in the seller’s requested payment asset)
buy
Buy a token listing for its specified price NamespacecancelOffer
Cancels an offer on a token Caller must be the offer buyer NamespacecancelSale
Close a sale or auction returning tokens Requires no successful bids have been made for an auction. Caller must be the listed seller NamespacemakeSimpleOffer
Create an offer on a token Locks funds until offer is accepted, rejected or cancelled An offer can’t be made on a token currently in an auction (This follows the behaviour of Opensea and forces the buyer to bid rather than create an offer) NamespaceregisterMarketplace
Flag an account as a marketplacemarketplace_account
- if specified, this account will be registered entitlement
- Permill, percentage of sales to go to the marketplace If no marketplace is specified the caller will be registered
Namespace
sellNft
Sell a bundle of tokens at a fixed price- Tokens must be from the same collection
- Tokens with individual royalties schedules cannot be sold with this method
buyer
optionally, the account to receive the NFT. If unspecified, then any account may purchase asset_id
fungible asset Id to receive as payment for the NFT fixed_price
ask price duration
listing duration time in blocks from now Caller must be the token owner
Namespace
setFeeTo
Set theFeeTo
account This operation requires root access
Namespace
updateFixedPrice
Update fixed price for a single token salelisting_id
id of the fixed price listing new_price
new fixed price Caller must be the token owner
Namespace
Storage
feeTo
The pallet id for the tx fee pot NamespacelistingEndSchedule
Block numbers where listings will close. Value istrue
if at block number listing_id
is scheduled to close.
Namespace