Authentication

Sign up and manage API keys through our APIs to seamlessly manage your stake with us!

Sign up

POST /user/signup

Create an account for your organization with Luganodes. Please contact [email protected] in order to approve your organisation and receive an API key once you've signed up using this endpoint.

Request Body

{
  "email": "[email protected]",
  "password": "TestPass123",
  "org": "Test Organization",
  "scope": {
    "sui": {
      "validator_addresses": ["0x7e254f0f55e24b8a6995567241618f750d0d94f2cf49b36703869779d2ee4327"],
      "delegator_addresses": ["0xfaiojf923h2i.....", "0x329hipnasfnweufaw....."]
    }
  }
}
Name
Type
Description

email*

String

Organization email

password*

String

Password for organization account

org*

String

Organization Name

scope*

Object

Object containing whitelisted addresses

Note: If you are not sure what needs to be added as a scope, apply with an empty scope object and get in touch with our team at [email protected]

Sample Request


Create API key

POST /user/api-keys

Send a request to generate a new API key.

Headers

Name
Type
Description

Authorization*

Basic Auth

Base64 encoded email:password

Request Body

Name
Type
Description

label*

String

API Key Label

Sample Request


List API keys

GET /user/api-keys

List all currently active API Keys.

Headers

Name
Type
Description

Authorization*

Basic Auth

Base64 encoded email:password

Sample Request


Revoke API key

DEL /user/api-keys/{{keyId}}

Revoke an API Key

Headers

Name
Type
Description

Authorization*

Basic Auth

Base64 encoded email:password

If you receive a 204 No Content status, it means that the key has successfully been revoked.

Sample Request


Last updated