The props for the SendSolanaTransactionButton component.
The props for the SendSolanaTransactionButton component.
SendSolanaTransactionButtonProps
The Solana account to send the transaction from.
The network to send the transaction on.
OptionalonError?: (error: Error | APIError) => voidA function to call when the transaction errors.
OptionalonSuccess?: (signature: string) => voidA function to call when the transaction is successful.
OptionalpendingLabel?: ReactNodeThe label to show to screen readers when the transaction is pending.
The base64 encoded transaction to send.
Optionalvariant?: ButtonVariantThe variant of the button.
The rendered component.
A button that signs and sends a Solana transaction.