For the complete documentation index, see llms.txt. This page is also available as Markdown.

Registration

Check availability

Check the availability of one or more clusters

GET /v0.1/register/check/:name

POST /v0.1/register/check

Name
Description

BODY

string[] - an array of names to check

Example

# Single check
curl https://api.clusters.xyz/v0.1/register/check/namethatdoesntexist

# Bulk Check
curl --request POST \
  --url https://api.clusters.xyz/v0.1/register/check \
  --header 'Content-Type: application/json' \
  --data '["foobar", "namethatdoesntexist"]'

Response

{
  "name": "namethatdoesntexist",
  "isAvailable": true
}
[
  {
    "name": "foobar",
    "isAvailable": false
  },
  {
    "name": "namethatdoesntexist",
    "isAvailable": true
  }
]

Register Transaction Data

POST /v0.1/register

Get the transaction data for registering a cluster so that a user can sign it

Name
Description

network

sender

The sender's address (EVM or Solana)

names

{ name: string; bidAmountWei?: string }[] bidAmountWei (optional) is always in ETH

referralAddress (optional)

An address that would get credit for this registration (EVM or Solana)

Example

Response

Names unavailable

Bridge Failure

Note: Make sure the sender has enough funds to cover the transaction or the endpoint will result in an error from the bridge.

Example

Response

Names unavailable

Bridge Failure

Example

Response

Names unavailable

Bridge Failure


Trasaction Status

Checks the status of a transaction

GET /v0.1/register/tx/:tx

For now, if you registered more than one name in a transaction, it'll only give you the status of the first name. To enable testnet querying on Sepolia, add ?testnet=true to the end of the URL

Example

Response

Last updated