Skip to main content
matic.js internally use ExitUtil for generating proofs. It is a class which has different methods for helping with exit utilities.

buildPayloadForExit

It exposes buildPayloadForExit method which can be used to generate proof.

Generating proof using a bridge client

Every bridge client, including POSClient exposes the exitUtil property.