quicknode_sdk 0.9.0-x86_64-linux → 0.10.0-x86_64-linux

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: d7962bd02a4227a5ba130e9c4cff54655fa8b8d11e7a94148b395c2c395e2e31
4
- data.tar.gz: f90dacc0267a98ac3e2dbe6fa1ce9878457be3b771e9eec203fd925c3e8e3ab4
3
+ metadata.gz: 1fe1a1a57602ae4b112c0ff280b7dd9b10a64c2d2f7982c057bec39b6cc9cf32
4
+ data.tar.gz: f55563508251c02c91254dbd5aeebc15a747a8ed4a9b2d04df2e8794e55fde01
5
5
  SHA512:
6
- metadata.gz: 675ab2dbc9b8b45b346a5033dbb7cd2789f223006f73230eeb6b7ea53d33ee66e42fc9878a3331e3be281edf36cdb4e8d748ca788d5e12a3a6bcd01bc9856081
7
- data.tar.gz: 50071a179e8fe1381adbd1c39c865299d390846f5d95f14c5d60ccf90e2d9e2e03e372e9779f88f8be4ad4d71d3b7fec88b791400192ee30c958ad3e5c2fd089
6
+ metadata.gz: ab311513a4bd4b33310af3ff828ff6eac39e2213f4b1466c03b68fb94db0c00c1160b8a4b9d467d1598eefaaa5828ba4ddf0fb4934385db57a04cae79198c89e
7
+ data.tar.gz: 67d2bd5a06bb9c77c395bdd57df9c118cceda230a3ccc2b9c931fd5b4d7abc2b8758726834053ba63f17d551ed56057f7bfe3cd03b5566f43a075481f507ec58
data/README.md CHANGED
@@ -1847,7 +1847,21 @@ qn.kvstore.delete_list(key: "my-list")
1847
1847
 
1848
1848
  ### SQL Client
1849
1849
 
1850
- Accessed as `qn.sql`. Runs SQL queries against indexed blockchain data and fetches the database schema. Backed by `https://api.quicknode.com/sql/rest/v1/`.
1850
+ Accessed as `qn.sql`. Lists the available clusters, runs SQL queries against indexed blockchain data, and fetches the database schema. Backed by `https://api.quicknode.com/sql/rest/v1/`.
1851
+
1852
+ ##### `list_clusters`
1853
+
1854
+ Lists the clusters available to query. Pass a cluster's `id` as the `cluster_id:` for `query` and `get_schema`.
1855
+
1856
+ **Parameters**: none.
1857
+
1858
+ **Returns** an Array of Hashes, each with `id` and `display_name`.
1859
+
1860
+ ```ruby
1861
+ # Ruby
1862
+ clusters = qn.sql.list_clusters
1863
+ puts clusters.map { |c| c[:id] }
1864
+ ```
1851
1865
 
1852
1866
  ##### `query`
1853
1867
 
Binary file
@@ -242,6 +242,7 @@ module QuicknodeSdk
242
242
  class Sql
243
243
  def initialize: (untyped native) -> void
244
244
 
245
+ def list_clusters: () -> untyped
245
246
  def query: (query: String, cluster_id: String) -> untyped
246
247
  def get_schema: (cluster_id: String) -> untyped
247
248
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quicknode_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Quicknode
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-29 00:00:00.000000000 Z
11
+ date: 2026-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie