Added RPC "Call" for JS calls to contracts
This commit is contained in:
11
rpc/args.go
11
rpc/args.go
@ -28,11 +28,12 @@ func (obj *GetBlockArgs) requirements() error {
|
||||
}
|
||||
|
||||
type NewTxArgs struct {
|
||||
Recipient string `json:"recipient"`
|
||||
Value string `json:"value"`
|
||||
Gas string `json:"gas"`
|
||||
GasPrice string `json:"gasprice"`
|
||||
Data string `json:"data"`
|
||||
From string `json:"from"`
|
||||
To string `json:"to"`
|
||||
Value string `json:"value"`
|
||||
Gas string `json:"gas"`
|
||||
GasPrice string `json:"gasPrice"`
|
||||
Data string `json:"data"`
|
||||
}
|
||||
|
||||
// type TxResponse struct {
|
||||
|
Reference in New Issue
Block a user