Asset
Module endpoints
GET /assets
GET /assets
GET
https://api.slyk.io/assets
Returns a paginated list of assets
.
Name | Type | Example |
code |
|
|
enabled |
|
|
name |
|
|
system |
|
|
type |
|
|
The name
filter performs a SQL
query using the like
operator.
GET /assets/:code
GET /assets/:code
GET
https://api.slyk.io/assets/:code
Returns the asset
details of the given code
.
PATCH /assets/:code
PATCH /assets/:code
PATCH
https://api.slyk.io/assets/:code
Patch the asset
details of the given code
.
Name | Type | Required | Description |
contract |
|
| Asset contract configuration. Only applicable to crypto assets. |
customData |
|
| Can store additional information about the asset. |
decimalPlaces |
|
| Number of decimal places. |
enabled |
|
| Asset availability. |
logo |
|
| Asset logo. |
name |
|
| Asset name. |
symbol |
|
| Asset symbol. Max length: 16. |
POST /assets
POST /assets
POST
https://api.slyk.io/assets
Creates a new asset
.
Name | Type | Required | Description |
code |
|
| Asset identifier code. Must only contain digits and letters. |
contract |
|
| Asset contract configuration. Only applicable to crypto assets. |
customData |
|
| Can store additional information about the asset. |
decimalPlaces |
|
| Number of decimal places. |
enabled |
|
| Asset availability. |
name |
|
| Asset name. |
symbol |
|
| Asset symbol. Max length: 16. |
type |
|
| Asset type: |
Last updated