Utility API methods
Last updated
Last updated
GET
https://api.hotcross.com/version
Responses:
version - string:
The API version
Postman example
GET
https://api.hotcross.com/lp
lptoken*
String
The smart contract address of the LP token
amount*
String
The amount of LP tokens
Responses:
"*"
: The address of the LP token
usd - string:
The USD value of the LP token
Postman example
GET
https://api.hotcross.com/tokens
chain*
number
The chain id of the blockchain we want to read the TokensMetadata from
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