Bridge back to Sepolia
1. Request withdraw of your tokens from layer to sepolia.
In this example, the layer address is tellor1suuc9d5dr5stps5tzjv5d95ur02827ardn5
and the ethereum address that we want to withdraw to is 0x7660794eF8f978Ea0922DC29B4d93e1fc94A
:
Copy the transaction hash of this withdraw-tokens transaction.
We need to query the result and copy two pieces of information: the query_id
and the withdraw_id
Save these handy to be used later...
2. Wait 12 hours.
While you wait, your withdraw request will automatically reported on layer.
Next, we will find the timestamp of that report.
3. Find the timestamp of the aggregate report using the query_id from step 2:
This will print information about the report. Copy the timestamp for the next step.
4. Request attestations for your withdraw request report:
5. Navigate to the block explorer's bridge page.
Paste in your withdraw request's Query ID and Timestamp and click the "Generate Oracle Proofs Below" button. (see screenshot below)
Keep this page open for the next step.
6. Call the withdrawFromLayer
bridge function.
withdrawFromLayer
bridge function. Navigate to the bridge contract. Click on 6.withdrawFromLayer. Fill in the inputs with the values from the block explorer shown above, and click "Write".
You should recieve your tokens on Sepolia right away.
Last updated