@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
15 lines (14 loc) • 359 B
TypeScript
export declare const useOnramp: () => {
/**
* Whether onramp is enabled.
*/
enabled: boolean;
/**
* Opens the onramp modal.
*/
open: (props: {
address?: string | undefined;
token?: string | undefined;
onrampProvider: import("@dynamic-labs/sdk-api-core").OnrampProviders;
}) => Promise<void>;
};