Interface: IGenericTransactionCallbacks
Callbacks available for all SDK functions that interact with the contract
Hierarchy
IGenericTransactionCallbacks
↳
IReleaseTransactionCallbacks
↳
ISettlementApproveTransactionCallbacks
↳
ISettlementOfferTransactionCallbacks
↳
IChallengeTransactionCallbacks
Properties
broadcasted
• Optional
broadcasted: (payload
: any
) => void
Type declaration
▸ (payload
): void
When the transaction was broadcasted (provides txn hash and other relevant info)
Parameters
Name | Type |
---|---|
payload | any |
Returns
void
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
Defined in
confirmed
• Optional
confirmed: (payload
: any
) => void
Type declaration
▸ (payload
): void
When the transaction was minted (provides detailed information about the escrow after the update)
Parameters
Name | Type |
---|---|
payload | any |
Returns
void
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
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
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