GetAsset

This method is intended to provide the content of an asset file in JSON format. The asset is identified by its exact name, so it must be spelled correctly for the query to be successful.

Asset = Circular.GetAsset(Blockchain, 
                          Asset_Name
                          );

If the request is successful, the response will resemble the following:

Asset = {
        "Address" : [Address],
        "Amount" : [Amount],
        "Blockchain" : [Blockchain],
        "EnableSwap" : [0,1],
        "Name" : [Name],
        "Price" : [Price],
        "Symbol" : [Symbol],
        "Type" : [Asset Type],
        "URL" : [Reference URL],
        "URLType" : [URL COntent Type],
        }

Here are the explanations for each field:

Blockchain:

The blockchain hosting the digital asset.

Name:

The unique name assigned to the digital asset.

Symbol:

A symbol or ticker used to uniquely identify the digital asset.

Address:

The wallet address of the asset owner, used to create the digital asset.

Amount:

The total supply of the digital asset.

Type:

The category or type of digital asset.

URL:

The URL linking to metadata or additional information about the digital asset.

URLType:

The type of data or content found at the provided URL.

Price:

The price of the digital asset, denominated in CIRX.

EnableSwap:

A Boolean indicator that determines whether third parties can initiate swaps involving this asset with other digital assets.

Last updated