Skip to content

Documentation / react-auth / TransactionUIOptions

Type alias: TransactionUIOptions

TransactionUIOptions: Object

UI customization object for additional transaction details. Will be shown in an expandable accordion in the Send Transaction screen.

Type declaration

action?

action?: string

Action that the user is taking when sending this transaction. This should be short (<4 words, e.g. 'Buy NFT'). Will be shown inside the transaction details accordion in Send Transaction screen.

actionDescription?

actionDescription?: string

Deprecated

Use title instead.

contractInfo?

contractInfo?: ContractUIOptions

If the transaction to be sent is a call to a smart contract, you may use this object to fill in additional details about the contract being called.

description?

description?: string

Deprecated

Use description in SendTransactionModalUIOptions instead.

title?

title?: string

Title for the transaction details accordion within the Send Transaction screen. Defaults to 'Details'.