Skip to main content
POST
/
api
/
v0
/
wallets
Create a new wallet
curl --request POST \
  --url https://api.brl.xyz/api/v0/wallets \
  --header 'Content-Type: application/json' \
  --data '
{
  "wallet-name": "My Trading Wallet",
  "chain": "eth-base",
  "metadata": {
    "label": "treasury"
  },
  "ui-enabled": false
}
'
{
  "wallet": {
    "address": "0x1234567890abcdef1234567890abcdef12345678",
    "assets": [
      "eth-base/brlv",
      "eth-base/wbrly"
    ]
  }
}

Body

application/json
wallet-name
string
required

Name for the new wallet

Example:

"My Trading Wallet"

chain
enum<string>
required

Blockchain that this wallet will be supported on

Available options:
eth-mainnet,
eth-base
Example:

"eth-base"

metadata
object

Custom metadata to associate with the wallet

Example:
{ "label": "treasury" }
ui-enabled
boolean

Whether this wallet should be visible in the UI (defaults to false)

Example:

false

Response

Wallet created successfully

wallet
object
required