wswap.site

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 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

  1. 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.

  2. 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.

  3. Look for the resolution transaction. In the contract’s “Transactions” tab, filter for calls to the resolve or reportPayouts function. 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.

  4. 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 payoutNumerators array shows a 1 for the winning outcome and 0 for the losing one.

  5. 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 1 was “Yes,” and the transaction shows a 1 in the first position, the market resolved “Yes.”

  6. 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.

  7. 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:

What to Look For in the Settlement Data

Common Pitfalls

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.

Back to prediction markets