LogoLogo
  • Introduction
  • Network
    • SXP
    • Staking
    • Governance
    • API
  • Swap
    • Smart Contract
      • Implement a Swap
      • Providing Liquidity
      • Building an Oracle
      • Flash Swaps
      • Pair Addresses
      • Supporting meta transactions
    • Subgraph API
      • Exchange
        • Entities
        • Queries
      • MasterChef
        • Entities
        • Queries
    • Reference
      • Smart Contracts
  • Swipechain
    • Introduction
    • Swipe Nodes
      • Churn
      • Bitfrost
      • Transactions
      • Continuous Liquidity Pools
      • Incentivizes
      • Governance
    • Run SwipeChain
      • Build on Source Code
      • Build with Script
    • Developers
      • How to contribute
      • Connecting to SwipeNode
  • Staking
  • Staking Details
    • Swipe Network
    • SXP Bonding
    • Unbond SXP
  • Metamask
    • Add Swipe Token
    • Deposit SXP
    • Connect MetaMask
    • Stake SXP
  • Trust Wallet
    • Add Swipe Token
    • Deposit SXP
    • Connect Trust Wallet
    • Stake SXP
  • Ledger
    • Connect Ledger
    • Add Swipe Token
    • Deposit SXP
    • Connect to Swipe
    • Stake SXP
  • View your Rewards
  • Claim Your Rewards
  • Governance
    • Vote
    • Proposals
  • FAQ
    • Frequently Asked Questions
Powered by GitBook
On this page
  • Total Staked
  • Reward Amount
  • Reward Cycle
  • Minimum Stake

Was this helpful?

  1. Network

API

A public set of API's to get data from the Swipe Network.

Total Staked

GET https://api.swipe.org/api?module=stats&action=totalStaked

This endpoint allows you to retrieve the total amount of SXP staked on the Swipe Network.

{"status":true,"data":"29855685667325892439200000"}

Reward Amount

GET https://api.swipe.org/api?module=stats&action=rewardAmount

This endpoint allows you to retrieve the total amount of SXP earned daily on the Swipe Network.

{"status":true,"data":"20000000000000000000000"}
{"status":false,"message":"Invalid action"}

Reward Cycle

GET https://api.swipe.org/api?module=stats&action=rewardCycle

This endpoint allows you to retrieve the SXP rewards distribution cycle in seconds.

{"status":true,"data":"86400"}
{"status":false,"message":"Invalid action"}

Minimum Stake

GET https://api.swipe.org/api?module=stats&action=minimumStakeAmount

This endpoint allows you to retrieve the minimum SXP required to stake on the Swipe Network.

{"status":true,"data":"1000000000000000000000"}
PreviousGovernanceNextSmart Contract

Last updated 4 years ago

Was this helpful?