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 tokenusd - 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 tokenimage - string:
The token's image linkname - string:
The token's namesymbol - string:
The token's symboldecimals - number:
The token's decimals
Postman example

Last modified 1yr ago