Skip to main content
POST
/
gateway
/
wallets
/
create
Create Wallet
curl --request POST \
  --url http://localhost:8000/gateway/wallets/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "chain": "<string>",
  "set_default": true
}
'
{}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Request to create a new wallet in Gateway

chain
string
required

Blockchain chain (e.g., 'solana', 'ethereum')

set_default
boolean
default:true

Set as default wallet for this chain

Response

Successful Response

The response is of type Response Create Wallet Gateway Wallets Create Post · object.