offers.handler
@bosonprotocol/core-sdk / Exports / offers / handler
Namespace: handler
offers.handler
Table of contents
Functions
Functions
createOffer
▸ createOffer(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.metadataStorage? | MetadataStorage |
args.offerToCreate | CreateOfferArgs |
args.theGraphStorage? | MetadataStorage |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
createOfferBatch
▸ createOfferBatch(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.metadataStorage? | MetadataStorage |
args.offersToCreate | CreateOfferArgs [] |
args.theGraphStorage? | MetadataStorage |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
voidOffer
▸ voidOffer(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.offerId | BigNumberish |
args.subgraphUrl | string |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
voidOfferBatch
▸ voidOfferBatch(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.offerIds | BigNumberish [] |
args.subgraphUrl | string |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>