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