mallow docs
v2 (Beta)TransactionsExternal Vendors

Cancel Tensor listing

POST
/v2/tx/tensor/delist

Builds a transaction cancelling seller's Tensor (TCMP) listing of asset and returning the asset to their wallet.

The listing is read fresh from chain and seller must be its owner; anyone else is rejected with a 400, as is an asset with no Tensor listing. The listing account's rent goes back to whoever paid it. Token Metadata NFTs, programmable NFTs, Core assets, Token-2022 NFTs and Bubblegum v1 compressed NFTs are supported. Mallow charges no fee.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Cancel the caller's own Tensor listing and return the escrowed asset.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/tensor/delist" \  -H "Content-Type: application/json" \  -d '{    "seller": "string",    "asset": "string"  }'
{  "result": {    "tx": "string"  }}