diff --git a/etherclient/extras.go b/etherclient/extras.go index 9121734..bb9875e 100644 --- a/etherclient/extras.go +++ b/etherclient/extras.go @@ -21,7 +21,7 @@ import ( // TraceCallTransaction contains the fields of the to-be-simulated transaction. type TraceCallTransaction struct { From string `json:"from"` - To string `json:"to"` + To string `json:"to,omitempty"` Gas *hexutil.Big `json:"gas,omitempty"` GasPrice *hexutil.Big `json:"gasPrice,omitempty"` Value *hexutil.Big `json:"value,omitempty"`