SDK Quickstart
SDK Quickstart
We have a typescript SDK for users who prefer to interact with our api through typesafe methods.
Install the SDK through npm
npm install namestone-sdk
Initialize the Namestone client.
import NameStone from "namestone-sdk";

const ns = new NameStone("YOUR_API_KEY_HERE");
Then call with the relevant methods.
const domain = "testbrand.eth";

async function getData() {
  const data = await ns.getNames({ domain: domain });
  console.log(data);
}

getData();
Each of our api pages includes an SDK example and you can visit the SDK github for more information.