Addresses
Learn how to create dedicated addresses for your customers to deposit stablecoins
Introduction
Dedicated Addresses is a crucial feature on Blockradar that enables you to create unique addresses for your customers. These addresses allow your customers to deposit stablecoins into your fintech app seamlessly.
When you create a dedicated address for a customer, they can use that single address to deposit stablecoins across multiple EVM-compatible blockchains.
For example, if you have Ethereum, Binance Smart Chain, Polygon, and Base master wallets created, each address you generate through any of these master wallets can be used to receive stablecoins on any of the supported blockchains and assets. This ensures that you don’t have to worry about your customer sending stablecoins to the wrong blockchain.
Additionally, when stablecoins are deposited into a particular address, the assets are automatically moved to the chain’s master wallet address.
isEvmCompatible: true
.Address Parameters Explained
When creating or updating an address, you can use the following optional parameters to customize its behavior:
Parameter | Type | Default | Description |
---|---|---|---|
disableAutoSweep | Boolean (Optional) | false | If set to true , automatic sweeping of funds from this address is disabled. |
enableGaslessWithdraw | Boolean (Optional) | false | If set to true , allows withdrawals without requiring the user to pay gas fees directly. |
metadata | Object (Optional) | null | Custom metadata you can attach to the address for your own reference or tracking purposes. |
name | String (Optional) | null | A human-readable name for the address, useful for identification in your dashboard or logs. |
showPrivateKey | Boolean (Optional) | false | If set to true , the private key for this address will be returned in the API response. Use with caution. |
The parameters disableAutoSweep
, enableGaslessWithdraw
, and showPrivateKey
will override the corresponding settings in the master wallet configuration for this specific address. This allows for granular control at the address level, regardless of the wallet’s default settings.
Notes:
- All these parameters are optional; you only need to include those relevant to your use case.
- Enabling
showPrivateKey
can expose sensitive information. Only use this in secure, trusted environments. - Be cautious with
showPrivateKey
exposing private keys can compromise security.
Create a Dedicated Address
You can generate a dedicated address for your customer using either the Blockradar dashboard or the API, depending on your workflow and integration needs.
1. Using the Dashboard
The Blockradar dashboard provides a simple, user-friendly interface for generating new addresses.
This screenshot demonstrates the process of generating a new address via the Blockradar dashboard. This method is ideal for manual address creation or for teams who prefer a graphical interface.
2. Using the API
For programmatic or automated address generation, you can use the Create Dedicated Address API.
This is useful for integrating address creation into your own applications or backend systems.
To create a dedicated address for a customer, send a POST
request to our Create Dedicated Address API.
Response
Address Whitelisting
This feature allows you to whitelist an external address to be monitored based on the wallet’s requirements.
This means that if you manage your own address generation, you can still use Blockradar to monitor deposits made to that address.
Response
Testing
Here is a list of places where you can get testnet assets to test with:
- Ethereum - Get test USDC here: Circle
- Binance Smart Chain - Get test USDT here: Binance
- Polygon - Get test USDC here: Circle
- Base - Get test USDC here: Circle
- Tron - Get test USDT here: Nileex
- Solana - Get test USDC here: Circle
- Optimism - Get test USDC here: Circle
- Arbitrum - Get test USDC here: Circle
- Celo - Get test USDC here: Circle
Happy hacking! ❤️