Documentation for Unreal SDK overview for the Sequence infrastructure stack for web3 gaming.
If you wish for your users to be able to pay for things in your game using cryptocurrencies, you’ll find our Transak integration to be very helpful.
Transak allows users to purchase a variety of cryptocurrencies on a variety of blockchains using their credit card using a user friendly web interface. Learn more about Transak here.
To generate a link for your user’s Transak on-ramping.
Pay Onramp Link
Pay Onramp Link
UTransakOnRamp* Transak =UTransakOnRamp::Init("UserWalletAddress");FString OnRampLink = Transak->GetTransakLink("USD","100","BTC","network1,network2",false);// You can tailor the user experience by providing different default values for the parameters.
Wallet Address (FString)
The address of the user who receives the purchased amount of cryptocurrency.
Fiat Currency (FString)
The default fiat currency displayed in the On-Ramp modal.
Fiat Amount (FString)
The default fiat amount displayed in the On-Ramp modal.
Crypto Currency (FString)
The cryptocurrency the user is allowed to purchase.
Networks (FString)
List of networks the user can select, separated by a comma. For example: ‘ethereum, mainnet’.
Disable Wallet Address Form (Boolean)
Set this value to ‘false’ to allow users to edit their wallet address.
Return Type (FString)
The On-Ramp link used to open in a WebView or external Web Browser.
To generate a link for your user’s Transak on-ramping:
Pay Open Onramp
Pay Open Onramp
UTransakOnRamp* Transak =UTransakOnRamp::Init("UserWalletAddress");Transak->OpenTransakLink("USD","100","BTC","network1,network2",false);// This will automatically open the generated Transak On-Ramp link in the default web browser.
Wallet Address (FString)
The address of the user who receives the purchased amount of cryptocurrency.
Fiat Currency (FString)
The default fiat currency displayed in the On-Ramp modal.
Fiat Amount (FString)
The default fiat amount displayed in the On-Ramp modal.
Crypto Currency (FString)
The cryptocurrency the user is allowed to purchase.
Networks (FString)
List of networks the user can select, separated by a comma. For example: ‘ethereum, mainnet’.
Disable Wallet Address Form (Boolean)
Set this value to ‘false’ to allow users to edit their wallet address.