EthTxDataRaw.fromJson constructor

EthTxDataRaw.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EthTxDataRaw.fromJson(Map<String, dynamic> json) {
  return EthTxDataRaw(
      nonce: json['nonce'],
      gasLimit: json['gasLimit'],
      maxPriorityFeePerGas: json['maxPriorityFeePerGas'],
      maxFeePerGas: json['maxFeePerGas'],
      gasPrice: json['gasPrice'],
      to: json['to'],
      value: BigInt.parse(json['value']),
      data: json['data']);
}