Communities
Check availability
Check the availability of a single community cluster
GET /check/availability/:clusterName/:walletName
Example
curl https://api.clusters.xyz/v0.1/community/check/availability/mycommunity/foobar?testnet=trueResponse
{
"name": "mycommunity/foobar",
"isAvailable": true
}Check requirements
Check if the community requirements for a specific wallet has been met for registration
GET /check/requirements/:clusterName?walletAddress=:walletName
Example
Response
Registration
POST /v0.1/community/register
Either registers a free community clusters OR returns transaction data for registrations that require payment.
HEADER (bearer) Authorization
clusterName
The cluster name of the community being registered
walletName
The wallet name being registered under the community
chainId
(optional)
If the price of a community cluster is USDC, a chainId should be passed so that the correct contracts are used when returning transaction data. It will default to mainnet.
walletAddress
(optional)
If the registration sign up's are restricted to community owners, a wallet address needs to be included to know who to register the name to.
Example
Response
Example
Response
Usage
Example
Response
Usage
Testnet only - We are in beta only phase of community clusters. You'll receive this error if testnet is not defined
Community not found - If the specific cluster name is not a community
Not a verified user - If sign ups are restricted to community owners and the auth key is not from an owner
No wallet address found - If sign ups are restricted to community owners and no wallet address was included in the body of the request
Registration has not started yet - If sign ups for this community have not started yet
Name is not available - If the name is taken
Requirements have not been met - If the user registering the name has not met the requirements
Invalid chain id - If the chain submitted in the request is invalid
Transaction Status
Checks the status of a transaction
GET /v0.1/community/tx/:tx
Example
Response
Last updated