EIP1559Information.fromJson constructor
Implementation
factory EIP1559Information.fromJson(Map<String, String> json) =>
EIP1559Information(
lastBaseFeePerGas: EtherAmount.inWei(BigInt.parse(json['baseFee']!)),
maxPriorityFeePerGas:
EtherAmount.inWei(BigInt.parse(json['maxPriorityFeePerGas']!)),
maxFeePerGas: EtherAmount.inWei(BigInt.parse(json['maxFeePerGas']!)),
estimatedGas: BigInt.parse(json['estimatedGas']!),
);