toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'nonce': nonce,
    'gasLimit': gasLimit,
    'maxPriorityFeePerGas': maxPriorityFeePerGas,
    'maxFeePerGas': maxFeePerGas,
    'gasPrice': gasPrice,
    'to': to,
    'value': value.toString(),
    'data': data
  };
}