Clusters
Create a Cluster
POST /v1/clusters
Create a cluster
HEADER Authorization: Bearer {AUTHKEY}
Example
curl --request POST \
--url https://api.clusters.xyz/v1/clusters \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer AUTHKEY'Response
{
"id": "0x000049d953f88ab10f1b2778275028894602c41bbe6ea42bf46695d4edc5b6d6",
}Cluster by ID
GET /v1/clusters/id/:id
Get the cluster from an id
id
ID of cluster
Example
Response
Cluster by Name
GET /v1/clusters/name/:name
Get the cluster from a name
name
Cluster name
Example
Response
Cluster ID by address
GET /v1/clusters/address/:address
Get the cluster from an id
address
Verified address of a cluster
Example
Response
Add wallets
POST /v1/clusters/wallets
Add wallets to the cluster the authenticated wallet is in
HEADER Authorization: Bearer {AUTHKEY}
body
{ address: string, name: string, isPrivate: boolean }[]
Example
Response
Generate wallet
POST /v1/clusters/generate/wallet
Generate a wallet in a cluster that the authenticated wallet is in
HEADER Authorization: Bearer {AUTHKEY}
body
{ address: string, name: string, isPrivate: boolean }[]
Example
Response
Update wallets
PUT /v1/clusters/wallets/names
Update wallets in a cluster that the authenticated wallet is in
HEADER Authorization: Bearer {AUTHKEY}
body
{ address: string, name: string }[]
Example
Response
Remove wallets
DELETE /v1/clusters/wallets
Remove an array of addresses from the cluster of the authenticated wallet
HEADER Authorization: Bearer {AUTHKEY}
body
string[]
Example
Response
Verify wallet
POST /v1/clusters/verify/:clusterId
Verify the authenticated wallet in a specific cluster
HEADER Authorization: Bearer {AUTHKEY}
clusterId
The cluster id you want to verify the wallet in
Example
Response
Last updated