Registration
Check availability
Check the availability of one or more clusters
GET /v0.1/register/check/:name
POST /v0.1/register/check
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
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
Example
Response
Names unavailable
Bridge Failure
Example
Response
Notice when using solana, transactionData is an array of transactions instead of a single object on other networks. This is because only one name is supported per transaction at the moment when using solana.
Names unavailable
Bridge Failure
Trasaction Status
Checks the status of a transaction
GET /v0.1/register/tx/:tx
Example
Response
Last updated