SDK Reference - On-Ramp
Structs
FImmutableOnRampQueryParams
Represents the query parameters for generating an on-ramp URL.
FStringDefaultCryptoCurrencyThe cryptocurrency to purchase (default: "IMX").FStringDefaultFiatAmountThe amount of fiat currency to spend when purchasing cryptocurrency (default: "50").FStringDefaultFiatCurrencyThe fiat currency to use (default: "USD").FStringCryptoCurrencyListA comma-separated list of available cryptocurrencies for purchase (default: "imx,eth,usdc").
Static Functions
UImmutableMarketplaceLinkFactory::GenerateOnRampLink
Generates a URL for the on-ramp flow.
Method parameters
Specifies the environment (Sandbox or Production).
The user's email address, pre-filled in the on-ramp flow.
The user's wallet address, where tokens will be sent.
The query parameters for the on-ramp flow. Uses default values if not specified.
Additional query parameters. See Transak Query Parameters for possible fields.
If ExtraQueryParams includes any fields that are already defined in QueryParams, the values in QueryParams will take precedence.
For example, if ExtraQueryParams contains "defaultFiatAmount", it will be ignored and the value from QueryParams.DefaultFiatAmount will be used instead.
Returns
The generated on-ramp URL.