Asset

Module endpoints

GET /assets

GET https://api.slyk.io/assets

Returns a paginated list of assets.

The name filter performs a SQL query using the like operator.

GET /assets/:code

GET https://api.slyk.io/assets/:code

Returns the asset details of the given code.

{
  "data": {
    "code": "ltc",
    "contract": {},
    "createdAt": "2019-07-20T14:30:37.483Z",
    "customData": {},
    "decimalPlaces": 8,
    "enabled": true,
    "logo": null,
    "metadata": {},
    "name": "Litecoin",
    "symbol": "LTC",
    "system": true,
    "type": "crypto",
    "updatedAt": "2019-07-20T14:30:37.483Z"
  }
}

PATCH /assets/:code

PATCH https://api.slyk.io/assets/:code

Patch the asset details of the given code.

POST /assets

POST https://api.slyk.io/assets

Creates a new asset.

Last updated