cardano_wallet 0.3.8 → 0.3.9

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: 3ff97345f66a326cdbb4cfa28e0458ea55a0bb5eca469c2f86ef939837618c03
4
- data.tar.gz: a8a4515006fa955c86f072ce4b3233023cff3ffdf049958858a24b7dc7099842
3
+ metadata.gz: 1ca7324e8297c5dc1450d6f80d152ef4e8c5f955a26b293a6fd25bdff5f573c9
4
+ data.tar.gz: 55143e350cb6fe9a4c0fc6b6041901cf175a37d035a8625accca1f69b4728eb9
5
5
  SHA512:
6
- metadata.gz: 5a661209422fe8e47bb7bc964107fb7726fb08b350db98e636eaeb224ce09447b7ea23b2663152bd27094a48e306f93c826b15b2d912c6111491f82bb22677aa
7
- data.tar.gz: 8070466c5997132e9c878b302065a3796415494c36b0b7f579f8da7d64d553d4d141a0be1d276d77f5cca3da0ebdfcaa949b8be75f07d6a0c8f289d591f55e73
6
+ metadata.gz: 17823106144667576a2cd3a43a34020cd0ce6f9d9182f93836c82a6987d6e8ec4d74ccf7c5e0fc99566902a5a39ab096a339d575f59af3a5be4ee60472abc938
7
+ data.tar.gz: e43e2cb40b72f39f477dfbb2aa3b364d326ee5222072ce78bfa28b4b219b44f26eca9e2433eae870bfe558e80b6a86ff1e883cdef0dffd62666ed29370f1540b
@@ -117,6 +117,11 @@ module CardanoWallet
117
117
  self.class.get("/byron-wallets/#{wid}/statistics/utxos")
118
118
  end
119
119
 
120
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getByronWalletUtxoSnapshot
121
+ def utxo_snapshot(wid)
122
+ self.class.get("/byron-wallets/#{wid}/utxo")
123
+ end
124
+
120
125
  # Update Byron wallet's passphrase.
121
126
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/putByronWalletPassphrase
122
127
  #
@@ -166,6 +166,11 @@ module CardanoWallet
166
166
  self.class.get("/wallets/#{wid}/statistics/utxos")
167
167
  end
168
168
 
169
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getWalletUtxoSnapshot
170
+ def utxo_snapshot(wid)
171
+ self.class.get("/wallets/#{wid}/utxo")
172
+ end
173
+
169
174
  # Update wallet's passphrase
170
175
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/putWalletPassphrase
171
176
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CardanoWallet
4
- VERSION = '0.3.8'
4
+ VERSION = '0.3.9'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cardano_wallet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Stachyra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-26 00:00:00.000000000 Z
11
+ date: 2021-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty