aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-29 20:10:34 +0800
committerobscuren <geffobscura@gmail.com>2015-01-29 20:10:34 +0800
commit84adf77bf3492351de82f0ec820a1d280e85a5cd (patch)
treee841925b72cbef95cde5d6c8763d145812486336 /rpc/args.go
parentf75dcc7f4c60800055f6d15c5e6660ed76465eb6 (diff)
downloaddexon-84adf77bf3492351de82f0ec820a1d280e85a5cd.tar.gz
dexon-84adf77bf3492351de82f0ec820a1d280e85a5cd.tar.zst
dexon-84adf77bf3492351de82f0ec820a1d280e85a5cd.zip
Added RPC "Call" for JS calls to contracts
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/rpc/args.go b/rpc/args.go
index 0c3087151..ff4974792 100644
--- a/rpc/args.go
+++ b/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 {