After setting up your onramp provider, you can use the useFunding to prompt your user to fund their wallet.UseFunding exposes the following attributes:
Method
Type
Description
enabled
boolean
Weather funding is enable and ready to use
openFunding
function
Trigger the onramp UI with optional address and token attributes, returns a Promise that will resolve once the onramp UI is closed