Skip to content

Documentation / react-auth / ContractUIOptions

Type alias: ContractUIOptions

ContractUIOptions: Object

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.

Type declaration

actionText?

actionText?: string

Deprecated

Use description in SendTransactionModalUIOptions instead.

imgAltText?

imgAltText?: string

Alt text for the image in the Send Transaction screen, if a valid imgUrl is set.

imgSize?

imgSize?: "sm" | "lg"

Size for the image in the Send Transaction screen, if a valid imgUrl is set.

imgUrl?

imgUrl?: string

URL for an image to show in the Send Transaction screen.

name?

name?: string

Name of smart contract being called.

url?

url?: string

URL with more information about the smart contract.