◻️Upload gas free orders
Interface Call Graph
Timing Diagram
remark
const privateKey = ''; // private key
const transactionData = '{
gasLimit: 100000,
data: '0xaxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
chainId: 56,
to: '0x0000000000000xxxxx',
nonce: 50,
gasPrice: '3150000000'
}'
const account = web3.eth.accounts.privateKeyToAccount(privateKey);
const signedTx = await account.signTransaction(transactionData);
const r = signedTx.r;
const s = signedTx.s;
const v = signedTx.v;
const rawTransaction = signedTx.rawTransaction;parameter
whether
explain
field name
field
type
remark
code example
Postman

Last updated

