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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d82222298fb6dfaef493ba06cf14a1dbc991a00883c8990443d02085dba42b74
4
- data.tar.gz: e755508aaeaf17ba4275b2ad9eba2700279de544c4f1a7a8351f878447bdabac
3
+ metadata.gz: af58d936fca6940d0ab7f209d293989e0a99d8e5075e940df9090b5be2bff42c
4
+ data.tar.gz: 5e62184416c5a778572956f39ff7e825b5e7c9e76672c52481761900bc8bfff9
5
5
  SHA512:
6
- metadata.gz: 4796b3e44104f71718e204e89511e9917f374d7c9cccf4b415da74048d9a739f6d3d179e528086e0e90030a99a6d24585af8f62adb9767d1d77076fdcb953589
7
- data.tar.gz: 5e5d71ba6adc021240307ac95b22c77fe3c7d603858052eb360e180753e5727c2ec6bad8162be9c18fae553d02fb45f32b43354a5226a3f1f6ded9cc28e08f3f
6
+ metadata.gz: b19362f1241f0e11808b51eb35d27a99b00524290af66da4d52210a1a7f8ddd4f7c3899f69bdf1daebab13cb0d372554c89366b835f3829d9acfd9e5a8fbb7b5
7
+ data.tar.gz: 1ec3e6b06ee16ddbdc537226d66b069f3a24269939f89ce5fd1bdeb2ccbbf86ba6b1fb663c1a4d038be6aa3348f6e53cef65fdd092448ea0b096aafe8a189c12
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cronos_explorer (0.2.1)
4
+ cronos_explorer (0.2.2)
5
5
  faraday (~> 1.0)
6
6
  oj (~> 3.0)
7
7
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CronosExplorer
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cronos_explorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - dave