Generating Addresses

Address Generation Objective:

Enable platforms to manage multiple deposits through a single wallet. This API produces various addresses, each assignable to distinct users.

🚧

Usage Scope:

Exclusive to deposit wallets.

Deciphering LMNL's Chain Path:

LMNL adopts a numeric index for its chain path. Take "path":"m/0/0" as an instance; we only focus on the last index, represented as "m/0/{index_value}". The initial (0th) path is dedicated to the deposit wallet address. Paths that follow are for user deposit addresses. For platforms like exchanges, the 0th path is their deposit address, and the rest can be designated to individual users.

Single Address API:

Perfect for generating addresses as needed, like when assigning a distinct address to a newcomer.
API Link

Example Request Body:

{
    "wallet":{
        "coin": "eth",
        "walletId":1,
        "allToken":true
    },
    "path":1
}

🚧

Heads Up:

Stick to sequential paths for address generation. Avoid random values.

Multiple Address API:

Great for bulk address creation, like pre-allocating addresses for users.
API Link

Example Request Body:

{
    "wallet":{
        "coin": "eth",
        "walletId":1,
        "allToken":true
    },
    "path":{
        "startIndex":0,
        "endIndex":10
    }
}

🐥

Tip:

Choose between single or multiple address APIs based on your needs. Using the multiple address API isn't always the best fit."