Olyn API Assets
Learn about Olyn asset resource
The main resource of Olyn, this object is used to identify a resource within the platform. Each asset has a unique id which can be used for further dependent resources, such as Adding or Update data on Asset, Adding or Update files on Asset, among other services.
The essential information of the asset is represented by an Asset Model which includes the following data:
Field | Type | Description | |
---|---|---|---|
id | ObjectId | Unique identifier of the resource | Auto |
owner | String | Public key of the owner of the asset | Set by the developer |
currentChain | String | Blockchain where the token is currently located. | Auto |
status | String | Asset status. | Auto |
createdAt | Date | Date of creation of the resource | Auto |
createdBy | String | Entity creating the resource | Auto |
{
"asset": {
"id": "62a31bea837e11bbf2b8dadd",
"owner": "J5CCTwQaQ8R1DqpRJ1fHFdQ2zBff8jVuHShGA1uAFRge",
"currentChain": "SOLANA",
"status": "OWNED",
"createdBy": "OLYN",
"createdAt": "2022-06-10 10:24:42.366851"
}
}
Updated about 1 year ago