cardano_wallet 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cardano_wallet.gemspec +1 -1
- data/lib/cardano_wallet/shared.rb +10 -0
- data/lib/cardano_wallet/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2818b4fc7a9045e2727ceaa830f1483c0d27944119c8b37c52b58d0135315808
|
4
|
+
data.tar.gz: 4885e446b178c89d1706a13d462b6f723a3fb00e39bb24493376e814a264d9c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 037bd53bedd96347389dd83036b3e9c604d6423b2d47efaf121c629a79a105066fcbebbdaa71a3eb6c9d47322694d21b5c16e0818c55f144023ec2b756b02f19
|
7
|
+
data.tar.gz: 21d117259928e6bfc8e0435cb999f06e97b14c9d8f069ada8cf4324b0952e68dd9bf201e40c51e91f779b157dd86a2ceed66ac951817106b8a28092d18f0c7e5
|
data/cardano_wallet.gemspec
CHANGED
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_development_dependency 'rake', '~> 12.3'
|
38
38
|
spec.add_development_dependency 'rspec', '~> 3.7'
|
39
39
|
spec.add_development_dependency 'rubocop', '~> 1.11'
|
40
|
-
spec.add_development_dependency 'simplecov'
|
40
|
+
spec.add_development_dependency 'simplecov', '~> 0.19.0'
|
41
41
|
end
|
@@ -230,6 +230,16 @@ module CardanoWallet
|
|
230
230
|
body: { cosigner => acc_pub_key }.to_json,
|
231
231
|
headers: { 'Content-Type' => 'application/json' })
|
232
232
|
end
|
233
|
+
|
234
|
+
# @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getUTxOsStatistics
|
235
|
+
def utxo(wid)
|
236
|
+
self.class.get("/shared-wallets/#{wid}/statistics/utxos")
|
237
|
+
end
|
238
|
+
|
239
|
+
# @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getWalletUtxoSnapshot
|
240
|
+
def utxo_snapshot(wid)
|
241
|
+
self.class.get("/shared-wallets/#{wid}/utxo")
|
242
|
+
end
|
233
243
|
end
|
234
244
|
end
|
235
245
|
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.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Stachyra
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bip_mnemonic
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: simplecov
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.19.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.19.0
|
111
111
|
description: Ruby wrapper over cardano-wallet.
|
112
112
|
email:
|
113
113
|
- piotr.stachyra@gmail.com
|
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
|
-
rubygems_version: 3.3.
|
168
|
+
rubygems_version: 3.3.26
|
169
169
|
signing_key:
|
170
170
|
specification_version: 4
|
171
171
|
summary: Ruby wrapper over cardano-wallet.
|