aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-11 11:25:07 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-11 11:25:07 +0800
commit9ce5229ddfccfccf1215e44477b665de031e4e1e (patch)
tree7f2789a1bce5c8c41a7363121e52e8a7757b09a5 /rpc/args.go
parentece29c5d8da2a8477ec2a95c8d0307a55ab21b76 (diff)
downloadgo-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.tar
go-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.tar.gz
go-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.tar.bz2
go-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.tar.lz
go-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.tar.xz
go-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.tar.zst
go-tangerine-9ce5229ddfccfccf1215e44477b665de031e4e1e.zip
Get transaction via block & index
Diffstat (limited to 'rpc/args.go')
-rw-r--r--rpc/args.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpc/args.go b/rpc/args.go
index ab711e78f..2f361526a 100644
--- a/rpc/args.go
+++ b/rpc/args.go
@@ -217,6 +217,16 @@ func (args *GetDataArgs) requirements() error {
return nil
}
+type BlockNumIndexArgs struct {
+ BlockNumber int64
+ TxIndex int64
+}
+
+type HashIndexArgs struct {
+ BlockHash string
+ TxIndex int64
+}
+
type Sha3Args struct {
Data string
}