7. Match Orders
Last updated
Was this helpful?
Last updated
Was this helpful?
Matching orders is to fill the offers or listings with traders' corresponding actions to buy or sell the NFTs for the transactions to be completed.
You need to initialize the SDK in order to use it.
To select the correct order, please refer to .
Parameters needed:
Parameter
Parameter usage and meaning
Required or not
accountName
The account name used to initialize the client
✅
assetType
Specify the asset type used to purchase or sell the NFT
✅
AssetAmount
The asset amount to purchase or sell the NFT
✅
offerId
Select an NFT order that is listed for sale or made an offer by someone
✅
isSell
To buy (false) or sell (true) the target NFT
✅
📚SDK REFERENCE
Example:
Purchase the NFT with offerId
= 31
Initialize the client
Purchase NFT
Example result
The information returned is all about the target order except for "account_name".
Information about the status change of the target order will be returned. Please refer to for the status information.