exchanges.handler
@bosonprotocol/core-sdk / Exports / exchanges / handler
Namespace: handler
exchanges.handler
Table of contents
Functions
- cancelVoucher
- commitToOffer
- completeExchange
- completeExchangeBatch
- expireVoucher
- redeemVoucher
- revokeVoucher
Functions
cancelVoucher
▸ cancelVoucher(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { exchangeId : BigNumberish } |
Returns
Promise
<TransactionResponse
>
Defined in
commitToOffer
▸ commitToOffer(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { buyer : string ; offerId : BigNumberish } |
Returns
Promise
<TransactionResponse
>
Defined in
completeExchange
▸ completeExchange(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { exchangeId : BigNumberish } |
Returns
Promise
<TransactionResponse
>
Defined in
completeExchangeBatch
▸ completeExchangeBatch(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { exchangeIds : BigNumberish [] } |
Returns
Promise
<TransactionResponse
>
Defined in
expireVoucher
▸ expireVoucher(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { exchangeId : BigNumberish } |
Returns
Promise
<TransactionResponse
>
Defined in
redeemVoucher
▸ redeemVoucher(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { exchangeId : BigNumberish } |
Returns
Promise
<TransactionResponse
>
Defined in
revokeVoucher
▸ revokeVoucher(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | BaseExchangeHandlerArgs & { exchangeId : BigNumberish } |
Returns
Promise
<TransactionResponse
>