The props for the SendSolanaTransactionButton component.
The props for the SendSolanaTransactionButton component.
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.
The base64 encoded transaction to send.
Optionalsize?: ButtonSizeThe size of the button. Defaults to "md".
OptionalisPending?: booleanWhether the button state is pending.
OptionalasChild?: booleanSet to true to use a custom element or component in place of the default button element.
OptionalfullWidth?: booleanWhether the button should be full width.
OptionalpendingLabel?: ReactNodeA label to render when the button state is pending.
Optionalvariant?: ButtonVariantThe variant of the button. Defaults to "primary".
The rendered component.
A button that signs and sends a Solana transaction.