cronos_explorer 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cronos_explorer/accounts.rb +2 -2
- data/lib/cronos_explorer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af58d936fca6940d0ab7f209d293989e0a99d8e5075e940df9090b5be2bff42c
|
4
|
+
data.tar.gz: 5e62184416c5a778572956f39ff7e825b5e7c9e76672c52481761900bc8bfff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b19362f1241f0e11808b51eb35d27a99b00524290af66da4d52210a1a7f8ddd4f7c3899f69bdf1daebab13cb0d372554c89366b835f3829d9acfd9e5a8fbb7b5
|
7
|
+
data.tar.gz: 1ec3e6b06ee16ddbdc537226d66b069f3a24269939f89ce5fd1bdeb2ccbbf86ba6b1fb663c1a4d038be6aa3348f6e53cef65fdd092448ea0b096aafe8a189c12
|
data/Gemfile.lock
CHANGED
@@ -35,8 +35,8 @@ module CronosExplorer
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# Get token transfer events by address. Up to a maximum of 10,000 token transfer events. Also available through a GraphQL 'token_transfers' query.
|
38
|
-
def tokentx(address)
|
39
|
-
hash = DEFAULT_HASH.merge(action: 'tokentx', address: address)
|
38
|
+
def tokentx(address, startblock, sort='desc')
|
39
|
+
hash = DEFAULT_HASH.merge(action: 'tokentx', address: address, startblock: startblock, sort: sort)
|
40
40
|
|
41
41
|
Request.get hash
|
42
42
|
end
|