Basic

Get asset information

Changed on

In most cases, this endpoint returns a single asset regardless of whether you filter by asset ID or token contract address. However, since the system supports multiple chains, the same token contract address might exist on different chains, potentially resulting in multiple assets being returned when filtering by token contract address.

get/v1/asset

Request

  • Base URL: https://testnetopenapi.hibit.app
  • URL: https://testnetopenapi.hibit.app/v1/asset
  • Auth: none declared

Query parameters

AssetIdstring
TokenAddressstring

Response

OK

codeinteger
messagestring nullable

Changes

    • breaking

      the response property became nullable for the status (media type: text/plain)

    • breaking

      the response property became nullable for the status (media type: application/json)

    • breaking

      the response property became nullable for the status (media type: text/json)

    • breaking

      the response's property type changed from object to array for status (media type: text/plain)

    • breaking

      the response's property type changed from object to array for status (media type: application/json)

    • breaking

      the response's property type changed from object to array for status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • breaking

      removed the required property / from the response with the status (media type: text/plain)

    • breaking

      removed the required property / from the response with the status (media type: application/json)

    • breaking

      removed the required property / from the response with the status (media type: text/json)

    • warning

      removed the optional property / from the response with the status (media type: text/plain)

    • warning

      removed the optional property / from the response with the status (media type: application/json)

    • warning

      removed the optional property / from the response with the status (media type: text/json)

    • warning

      removed the optional property / from the response with the status (media type: text/plain)

    • warning

      removed the optional property / from the response with the status (media type: application/json)

    • warning

      removed the optional property / from the response with the status (media type: text/json)

    • info

      added the new optional query request parameter TokenAddress