1. Request withdraw of your tokens on Layer via the cli.
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 from the output.
We need to query the result and copy two pieces of information: the query_id and the withdraw_id
# to get the queryId
./layerd query tx --type=hash <your_tx_hash> | grep -A 1 "query_id"
# to get the withdraw_id
./layerd query tx --type=hash <your_tx_hash> | grep -A 1 "withdraw_id"
Save these to be used in step 3...
Your withdraw request will be automatically reported on layer.
2. Wait 12 hours.
3. Find the timestamp of the aggregate report using the query_id from step 1:
Behind the scenes, py-relayer is used to send attestation information back to the bridge contract on Sepolia. As long as gas costs on the network are not egregious, withdrawFromLayer will be called automatically!