en
Back to the list

Polygon Launches Fast Confirmations for Onchain Apps

source-logo  thedefiant.io 27 m
image

Polygon launched fast confirmations on Polygon Chain on Wednesday, giving apps an early indication that a transaction is in a block before it closes. Polygon says the service is designed to respond in about 200 milliseconds, though it can take longer when blocks are full.

A checkout can show “payment received, confirming” instead of a spinner, and a payout dashboard can mark individual transfers as in progress. Polygon also pitched the service for trading apps, which can update users as orders come in.

Apps typically read a block after it closes. Polygon puts the time to build a block at about 1.5 seconds. The new service reads a shared sequence that block producers update as they build a block. Through Ethereum JSON-RPC calls, apps can get an early transaction receipt or read events from the unfinished block. The early receipt has no block hash. If the transaction makes it into the sealed block, the receipt gains a hash that identifies the block.

Know when your
coins move

Alerts, real-time prices, and market news — all in one app
qr-code Point your phone camera to install
4.8 based on 40K reviews in the App Store and Google Play
From Early Signal to Finality on Polygon

A transaction seen in the early feed may not make it into the sealed block. If the early signal and sealed block differ, Polygon says the node records the mismatch and marks the corresponding pending event as removed, so the app can discard the early data and read the sealed block.

Even a sealed block can still be reorganized before milestone finality, when validator agreement makes the block irreversible on Polygon. Polygon’s documentation says milestones typically finalize a transaction within two to five seconds. Polygon advises apps to wait for finality before shipping goods or releasing funds.

Developers can request early access from Polygon, which says it will send an API key and setup details for teams to use the service on mainnet or try it on the Amoy test network. Access to the service is temporarily free. Polygon did not announce an end date and said early usage would help determine future pricing.

thedefiant.io