toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "To": to,
    "From": from,
    "Value": value,
    "Method": method,
    "Params": params,
    "Nonce": nonce,
    "GasLimit": gasLimit,
    "GasFeeCap": gasFeeCap,
    "GasPremium": gasPremium,
  };
}