Added RPC "Call" for JS calls to contracts

This commit is contained in:
obscuren
2015-01-29 13:10:34 +01:00
parent f75dcc7f4c
commit 84adf77bf3
6 changed files with 55 additions and 11 deletions

View File

@ -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 {