Pre-filled transactions can be created by appending certain parameters into the query section of a URL.
Pre-filled transactions are a helpful function that allow for many things, including sending transaction requests to others! Instead of telling someone "Okay, send this amount to this address on this network with this data, etc. etc.," it allows you to take all the criteria for the transaction and package it up into one neat URL that you can send to someone.
If you create a pre-filled MyCrypto transaction URL and send it to someone, they can input the URL into their browser and it'll automatically take them to the MyCrypto send page and fill it out with the specified parameters.
These parameters only apply on MyCrypto beta, which you can find at beta.mycrypto.com.
type- The type of pre-filled transaction (use resubmit in most cases).
gasPrice- The gas price of the transaction (should be in hex wei format. ex: 0x059682f000).
gasLimit- The gas limit field of the transaction (should be in hex format. ex: 0xcb56).
chainId- The chainid of the network the transaction should be conducted on (ex: 1).
value- The value of the transaction (should be in hex wei format. ex: 0x8AC7230489E80000).
nonce- The nonce field of the transaction (should be in hex format. ex: 0xD8).
to- The to address of the transaction.
from- The from address of the transaction (should correspond to one of the accounts you have added to your dashboard).
data- The data field of the transaction (should be in hex format. ex: 0xa9059cbb0000000000000000000000005dd6e754d37bababeb95f34639568812900fec79000000000000000000000000000000000000000000000104f6e0a229913de8a2).
to- The To address of the transaction.
value- The Value of the transaction (in Ether).
data- The Data field of the transaction (should be in hex format).
Breaking this down, the transaction will have:
- A send To address =
- A Value =
- A Data field =
- mycrypto.com does not support setting gas price, gas limit or nonce because we auto-calculate those fields.
- mycrypto.com does not support the tokenSymbol and sendMode token parameters.