Clusters
  • Introduction
    • Overview
    • Concepts
      • Cluster Name
      • Wallet Name
    • Features
      • Communities
      • Multichain
      • Wallet Bundles
      • Antisquatting
      • Wallet Generation
      • Selective Wallet Sharing
  • Getting started
    • Javascript
      • Authentication
      • Clusters
      • Address → Cluster Name
      • Cluster Name → Address
      • Registration
        • Communities
      • Event Indexing
    • API
      • v1
        • Authentication
        • Clusters
        • Address → Cluster Name
        • Cluster Name → Address
        • Registration
          • Communities
        • Event Indexing
      • v0.1 (Deprecated)
        • Address → Cluster
        • Cluster → Address
        • Cluster → Metadata
        • Registration
        • Managing Wallets
  • Resources
    • Smart Contracts
    • Address Types
    • Using Clusters for ETH->SOL Airdrops
  • Integration Guides
    • Convert hex address to clusters name
    • Registering a name
      • Ethereum Networks
      • Solana
    • Whitelabel Communities Registration Flow
Powered by GitBook
On this page
  1. Getting started
  2. API
  3. v0.1 (Deprecated)

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

Name
Description

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
500

PreviousRegistrationNextSmart Contracts

Last updated 1 year ago

Authentication key from wallet