Cancel Listing - tx

Cancel a 𝔉rc20 token listing

This transaction does not need to inscribe, so it does not include the cost of inscriptions.

Transaction parameters:




ListingID: the unique listing id in user's storefront. You can get the listingId by querying the marketplace

Transaction code example:

import txUserCancelListing from "@fixes/contracts/transactions/marketplace/user-cancel-listing.cdc?raw";

async function userCancelListing(
  listingId: string
) {
  const txid = await flow.sendTransaction(txUserCancelListing, (arg, t) => [
    arg(listingId, t.UInt64),
  return txid;

Transaction source code

Last updated