Skip to main content

Interface: IGenericTransactionCallbacks

Callbacks available for all SDK functions that interact with the contract

Hierarchy

Properties

broadcasted

Optional broadcasted: (payload: any) => void

When the transaction was broadcasted (provides txn hash and other relevant info)

Type declaration

▸ (payload): void

Parameters
NameType
payloadany
Returns

void

Defined in

typing/index.ts:562


broadcasting

Optional broadcasting: (payload?: any) => void

When the transaction is being broadcasted

Type declaration

▸ (payload?): void

Parameters
NameType
payload?any
Returns

void

Defined in

typing/index.ts:559


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
NameType
payloadany
Returns

void

Defined in

typing/index.ts:565


connected

Optional connected: (address: string) => void

When the wallet is successfully connected

Type declaration

▸ (address): void

Parameters
NameType
addressstring
Returns

void

Defined in

typing/index.ts:553


connectingWallet

Optional connectingWallet: (payload?: any) => void

Triggered when the function attempts to connect to the wallet

Type declaration

▸ (payload?): void

Parameters
NameType
payload?any
Returns

void

Defined in

typing/index.ts:550


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
NameType
payload?any
Returns

void

Defined in

typing/index.ts:556