Skip to main content
Version: 0.4

Cancel an NFT previously listed for Sale

Cancel an already listed NFT for sale on the Aventus network.

This page is kept simple to show the function signature and how it can be used. To understand the various variable names and their constraints, HERE is an explainer. For a further deep-dive into how the Aventus Network supports NFTs, check this out.

await api.send.cancelListFiatNft(avnRelayerAddress, nftOwnerAddress, nftId);

This operation uses a relayer account that the sender authorizes to submit the transfer transaction.
Contact us here to request a relayer address.


const AvnApi = require("avn-api");
const GATEWAY = "<endpoint_url>"; //Replace the endpoint_url with the url received from Aventus.
const api = new AvnApi(GATEWAY);

const avnRelayerAddress = "5Fb...yTh"; //Please, request from Aventus.
const nftOwnerAddress = "bDB...9MH"; //Your address on the Aventus network
const nftId = "0x1a3";

async function main() {
await api.init();

const result = await api.send.cancelListFiatNft(
// Returns a request id

(async () => {
await main();

You have now successfully submitted a transaction to the AVN to cancel your NFT.

Example Output


You can check the status of your transaction here using the returned request id.