diff --git a/web3/conversions.nim b/web3/conversions.nim index ea7d78e..2e5a9d5 100644 --- a/web3/conversions.nim +++ b/web3/conversions.nim @@ -128,7 +128,7 @@ proc `%`*(x: EthSend): JsonNode = if x.gas.isSome: result["gas"] = %x.gas.unsafeGet if x.gasPrice.isSome: - result["gasPrice"] = %x.gasPrice.unsafeGet + result["gasPrice"] = %Quantity(x.gasPrice.unsafeGet) if x.value.isSome: result["value"] = %x.value.unsafeGet if x.data.len > 0: