Authentication

Sign up and log in through our APIs to seamlessly register your organisation

API URL

URL
Environment

For ETH, please follow a seperate authentication guide here

Sign up

POST /api/public/register

Create an account for your organization with Luganodes. Please contact [email protected] in order to approve your organization and receive an API key

Request Body

Name
Type
Description

orgName*

String

Organization Name

email*

String

Organization email

password*

String

Password for organization account

allowedAddresses*

Object

Object containing whitelisted addresses

{
    "success": true,
    "pendingUser": {
        "id": "685268e0eee306e885c6ee88",
        "orgName": "Test Organization",
        "email": "[email protected]",
        "allowedAddresses": {
            "ethereum": [
                "0x742d35Cc6634C0532925a3b8D03C29f33da7A0d1"
            ],
            "bitcoin": [
                "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
            ]
        },
        "createdAt": "2025-06-18T07:21:04.525Z"
    },
    "message": "User registration submitted successfully. Awaiting admin approval."
}

Sample Request

curl --location '{{url}}/api/public/register' \
--header 'Content-Type: application/json' \
--data-raw '{
  "orgName": "Test Organization",
  "email": "[email protected]",
  "password": "TestPass123!@#",
  "allowedAddresses": {
    "ethereum": ["0x742d35C36634C0532925a3b8D03C29f33da7A0d1"],
    "bitcoin": ["1A1zP1eP5aGefi2DMPTfTL5SLmv7DivfNa"]
  }
}'

Response Object

Property
Description
Type

success

API response status

Boolean

message

Request response message

String

pendingUser

Object containing api key

Object

Pending User Object

Property
Description
Type

id

Organization ID

String

orgName

Organization Name

String

email

Organization email

String

createdAt

Time of account creation

String

allowedAddress

Object

Object containing allowed address for chains - ethereum, bitcoin, sui, polygon, solana

Generate API key

POST /api/public/generate-api-key

Send a request to generate a new API key. Your current API key will be revoked.

Headers

Name
Type
Description

x-api-key*

String

API Key associated with organization

{
    "success": true,
    "apiKey": "newapikey",
    "message": "New API key generated successfully. Previous API key has been revoked."
}

Sample Request

curl --location --request POST '{{url}}/api/public/generate-api-key' \
--header 'Content-Type: application/json' \
--header 'x-api-key: sampleapikey'

Response Object

Property
Description
Type

success

API response status

Boolean

message

Request response message

String

apiKey

New API key

String

Last updated