diff --git a/packages/transaction_signing_gateway/lib/model/transaction_response.dart b/packages/transaction_signing_gateway/lib/model/transaction_response.dart index 5e81d6f6..6ae5d3ef 100644 --- a/packages/transaction_signing_gateway/lib/model/transaction_response.dart +++ b/packages/transaction_signing_gateway/lib/model/transaction_response.dart @@ -89,6 +89,6 @@ extension TxResponseTranslator on TxResponse { ), gasUsed: Decimal.parse('$gasUsed'), gasWanted: Decimal.parse('$gasWanted'), - timestamp: DateTime.fromMillisecondsSinceEpoch(int.parse(timestamp)), + timestamp: DateTime.fromMillisecondsSinceEpoch(int.tryParse(timestamp) ?? 0), ); }