How to call exit function for POS Bridge with parameter of Calldata

I am working on POS Bridge for Ethereum to Matic and Matic to Ethereum NFT transfer. I have done all the steps. Transferred NFT from ethereum to matic. When I am trying to transfer nft to ethereum from matic. I burned that specific token. But i dont know how to pass calldata parameter to exit function on Root chain manager proxy contract. How to get that bytes calldata?

Hi @Hussam_Mustafa , You can try using this api :

https://apis.matic.network/api/v1/matic/exit-payload/0xbe9782a16c0e3a5d0f6943015c202b23376f35e49989ea79374c3801367dd8b4?eventSignature=0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

0xbe9782a16c0e3a5d0f6943015c202b23376f35e49989ea79374c3801367dd8b4 is the burnTx hash and

0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef is the event signature of Transfer event.

Hi @shubhangi, Thanks for replying. I used the API, you mentioned above.
this is my burn Tx on Mumbai network Polygon Transaction Hash (Txhash) Details | PolygonScan

response: {“error”:true,“message”:“Incorrect Burn tx”}