The snap check if the deploy is valid by using the Casper JS SDK. You should check if your deploy is valid with this function before sending it to the Snap. Otherwise, the deploy will rejected directly without any confirmation window for the user.
The snap check if the deploy is valid by using the Casper JS SDK. You should check if your deploy is valid with this function before sending it to the Snap. Otherwise, the deploy will rejected directly without any confirmation window for the user.