Interface: ISettlementOfferTransactionCallbacks
Callbacks specific for settlement offer
Hierarchy
-
↳
ISettlementOfferTransactionCallbacks
Properties
broadcasted
• Optional
broadcasted: (data
: ISettlementTransactionPayload
) => void
Called when the transaction is broadcasted (includes details about the offer)
Type declaration
▸ (data
): void
Parameters
Name | Type |
---|---|
data | ISettlementTransactionPayload |
Returns
void
Overrides
IGenericTransactionCallbacks.broadcasted
Defined in
broadcasting
• Optional
broadcasting: (payload?
: any
) => void
When the transaction is being broadcasted
Type declaration
▸ (payload?
): void
Parameters
Name | Type |
---|---|
payload? | any |
Returns
void
Inherited from
IGenericTransactionCallbacks.broadcasting
Defined in
confirmed
• Optional
confirmed: (data
: OfferSettlementParsedPayload
) => void
Called when the transaction is minted (includes details about the escrow with the offer)
Type declaration
▸ (data
): void
Parameters
Name | Type |
---|---|
data | OfferSettlementParsedPayload |
Returns
void
Overrides
IGenericTransactionCallbacks.confirmed
Defined in
connected
• Optional
connected: (address
: string
) => void
When the wallet is successfully connected
Type declaration
▸ (address
): void
Parameters
Name | Type |
---|---|
address | string |
Returns
void
Inherited from
IGenericTransactionCallbacks.connected
Defined in
connectingWallet
• Optional
connectingWallet: (payload?
: any
) => void
Triggered when the function attempts to connect to the wallet
Type declaration
▸ (payload?
): void
Parameters
Name | Type |
---|---|
payload? | any |
Returns
void
Inherited from
IGenericTransactionCallbacks.connectingWallet
Defined in
switchingNetwork
• Optional
switchingNetwork: (payload?
: any
) => void
If the user is not connected to the default network and is being asked to switch by the global configuration
Type declaration
▸ (payload?
): void
Parameters
Name | Type |
---|---|
payload? | any |
Returns
void
Inherited from
IGenericTransactionCallbacks.switchingNetwork