User Information
Getting claimed rewards and staked amounts for an address in all pools v1
GET
https://api.hotcross.com/users/{account}
Path Parameters
Name
Type
Description
account*
String
The address of the user
Query Parameters
Name
Type
Description
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
Responses:
rewardsClaimed - object:
*-string:
the reward pool's addresspid - string:
the amount of rewards claimed by the address
userStaked - object:
*-string:
the reward pool's addresspid - string:
the amount of tokens staked by the address
hasClaimableRewards - object:
*-string:
the reward pool's addresspid - string:
a flag indicates that the address has claimable tokens or not
Postman example
Last updated