Properties
Optional
onButtonClick
onButtonClick?: ((props?) => void)
Type declaration
- (props?): void
Parameters
Optional
props: {
type: "next_step" | "skip_step" | "step_label" | "connect_wallet" | "switch_network" | "invoke_transaction" | "back_transactions" | "success_button" | "superfluid_dashboard" | "retry_gas_estimation" | "force_invoke_transaction" | "skip_to_next" | "copy_account_address" | "view_transaction_on_block_explorer";
}type: "next_step" | "skip_step" | "step_label" | "connect_wallet" | "switch_network" | "invoke_transaction" | "back_transactions" | "success_button" | "superfluid_dashboard" | "retry_gas_estimation" | "force_invoke_transaction" | "skip_to_next" | "copy_account_address" | "view_transaction_on_block_explorer"
Returns void
Optional
onPaymentOptionUpdate
onPaymentOptionUpdate?: ((paymentOption?) => void)
Type declaration
- (paymentOption?): void
Returns void
Optional
onPersonalDataUpdate
onPersonalDataUpdate?: ((props?) => void)
Type declaration
- (props?): void
Parameters
Optional
props: {
data?: Record<string, string>;
}Optional
data?: Record<string, string>
Returns void
Optional
onRouteChange
onRouteChange?: ((props?) => void)
Type declaration
- (props?): void
Parameters
Optional
props: {
data?: Record<string, string>;
route: "transactions" | "step_payment_option" | "step_wrap" | "step_review" | "step_personal_data" | "success_summary";
}Optional
data?: Record<string, string>
route: "transactions" | "step_payment_option" | "step_wrap" | "step_review" | "step_personal_data" | "success_summary"
Returns void
Optional
onSuccess
onSuccess?: (() => void)
Optional
onSuccessButtonClick
onSuccessButtonClick?: (() => void)
Optional
onTransactionSent
onTransactionSent?: ((props?) => void)
Type declaration
- (props?): void
Parameters
Optional
props: {
functionName?: "createFlow" | "deleteFlow" | "grantPermissions" | "revokePermissions" | "setFlowrate" | "setFlowrateFrom" | "updateFlow" | "updateFlowOperatorPermissions";
hash?: `0x${string}`;
}Optional
functionName?: "createFlow" | "deleteFlow" | "grantPermissions" | "revokePermissions" | "setFlowrate" | "setFlowrateFrom" | "updateFlow" | "updateFlowOperatorPermissions"
Optional
hash?: `0x${string}`
Returns void
A set of non-blocking callback functions that are triggered in response to the widget events.
Example