We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1370254 + 7955e9e commit 2c04aa8Copy full SHA for 2c04aa8
pkg/ethsigner/transaction.go
@@ -54,9 +54,9 @@ type Transaction struct {
54
GasPrice *ethtypes.HexInteger `json:"gasPrice,omitempty"`
55
MaxPriorityFeePerGas *ethtypes.HexInteger `json:"maxPriorityFeePerGas,omitempty"`
56
MaxFeePerGas *ethtypes.HexInteger `json:"maxFeePerGas,omitempty"`
57
- GasLimit *ethtypes.HexInteger `json:"gas"`
+ GasLimit *ethtypes.HexInteger `json:"gas,omitempty"` // note this is required for some methods (eth_estimateGas)
58
To *ethtypes.Address0xHex `json:"to,omitempty"`
59
- Value *ethtypes.HexInteger `json:"value"`
+ Value *ethtypes.HexInteger `json:"value,omitempty"`
60
Data ethtypes.HexBytes0xPrefix `json:"data"`
61
}
62
0 commit comments