Query Account

API Overview

This API retrieves a list of accounts in the system and supports paginated queries.

  • Request Method:GET

  • Request URL:https://openapi.elven.com/open/v3/entityAccount

Request Headers

Parameter Name
Type
Required
Description

elven-api-key

String

Yes

The API key assigned to you

elven-api-sign

String

Yes

Request signature, used to verify the legitimacy of the request

elven-api-timestamp

String

Yes

Request timestamp, in milliseconds

View Details

Request Parameters

Query 参数

Parameter Name
Type
Required
Description

page

Number

No

The page number to retrieve. Defaults to 1 if not provided.

limit

Number

No

The number of records per page. Defaults to 10 if not provided.

Example Request

GET https://openapi.elven.com/open/v3/entityAccount?page=1&limit=10

Response Parameters

Parameter Name
Type
Description

total

Number

Total number of accounts in the system.

list

Array

A list of account details. Each element is a JSON object containing account information.

list 数组元素

Parameter Name
Type
Description

entityAccountId

String

Account Primary Key

name

String

Account Name

platformId

String

PlatformId Primary Key

identity

String

Account Address

memo

String

memo

Example Response

{
    "total": 100,
    "list": [
        {
            "entityAccountId": "xxxx",
            "name": "account1",
            "platformId": "xxx",
            "identity": "xxx",
            "memo": ""
        },
        {
            "entityAccountId": "yyyy",
            "name": "account2",
            "platformId": "yyy",
            "identity": "yyy",
            "memo": "this is memo"
        }
    ]
}

Notes

  • The following headers are required for all requests to ensure security and validity: elven-api-key,elven-api-sign,elven-api-timestamp

  • Pagination: The page and limit parameters are optional. If omitted, the API will default to returning the first page with 10 records per page.

  • Response Format: The list array in the response contains detailed account information, with each element matching the structure of the return value from the Add Account API.

Last updated