Skip to content

API ReferenceReact componentsInterface

UnconfirmedTransactionProps

Beta

Props for UnconfirmedTransaction.

Properties

address?

optional address?: string;

Beta

The account that sent the transaction, for the explorer link. Read it when the send starts and keep that value: the user can switch accounts while this screen is up, and the link has to keep pointing at the sender.


className?

optional className?: string;

Beta


closeLabel?

optional closeLabel?: string;

Beta

Label for the onClose button. Defaults to Close. Name where the user lands when that is somewhere specific, such as Back to the form.


explorer?

optional explorer?: object;

Beta

The block explorer for the connected chain. The account link renders only when both this and address are given.

name

name: string;

url

url: string;

onClose?

optional onClose?: () => void;

Beta

Leave without retrying. Omit it where there is nowhere to leave to.

Returns

void


onRetry

onRetry: () => void;

Beta

The user has checked, and the transaction did not go through.

Returns

void


retryEffect?

optional retryEffect?: string;

Beta

What a repeat does if the first send went through, phrased to complete “trying again will …”. When set, the retry is gated behind a confirmation; when absent, a repeat is harmless and the retry is immediate.


step

step: string;

Beta

The step whose send outcome is unknown, named as the transaction list showed it. getUnconfirmedSend derives it from a settlement.