Atomic Asset
Get Atomic Asset
Returns details regarding the Atomic Asset including the evaluated state.
Usage
Input Parameters
- id:
string
: The Atomic Asset ID.
The Function will throw an error if Transaction Id does not has necessary Atomic Asset Tags
Return Value
The return value is a Promise that resolves to the object
. It has the following properties:
- id:
string
: The transaction ID of the Atomic Asset contract. - owner: The Owner of the Transaction, it has the following tow feilds:
- id:
string
: The Address of the owner. - key:
string
: The key of the owner.
- id:
- tags: Tag[]: The Tags of the Atomic Asset.
- state:
Record<string,any>
: The current evaluated state for the Atomic Asset.
Example
Response:
Was this page helpful?