Skip to main content
POST
/
v1
/
sandbox
/
sub-wallet
/
address
Sandbox Generate Sub-wallet Address
curl --request POST \
  --url https://api.openxswitch.com/v1/sandbox/sub-wallet/address \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subWalletId": "<string>",
  "coin": "<string>",
  "chain": "<string>"
}
'
{
  "success": true,
  "data": {
    "id": "34303043....",
    "coin": "Bitcoin",
    "chain": "Ethereum",
    "network": "Mainnet",
    "address": "0x123456789abcdef",
    "workspaceId": "60f7d4b5b4d5c909a85b8d7e",
    "createdAt": null,
    "walletId": "63e1b8c2f18e310bb11f8a9c",
    "tag": "Memo123"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.openxswitch.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
subWalletId
string
required

The ID of the sub-wallet for which the address is being generated

coin
string
required

The token name. Only rechargeable currencies are accepted.

Refer to the Get Recharge Currencies endpoint for the list of supported currencies.

chain
string
required

The blockchain network on which the address is being generated

Response

success
boolean
required
Example:

true

data
object
required