Skip to main content

offers.handler

@bosonprotocol/core-sdk / Exports / offers / handler

Namespace: handler

offers.handler

Table of contents

Functions

Functions

createOffer

createOffer(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.metadataStorage?MetadataStorage
args.offerToCreateCreateOfferArgs
args.theGraphStorage?MetadataStorage
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/offers/handler.ts:18


createOfferBatch

createOfferBatch(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.metadataStorage?MetadataStorage
args.offersToCreateCreateOfferArgs[]
args.theGraphStorage?MetadataStorage
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/offers/handler.ts:41


voidOffer

voidOffer(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.offerIdBigNumberish
args.subgraphUrlstring
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/offers/handler.ts:70


voidOfferBatch

voidOfferBatch(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.offerIdsBigNumberish[]
args.subgraphUrlstring
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/offers/handler.ts:87