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
  • Get name
  • Bulk get names
  1. Getting started
  2. API
  3. v0.1 (Deprecated)

Address → Cluster

To enable testnet querying on Sepolia, add ?testnet=true to the end of the URL

Get name

GET /v0.1/name/:address

Get the cluster and wallet name based on an address

Name
Description

address

EVM or Solana address

Example

https://api.clusters.xyz/v0.1/name/0x5755d1dcea21caa687339c305d143e6e78f96adf

Response

clusters/main
null

Bulk get names

POST /v0.1/name/addresses

Get the cluster and wallet name based on multiple addresses

Name
Description

POST body

Array of EVM and or Solana addresses

Example

curl -X POST \
  'http://api.clusters.xyz/v0.1/name/addresses' \
  --data-raw '[
  "0x5755d1dcea21caa687339c305d143e6e78f96adf",
  "0xccdead94e8cf17de32044d9701c4f5668ad0bef9"
]'

Response

Any addresses not found will have name: null

[
  {
    "address": "0x5755d1dcea21caa687339c305d143e6e78f96adf",
    "name": "clusters/main"
  },
  {
    "address": "0xccdead94e8cf17de32044d9701c4f5668ad0bef9",
    "name": "layerzero/main"
  }
]
[]

Previousv0.1 (Deprecated)NextCluster → Address

Last updated 10 months ago