User Information
Last updated
Last updated
GET
https://api.hotcross.com/users/{account}
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Responses:
rewardsClaimed - object:
*-string:
the reward pool's address
pid - string:
the amount of rewards claimed by the address
userStaked - object:
*-string:
the reward pool's address
pid - string:
the amount of tokens staked by the address
hasClaimableRewards - object:
*-string:
the reward pool's address
pid - string:
a flag indicates that the address has claimable tokens or not
Postman example
For API version 2, add /v2/ into the path: api.hotcross.com/v2/users/{account}
The parameters and responses should be the same. For more detail, please check out Cross API Swagger.
account*
String
The address of the user
chain*
String
The chain id of the blockchain we want to read the pools from
Ethereum: 1
BNB Smart Chain: 56
Avalanche C-Chain: 43114