I'm sending a message from an Ethereum contract to a Starknet one via the Starknet core contract's sendMessageToL2 function. This function is payable and I'm meant to send ETH to cover the cost of processing the message at the other end. What I don't know is how to estimate the amount of ETH required, which could vary from one call to another, as the processing required on the receiving Starknet contract will vary.
I have searched the docs, but didn't find anything on this. Until recently everything worked with no fee being sent, but that has been tightened up now.