Managing Wallets

Add, update, or delete wallets

This endpoint is in beta and is likely to change. Reach out if you'd like to use this endpoint.

POST /v0.1/cluster/:name/update/wallets

Update wallets in your cluster

NameDescription

HEADER X-AUTH-KEY

add

{ name: string; address: string }[]

update

{ name: string; address: string }[]

remove

string[] (array of addresses)

Example

curl --request POST \
  --url https://api.clusters.xyz/v0.1/cluster/layerzero/update/wallets \
  --header 'Content-Type: application/json' \
  --header 'X-AUTH-KEY: eyJzaWduYXR1cmUiOiJhYmMxMjMiLCJzaWduaW5nRGF0ZSI6IjIwMjQtMDUtMTRUMTk6MDg6MjcuOTg1WiIsInR5cGUiOiJldm0iLCJ3YWxsZXQiOiIweDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAifQ=' \
  --data '{
  "add": [{
    "name": "hot",
    "address": "0x0000000000000000000000000000000000000000"
  }],
  "update": [],
  "remove": []
}'

Response

201

Last updated