Skip to main content

Interface: IChallengeTransactionCallbacks

Callbacks specific to sending a challenge

Hierarchy

Properties

broadcasted

Optional broadcasted: (data: IChallengeTransactionPayload) => void

Type declaration

▸ (data): void

Called when the transaction is broadcasted (includes txn hash)

Parameters
NameType
dataIChallengeTransactionPayload
Returns

void

Overrides

IGenericTransactionCallbacks.broadcasted

Defined in

typing/index.ts:778


broadcasting

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

Type declaration

▸ (payload?): void

When the transaction is being broadcasted

Parameters
NameType
payload?any
Returns

void

Inherited from

IGenericTransactionCallbacks.broadcasting

Defined in

typing/index.ts:599


confirmed

Optional confirmed: (data: IChallengeTransactionPayload) => void

Type declaration

▸ (data): void

Called when the transaction is minted (includes details of the escrow after the challenge)

Parameters
NameType
dataIChallengeTransactionPayload
Returns

void

Overrides

IGenericTransactionCallbacks.confirmed

Defined in

typing/index.ts:780


connected

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

Type declaration

▸ (payload?): void

When the wallet is successfully connected

Parameters
NameType
payload?any
Returns

void

Inherited from

IGenericTransactionCallbacks.connected

Defined in

typing/index.ts:593


connectingWallet

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

Type declaration

▸ (payload?): void

Triggered when the function attempts to connect to the wallet

Parameters
NameType
payload?any
Returns

void

Inherited from

IGenericTransactionCallbacks.connectingWallet

Defined in

typing/index.ts:590


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

void

Inherited from

IGenericTransactionCallbacks.switchingNetwork

Defined in

typing/index.ts:596