Hot Cross Documentation
ApplicationAuditsTwitterUpdates
  • 📌What is Hot Cross?
  • Guides
    • 👋Getting Started
    • 🦺Audits
    • 🔑Access Portal
    • ✉️Contact
    • 🤩Ongoing Hot Cross Events!
      • 🧧Hot Cross Lunar New Year Celebration
      • 🏆Winners announcement for Lunar New Year Celebration
      • Liquidity Farming
      • Pending Prize Distribution
      • How to Supply HOTCROSS to earn lending interest?
      • How to Open a HOTCROSS long position with OpenLeverage?
      • How to Stake Cross Bosses get KALM
  • Products
    • ↔️Cross Connect
      • MetaMask
      • Trust Wallet
      • SafePal
      • WalletConnect
      • Frontier
      • Coin98 Wallet
      • Binance Wallet
      • TokenPocket
      • Math Wallet
      • BitKeep
      • iToken
    • 🖼️NFT Staking
    • 😎Cross Bosses
      • How to buy Cross Bosses on Liquid Collectibles
      • How to buy Cross Bosses on PancakeSwap
      • How to buy Cross Bosses on tofuNFT
      • How to buy Cross Bosses on Treasureland
      • How to buy Cross Bosses on NFTrade
      • How to buy Cross Bosses on Mintverse
    • 🌉Cross Bridge
    • 🏊‍♀️Cross Pool
    • 🎯Cross Send
    • 🙇‍♀️Know Your Customer
    • 🚀Initial Hot Cross Offerings
    • 📋Hot Cross User Dashboard
    • 🚜Cross Yield
    • 🎨Cross Mint
    • 🔓Cross Vest
    • 🔐Cross Claim
    • 🎇Cross API
      • Ecosystem Information
      • Supply Information for $HOTCROSS
      • User Information
      • Interact with Cross Yield
      • Interact with Cross Pool
      • HOTDOG Swap
      • NFT Staking
      • Initial Hot Cross Offerings
      • Utility API methods
  • Fundamentals
    • 💼Team
    • 💪Partners
    • 🤝Backers
    • ✅Roadmap
    • 🐷Hot Cross Token
    • 🌭Hot Dog Token
    • 🗣️Social
    • 🕶️Cadets
    • 🎏Brand Assets
Powered by GitBook
On this page
  1. Products
  2. Cross API

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

[
  {
    "rewardsClaimed": {
      "*": {
        "pid": "string"
      }
    },
    "userStaked": {
      "*": {
        "pid": "string"
      }
    },
    "hasClaimableRewards": {
      "*": {
        "pid": true
      }
    }
  }
]
{
    // Response
}

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}

PreviousSupply Information for $HOTCROSSNextInteract with Cross Yield

Last updated 3 years ago

The parameters and responses should be the same. For more detail, please check out .

🎇
Cross API Swagger