Pendle has no endpoint for per-wallet epoch rewards. We reconstruct them from three independent data sources and on-chain transfer history.
Primary source for epoch boundaries, fee revenue, buyback amounts, airdrop breakdowns, and global stake totals. Polled via /core/v1/sPendle/global-data. Can lag several days after a distribution — fees appear immediately but buyback amounts populate later.
On-chain ground truth for distribution timing and amounts. Reads ERC-20 transfer events from the distributor contract to the sPENDLE token. Provides the actual payout time (a few days after each epoch closes) and real sPENDLE amounts, and each wallet's own sPENDLE transfer history.
Distribution proofs from the pendle-finance/merkle-distributions repo. Contains campaign files with exact per-epoch sPENDLE totals and co-distributed airdrop tokens (sENA, FF, RE, RESOLV). Fills in airdrops before the Pendle API lists them.
The three sources above give us global distribution data. To compute what a specific wallet earned, we reconstruct their share from on-chain history:
Pendle's API provides global totals per epoch but has no endpoint for wallet-level rewards. There's no way to ask “how much did 0x... earn in epoch 5.” So we pull the wallet's full sPENDLE transfer history from Blockscout, compute its time-weighted balance across each epoch window, and divide by the global stake to attribute their share of each distribution.