aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/args.go
diff options
context:
space:
mode:
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
}