cancelCollectionOffer

Action for cancelling a collection offer.

Import

import { cancelCollectionOffer } from '@arkproject/core'

Usage

import { cancelCollectionOffer } from '@arkproject/core'
import { config, parameters } from './config'

await cancelCollectionOffer(config, {
  starknetAccount: sellerAccount,
  cancelInfo: {
    orderHash: '0x...',
    tokenAddress: '0x...',
  },
})

Parameters

starknetAccount

AccountInterface

The Starknet account used for the transaction.

cancelInfo

CancelInfo

Informations about the order to cancel, includes :

  • orderHash: bigint
  • tokenAddress: string