Skip to main content
PUT
/
api
/
v1
/
auth
/
wallet
/
id
/
{id}
/
set-default-network
Set wallet as default for network
curl --request PUT \
  --url https://crypto.westminister.tech/api/v1/auth/wallet/id/{id}/set-default-network \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "383f20af-5960-4374-a5c3-b7566ea8f771",
  "network": "ethereum"
}
'
{
  "message": "Default wallet for network set successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Wallet ID.

Body

application/json
user_id
string<uuid>
required
network
enum<string>
required
Available options:
ethereum,
tron

Response

200 - application/json

Default wallet for network set

message
string