PERI Finance
  • PERI Finance
  • PERI Finance
    • What is PERI Finance?
    • 📈dApps
      • 🥩PERI Staking
      • 💱PERI Exchange(DEX)
    • PERI Tokenomics
    • ➡️Token Contract Addresses
    • Guides
      • PERI DEX Bridge Guide
      • 1️Staking dApp — 1. Setting/Stake-Mint
      • 2️Staking dApp — 2. Burn
      • 3️Staking dApp — 3. Reward
      • 4️Staking dApp— 4. Earn(LP Reward)
      • 🦄PERI Token Swap Guide - BASE UniSwap
      • 📣PERI Finance LP Rewards Program
      • 🤽‍♂️Details of APY — PERI Finance dApp
    • Security & Audits
    • FAQs
  • Development Resources
    • Protocol
      • VALUE RECEPIENTS
      • PERI STAKING REWARDS
      • PROTOCOL CORE EQUATIONS
    • Deployed Contract
      • MAINNET
        • 🔵BASE MAINNET
        • ⚫ETHEREUM MAINNET
        • 🟡BSC MAINNET
        • 🟣POLYGON MAINNET
        • 🔴MOONBEAM MAINNET
        • 🟢MOONRIVER MAINNET
      • TESTNET
        • ETHEREUM KOVAN TESTNET
        • POLYGON TESTNET
        • BSC TESTNET
    • Protocol Integrations
      • INTEGRATED PROJECT
      • PERI FINANCE HISTORICAL DATA
      • PERI FINANCE STAKING
        • STAKING PERI
    • Smart Contract Architecture
    • Deployment Procedure
    • Common Transactions
    • Source Code Description
      • SOLIDITY CONTRACT
        • AddressResolver
        • BaseDebtCache
        • BasePeriFinance
        • BaseRewardEscrowV2
        • BinaryOption
        • BinaryOptionMarket
        • BinaryOptionMarketData
        • BinaryOptionMarketFactory
        • BinaryOptionMarketManager
        • BlacklistManager
        • BridgeState
        • Collateral
        • CollateralErc20
        • CollateralEth
        • CollateralManager
        • CollateralManagerState
        • CollateralShort
        • CollateralState
        • ContractStorage
        • DappMaintenance
        • DebtCache
        • DelegateApprovals
        • Depot
        • EmptyCollateralManager
        • EmptyEtherCollateral
        • EscrowChecker
        • EternalStorage
        • EtherCollateral
        • EtherCollateralpUSD
        • ExchangeRates
        • ExchangeRatesWithoutInvPricing
        • ExchangeState
        • Exchanger
        • ExchangerWithVirtualPynth
        • ExternStateToken
        • ExternalRateAggregator
        • ExternalTokenStakeManager
        • FeePool
        • FeePoolEternalStorage
        • FeePoolState
        • FlexibleStorage
        • ImportableRewardEscrowV2
        • Issuer
        • IssuerWithoutLiquidations
        • LimitedSetup
        • Liquidations
        • Math
        • MintablePeriFinance
        • MixinResolver
        • MixinSystemSettings
        • MultiCollateralPynth
        • Owned
        • Pausable
        • PeriFinance
        • PeriFinanceBridgeToBase
        • PeriFinanceBridgeToOptimism
        • PeriFinanceEscrow
        • PeriFinanceState
        • PeriFinanceStateWithLimitedSetup
        • PeriFinanceToBSC
        • PeriFinanceToEthereum
        • PeriFinanceToPolygon
        • Proxy
        • ProxyERC20
        • Proxyable
        • PurgeablePynth
        • Pynth
        • PynthUtil
        • ReadProxy
        • RealtimeDebtCache
        • RewardEscrow
        • RewardEscrowV2
        • RewardsDistribution
        • RewardsDistributionRecipient
        • SafeDecimalMath
        • ShortingRewards
        • StakingRewards
        • StakingState
        • StakingStateUSDC
        • State
        • SupplySchedule
        • SystemSettings
        • SystemStatus
        • TokenState
        • TradingRewards
        • VirtualPynth
      • SOLIDITY INTERFACES
        • IAddressResolver
        • IBinaryOption
        • IBinaryOptionMarket
        • IBinaryOptionMarketManager
        • IBridgeState
        • ICollateralErc20
        • ICollateralEth
        • ICollateralLoan
        • ICollateralManager
        • IDebtCache
        • IDelegateApprovals
        • IDepot
        • IERC20
        • IEtherCollateral
        • IEtherCollateralpUSD
        • IExchangeRates
        • IExchangeState
        • IExchanger
        • IExternalTokenStakeManager
        • IFeePool
        • IFlexibleStorage
        • IHasBalance
        • IIssuer
        • ILiquidations
        • IPeriFinance
        • IPeriFinanceBridgeToBase
        • IPeriFinanceBridgeToOptimism
        • IPeriFinanceState
        • IPynth
        • IRewardEscrow
        • IRewardEscrowV2
        • IRewardsDistribution
        • IShortingRewards
        • IStakingRewards
        • IStakingState
        • IStakingStateUSDC
        • ISupplySchedule
        • ISystemSettings
        • ISystemStatus
        • ITradingRewards
        • IVirtualPynth
      • SOLIDITY LIBRARIES
        • AddressSetLib
        • Bytes32SetLib
        • Math
        • SafeDecimalMath
        • SafeMath
  • Resources
    • Whitepaper
      • English
    • Media Kit
      • Logo with Texts
      • Logo Only
      • Text Only
      • .ai files
      • .svg files
    • 🛠️Update
Powered by GitBook
On this page
  • Peri Finance Historical Data
  • The Graph and Subgraph
  • Event Logs Query
  • Using an Archive Node
  1. Development Resources
  2. Protocol Integrations

PERI FINANCE HISTORICAL DATA

Peri Finance Historical Data

Peri Finance's historical data ca access using number of ways in future

  • Using calls on the Graph subgraphs

  • Using an Archive Node to fetch state at some block in the past

  • Using Query event logs on the Graph Subgraph

  • Using Third party service like Google BigQuery

The Graph and Subgraph

To Query Network Data from Decentralized Network , Peri Finance has indexed protocol data on the Graph. The Graph allows for the creation of custom data sets called Subgraph , which allowed to be queryable.

Peri Finance currently has One separate subgraphs for retrieving information specific to Peri Finance smart contracts. A subgraph is an entity-based data source which replays all transactions since the genesis block and uses custom code to create queryable entities as each block is processed.

Alternatively, each of these subgraphs can be queried using GraphQL.

Event Logs Query

Instead of using the subgraphs provided, you could directly query the EVM via most free providers (such as Infura ).

Using an Archive Node

You can also use an Network(Polygon/Ethereum/BSC) node with full historical state to read the blockchain state at some block in the past.

PreviousINTEGRATED PROJECTNextPERI FINANCE STAKING

Last updated 1 year ago