Registration
getNameAvailability(names)
Check the availability of multiple cluster names
const names = ["foobar", "namethatdoesntexist"];
const cluster = await clusters.getNameAvailability(names);Response
[
{
"name": "foobar",
"isAvailable": false
},
{
"name": "namethatdoesntexist",
"isAvailable": true
}
]getRegistrationTransaction(names, sender, network)
Get the transaction data for registering a cluster so that a user can sign it
Name
Description
network
sender
The sender's address
names
{ name: string; amountWei?: string }[]
bidAmountWei (optional) is always in ETH and defaults to 0.01 ETH
referralClusterId
(optional)
The cluster id that is referring this registration
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
getTransactionStatus(tx)
Get the status of a specific transaction hash.
Example
Response
Last updated