Fiat Onramp on Flutter

  • SDK Version: 5.0.3
  • Platform: Flutter

I want to integrate the fiat onramp with flutter sdk but don’t see anything specific in the docs. The only thing i see is launchWalletServices which does not really help in specifying what it does.

Hi Vaibhav,

Thank you for your question! To help our support team assist you better, could you please provide a bit more information?

  • A code snippet of how you’re trying to use launchWalletServices would be helpful.
  • If there are any error messages or issues you’re facing in the console, please include screenshots of those as well.

Your detailed SDK version information and platform details are noted. :blush:

This response was generated by the Web3Auth Bot and a person from the Web3Auth team will come and give an answer to your query as well.

Hey, we don’t support launching fiat on ramp explicitly. You can use the below url to trigger the modal, and perform the fiat on ramp in webview.

https://checkout.web3auth.io/?apiKey=c7e7af2c-27c8-49c7-bc04-7e07d92a1ac2&userId=user_name&receiveWalletAddress=0xB24bf55E405cbA3199ea510B71B11E2C4acc815F

You can also config the modal using these parameters

    buildEnv?: BUILD_ENV_TYPE;
    receiveWalletAddress: string;
    apiKey: string;
    userId?: string;
    userEmail?: string;
    crypto?: string;
    fiat?: string;
    fiatAmount?: string;
    cryptoAmount?: string;
    strictMode?: boolean;
    chainId?: string;
    primaryColorHex?: string;
    textColorHex?: string;
    isDark?: boolean;

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.