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.
thedefiant.io