Method | Type | Description |
---|---|---|
enabled | boolean | Whether some onramp method is enabled and ready to use. |
open | (props: { address?: string; token?: string; onrampProvider: OnrampProviders }) => void | Trigger the onramp UI with required onrampProvider attribute and optional address and token attributes, returns a Promise that will resolve once the onramp UI is closed |