Delete Listing
This endpoint deletes an existing marketplace listing.
This endpoint can be used to delete an ordinal listing from the marketplace. Deleting a listing requires the seller to create a transaction by calling /delist
sign the transaction and then need to send the signed transaction by making a call to /confirm-delist
, the signed transaction transfers the ordinal to the seller so that the original ordinal UTXO is consumed and not valid anymore. This is to ensure that the old, signed transaction cannot be used anymore to buy the ordinal.
POST
Delete Listing
POST
Delete ListingPOST
https://testnet-api.ordinalsbot.com/marketplace/delist
API Key is required in the header:
headers: { 'x-api-key': '<YOUR_API_KEY>', ...otherHeaders }
Example: Here's an example of executing a delete listing with Xverse wallet
Request Body
Name | Type | Description |
---|---|---|
ordinalId* | String | Id of the ordinal to buy. |
senderPaymentAddress* | String | Sender's payment wallet address. The sender will need to pay the cost of the transaction from UTXOs belonging to this address. |
senderPaymentPublicKey* | String | Public Key for sender's payment wallet address. |
Last updated