Interface: IGenericTransactionCallbacks
Callbacks available for all SDK functions that interact with the contract
Hierarchy
-
IGenericTransactionCallbacks↳
IReleaseTransactionCallbacks↳
ISettlementApproveTransactionCallbacks↳
ISettlementOfferTransactionCallbacks↳
IChallengeTransactionCallbacks↳
IArbitrateTransactionCallbacks↳
IApproveArbitrationTransactionCallbacks
Properties
broadcasted
• Optional broadcasted: (payload: any) => void
When the transaction was broadcasted (provides txn hash and other relevant info)
Type declaration
▸ (payload): void
Parameters
| Name | Type |
|---|---|
payload | any |
Returns
void
Defined in
typing/index.ts:564
broadcasting
• Optional broadcasting: (payload?: any) => void
When the transaction is being broadcasted
Type declaration
▸ (payload?): void
Parameters
| Name | Type |
|---|---|
payload? | any |
Returns
void
Defined in
typing/index.ts:561
confirmed
• Optional confirmed: (payload: any) => void
When the transaction was minted (provides detailed information about the escrow after the update)
Type declaration
▸ (payload): void
Parameters
| Name | Type |
|---|---|
payload | any |
Returns
void
Defined in
typing/index.ts:567
connected
• Optional connected: (address: string) => void
When the wallet is successfully connected
Type declaration
▸ (address): void
Parameters
| Name | Type |
|---|---|
address | string |
Returns
void
Defined in
typing/index.ts:555
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
Defined in
typing/index.ts:552
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
Defined in
typing/index.ts:558