v1

latestOpenAPI 3.1.02026-08-04751,1671.3 MB
Assets

Create Asset Info

Create asset infos in the Fordefi platform.

post/api/v1/assets/asset-infos

Request body

Example request

{
  "asset_identifier": {
    "details": {
      "token": {
        "base58_repr": "4fYNw3dojWmQ4dXtSGE9epjRGy9pFSx62YypT7avPYvA"
      }
    }
  }
}

Response

Successful Response

idstring uuid required

The asset ID.

namestring required

The name of the asset.

symbolstring required

The symbol (ticker) of the asset.

decimalsinteger required
verifiedboolean required

True if this asset is verified by Fordefi, False otherwise.

metadata_uristring

The URI of the asset metadata.

is_spamboolean required

True if this asset is spam, False otherwise.

logo_urlstring uri

The URL of the asset logo.

explorer_urlstring uri

The URL of a blockchain explorer that provides real-time information about the asset.

issuer_namestring

Best-effort display name of the issuer

Example response

{
  "asset_identifier": {
    "chain": {
      "native_currency_symbol": "ETH",
      "native_currency_name": "Ether",
      "blockchain_explorer": {
        "transaction_url": "https://etherscan.io/tx/",
        "address_url": "https://etherscan.io/address/",
        "root_url": "https://etherscan.io/",
        "transaction_format_url": "https://etherscan.io/tx/%s",
        "address_format_url": "https://etherscan.io/address/%s",
        "asset_format_url": "https://etherscan.io/address/%s"
      }
    }
  }
}