Skip to main content

How to set custom payload for your transaction?

If you want to interact with arbitrary contract even when there is not a frontend, or deploy contract using MPCVault, you can set custom payload for your transaction. Here's how:

  1. Open your wallet and select the native token, then click "Send". Enter the recipient's address and the amount.

  2. Click on "Advanced option" and input the desired data into the Custom Data field to add it to the transaction.

    Docusaurus Plushie

  • If deploying a contract, you may leave the Recipient and Amount fields unset and only need to set the Custom data field. Please note that custom data is supported only in hex format. If operating on an EVM chain, you can obtain the custom data field's data from https://abi.hashex.org/.

  • If interacting with a contract, the Recipient field should be the contract address. If there are no expenses other than gas fees, the Amount can be set to 0 or left unset.