Skip to main content

Interface: IPayTransactionCallbacks

Callbacks specific to the initial escrow Payment

Hierarchy

Properties

broadcasted

Optional broadcasted: (data: IPayTransactionPayload) => void

Called when the transaction is broadcasted (includes payment details)

Type declaration

▸ (data): void

Parameters
NameType
dataIPayTransactionPayload
Returns

void

Overrides

IGenericTransactionCallbacks.broadcasted

Defined in

typing/index.ts:669


broadcasting

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

When the transaction is being broadcasted

Type declaration

▸ (payload?): void

Parameters
NameType
payload?any
Returns

void

Inherited from

IGenericTransactionCallbacks.broadcasting

Defined in

typing/index.ts:561


confirmed

Optional confirmed: (data: IPayTransactionPayload) => void

Called when the transaction is minted (includes payment details)

Type declaration

▸ (data): void

Parameters
NameType
dataIPayTransactionPayload
Returns

void

Overrides

IGenericTransactionCallbacks.confirmed

Defined in

typing/index.ts:671


connected

Optional connected: (address: string) => void

When the wallet is successfully connected

Type declaration

▸ (address): void

Parameters
NameType
addressstring
Returns

void

Inherited from

IGenericTransactionCallbacks.connected

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

void

Inherited from

IGenericTransactionCallbacks.connectingWallet

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

void

Inherited from

IGenericTransactionCallbacks.switchingNetwork

Defined in

typing/index.ts:558