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