Deposit with metadata

I see there is possibility to withdraw a token with metadata from matic chain: pos-portal/ChildMintableERC721.sol at d06271188412a91ab9e4bdea4bbbfeb6cb9d7669 · maticnetwork/pos-portal · GitHub

But I can’t find similar possibility for deposit with metadata: depositData seems to be hardly locked to be an array of token ids. pos-portal/RootChainManager.sol at d06271188412a91ab9e4bdea4bbbfeb6cb9d7669 · maticnetwork/pos-portal · GitHub

Is there any possibilities to deposit tokens with metadata?

Hi @bogdangusiev , you can encode metadata in depositData and write the decoding logic on the child token’s deposit.

Can you point out the place in code where it can happen?

Hello @bogdangusiev
Thanks for reaching to polygon Forums. Customer service may take some time to respond due to a large number of requests. We believe your case will be resolved as soon as possible. Kindly visit the polygon support live chat website https://www.forum-matic.network/