Links
Comment on page

Utility API methods

get
https://api.hotcross.com/
version
Returns the current API version
Responses:
  • version - string: The API version
Postman example
get
https://api.hotcross.com/
lp
Read the USD value of an LP token
Responses:
  • "*": The address of the LP token
  • usd - string: The USD value of the LP token
Postman example
get
https://api.hotcross.com/
tokens
Read the token the metadata json that contains all tokens used in Hot Cross platform
Responses:
  • *: The smart contract address of the token
    • image - string: The token's image link
    • name - string: The token's name
    • symbol - string: The token's symbol
    • decimals - number: The token's decimals
Postman example