include-sdk

Returns price currently available in the DB and info about a task is scheduled or not. HTTP Status: * 200 returning price from DB * TODO: 202 when task was scheduled, returned with or without the data * TODO: get asset category (once asset_category_refactor is merged)

get/api/v1/asset/price/{chainId}/{contractAddress}/{tokenId}

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

chainIdstring required
contractAddressstring required
tokenIdstring required

Query parameters

refreshboolean
timestampinteger

Response

is_task_scheduledboolean required

Changes

    • warning

      added the new CELOSCAN enum value to the /// response property for the response status

    • warning

      added the new INKONCHAIN_EXPLORER enum value to the /// response property for the response status

    • warning

      added the new TOKEN_LIST_CELO_ORG enum value to the /// response property for the response status

    • warning

      added the new TOKEN_LIST_CONSENSYS_LINEA enum value to the /// response property for the response status