Types

In this section, we will briefly review how various commonly used entities are encoded within the API.

Identifiers

Unique identifiers for all key entities are represented as strings, consisting of numbers in various cases and letters. Identifiers in this format are convenient for perception by humans and can be easily copied to the clipboard.

Example identifiers

wv7xbaSP4ljdITbrFI995v
FdDQBuaqXoReYAxf9VtEBq
BuDXTw3Dse5iRfkwsSpdec

Money

The Money type is encoded as an object with two attributes, value and currency, both of which are of the string type. The string type for value is used for the convenience of representing cryptocurrency values with a large number of decimal places.

Example money

{
    "value": "367.898917772220009988111",
    "currency": "bUSDT"
}

Timestamp

Temporal values are encoded using a string in the format corresponding to ISO8601.

Example timestamps

"2021-06-22T20:19:38Z"
"2023-06-22T19:15:38.001+04:00"