Skip to main content
POST
/
wallet
/
create
curl --request POST \
  --url https://api.depo.to/wallet/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "targetChain": "ethereum",
  "targetAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
  "targetAsset": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3"
}
'
{
  "groupId": {
    "id": "1234567890",
    "createdAt": "2021-01-01T00:00:00Z",
    "targetChain": "ethereum",
    "targetAddress": "0x742d...",
    "targetAsset": "0x12ab..."
  },
  "addresses": {
    "ethereum": "0x1234567890123456789012345678901234567890",
    "solana": "7K8nW2PQ9yXmKhJ5vL4tR6sU1oN3pM2qA8bC9dE0fG1h",
    "polygon": "0x9abcdef1234567890abcdef1234567890abcdef1",
    "bsc": "0xaaaabbbbccccddddeeeeffffgggghhhhiiiijjjj"
  },
  "transactions": [
    {
      "id": "123",
      "status": "completed",
      "amount": "100",
      "asset": "0x4c9edd5852cd905f086c759e8383e09bff1e68b3",
      "chain": "ethereum",
      "address": "0x1234..."
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key from depo.to dashboard

Body

application/json
targetChain
string
required

Target blockchain where funds should arrive

Example:

"ethereum"

targetAddress
string
required

Wallet address on the target chain

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

targetAsset
string | null

Target asset address (leave empty to receive the native asset of the chain)

Example:

"0x4c9edd5852cd905f086c759e8383e09bff1e68b3"

sponsoring
enum<string>
default:NONE

Fee sponsoring type

Available options:
ALL,
STABLES,
SAME_ASSET,
NONE
Example:

"NONE"

Response

Address group created successfully

groupId
object
addresses
object

Generated deposit addresses per chain

Example:
{
"ethereum": "0x1234567890123456789012345678901234567890",
"solana": "7K8nW2PQ9yXmKhJ5vL4tR6sU1oN3pM2qA8bC9dE0fG1h",
"polygon": "0x9abcdef1234567890abcdef1234567890abcdef1",
"bsc": "0xaaaabbbbccccddddeeeeffffgggghhhhiiiijjjj"
}
transactions
object[]

Transaction history (empty for new groups)