How to Read On-Chain Settlement Data After a Prediction Market Resolves
To read on-chain settlement data after a market resolves, you need to look at the resolution transaction that the oracle submitted, then verify the outcome, and finally check that your shares have been redeemed or are redeemable. The data is public and permanent, but it is scattered across several contract interactions. You do not need to trust any front-end; you can confirm everything yourself with a block explorer.
What the resolution transaction contains
When an oracle resolves a market, it submits a transaction to the market contract. This transaction includes:
- The market’s unique identifier (often an
IDorquestionID) - The outcome it selected (usually encoded as a
uint256orbytes32value) - A timestamp
- In some systems, a bond or fee payment
The outcome value maps to one of the predefined possible results for that market. For a binary market, 0 might mean “No” and 1 “Yes.” For multiple-choice markets, each option gets a number. The contract records this value, and from that point onward the market is considered resolved.
Step-by-Step: How to Find and Read the Data
-
Get the market address or ID. If you used a front-end like Polymarket, the market page usually displays a contract address or a market ID. Copy that.
-
Open a block explorer for the chain where the market lives (e.g., Etherscan for Polygon, Arbiscan for Arbitrum). Paste the market address into the search bar.
-
Look for the resolution transaction. In the contract’s “Transactions” tab, filter for calls to the
resolveorreportPayoutsfunction. The exact function name varies by platform, but it is always the one that sets the final outcome. The transaction hash is your proof of resolution. -
Click into that transaction. On the transaction details page, find the “Input Data” or “Function Arguments” section. This shows the outcome value the oracle submitted. For example, on Polymarket, a
payoutNumeratorsarray shows a1for the winning outcome and0for the losing one. -
Verify the outcome against the market description. The front-end should have listed the possible outcomes in order. Cross-check the number in the transaction against that order. If outcome
1was “Yes,” and the transaction shows a1in the first position, the market resolved “Yes.” -
Check the oracle’s identity. The transaction sender is the oracle contract address (not a human). You can look up that address in the oracle section of the market’s documentation to confirm it is the expected resolution source.
-
Confirm the resolution timestamp. The block timestamp tells you when the resolution was finalized. This matters if you are calculating settlement delays or disputing timing.
How settlement payouts work
After resolution, the market contract usually does not automatically send tokens to your wallet. Instead, it records that each share of the winning outcome is now redeemable for the underlying collateral (e.g., USDC or DAI). You must call a redeem or claim function to convert your shares into the payout.
To check if your shares are redeemable:
- Use the market contract’s
payoutNumeratorsorgetOutcomefunction with your share token ID. If it returns a non-zero number for your outcome, you can redeem. - On Polymarket, a resolved market shows a “Redeem” button in the UI, but you can also call
redeemPositionsdirectly on the conditional token contract.
What to Look For in the Settlement Data
- The payout numerator: A value like
1for binary markets or a fraction (e.g.,500000000000000000for 50% payout in a categorical market). This tells you how much each winning share pays out. - The collateral token address: The settlement data may include or reference the token that backs the market. Verify it matches what you expected (USDC on Polygon, DAI on Ethereum, etc.).
- Any leftover bonds: Some markets return validity bonds or oracle bonds after resolution. The transaction may include a refund to the bond poster.
Common Pitfalls
- A resolved market with no payout data. If the oracle sent a resolution transaction but the
payoutNumeratorsarray is all zeros, the market may have resolved to “invalid” or the oracle may have failed to submit valid data. Check the dispute period. - Redeeming before the dispute window ends. On some platforms, you cannot withdraw until a dispute period passes, even if the resolution is recorded. The settlement data will show the outcome, but the contract will block redemption until the deadline.
- Multiple resolution transactions. If an oracle submitted a resolution and it was later overturned by a dispute, you will see two or more
resolvecalls. The final valid one is the one that mined after the dispute process ended.
Tools that simplify this
Block explorers are the most reliable, but you can also use analytics dashboards like Dune Analytics or The Graph - based explorers that index resolution events. These tools let you query settlement data by market ID without reading raw transaction inputs. They are still reading the same on-chain data, just presenting it in a table.
The key habit is to verify the resolution transaction yourself at least once per market you trade. Front-ends can display incorrect settlement data if they are outdated or malicious. The block explorer does not lie.
Not financial advice. wswap.site publishes market data and general information about digital assets. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.
Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.