Widget Parameters

hen using the Bridge widget, you can pass in the following parameters to reduce user input, which will simplify the user's operation proces.
Example of how to pass the required details can be found on the previous page.

Here we will explain what each input field is for and how the function for each currencies:

ParameterOnramp RequestOfframp Request
keyPublic Key of the business which can be gottten from their bridge dashbaord.
*required.
Public Key of the business which can be gottten from their bridge dashbaord. *required
typeconstant: "buy"constant: "sell".
amountAmount in (USD or in NGN) that the users wishes to onramp to get asset (USDC).
*required.
Amount in (USDC) that the users wishes to onramp to get fiat (USD or NGN).
*required.
networkwallet_address network to recieve asset. We presently support 4 networks:
(polygon, solana, stellar, and avalanche)
Not Required
wallet_addressUser's Wallet address of receive asset based on netowrk selectedNot Required
currencyCurrency in which users wants to pay for asset.
Right now we support 2 payment currencies; (NGN & USD).
*required
Currency in which users wants to offramp to fiat. Right now we support 2 payment currencies; (NGN & USD).
*required.