cardano_wallet 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cardano_wallet/byron.rb +5 -0
- data/lib/cardano_wallet/shelley.rb +5 -0
- data/lib/cardano_wallet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ca7324e8297c5dc1450d6f80d152ef4e8c5f955a26b293a6fd25bdff5f573c9
|
4
|
+
data.tar.gz: 55143e350cb6fe9a4c0fc6b6041901cf175a37d035a8625accca1f69b4728eb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17823106144667576a2cd3a43a34020cd0ce6f9d9182f93836c82a6987d6e8ec4d74ccf7c5e0fc99566902a5a39ab096a339d575f59af3a5be4ee60472abc938
|
7
|
+
data.tar.gz: e43e2cb40b72f39f477dfbb2aa3b364d326ee5222072ce78bfa28b4b219b44f26eca9e2433eae870bfe558e80b6a86ff1e883cdef0dffd62666ed29370f1540b
|
data/lib/cardano_wallet/byron.rb
CHANGED
@@ -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
|
#
|
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.
|
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-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|