Appearance
Documentation / react-auth / SendTransactionModalUIOptions
Type alias: SendTransactionModalUIOptions
SendTransactionModalUIOptions:
Object
UI customization object for the embedded wallet's Send Transaction screen
Type declaration
buttonText?
buttonText?:
string
Text to show on CTA button for Send Transaction screen. Defaults to 'Submit'.
description?
description?:
string
Description of the transaction being sent.
header?
header?:
string
Text to display at top of Send Transaction screen. Defaults to 'Review transaction' or 'Send (insert token symbol)' if transaction is a simple token transfer.
modalTitle?
modalTitle?:
string
Deprecated
Use header
instead.
senderInfo?
senderInfo?:
ContractUIOptions
Deprecated
Use transactionInfo.contractInfo
instead.
showWalletUIs?
showWalletUIs?:
boolean
Whether or not to show wallet UIs for this action. Defaults to the wallet UI setting enabled for your app in the Privy Dashboard, or showWalletUIs
in the embeddedWallets
config.
successDescription?
successDescription?:
string
Description of the transaction Success screen. Defaults to 'You're all set.'
successHeader?
successHeader?:
string
Text to display at top of Send Transaction Success screen. Defaults to 'Transaction complete!' if transaction is successful.
title?
title?:
string
Deprecated
Use header
instead.
transactionInfo?
transactionInfo?:
TransactionUIOptions
Details about the transaction that the user will send. Will be shown in an accordion in the Send Transaction screen.