quicknode_sdk 0.5.0 → 0.6.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -0
  3. data/sig/quicknode_sdk.rbs +2 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c63c5c72522badf480251715de7731ca5cc9d6cebaf8b2b04e2c4925808f6f0
4
- data.tar.gz: cc7c00f5797c5b17b293222521ad17ac1940fde4c68468d2df961837d379f1da
3
+ metadata.gz: 6854af9a50a833f341a2f5c5a4e57f5bdbf586414de74b1107e89bba71a8b3ff
4
+ data.tar.gz: 62b51fca74bcb9f937cc63faf7bc823b2d4028571ef7d1368739d34b005b32ba
5
5
  SHA512:
6
- metadata.gz: b1df022b6e68366439555aec869ae857cd151d212d67f16f3912fe02478d99d69552b2bacdce8b5fd8778134111ddf04552cb67a53787d3ec6fdff8fa95e9848
7
- data.tar.gz: 6c846a00b89c664d6a7d297b7b5dee0b16febe1eb7c4f5c66ae4b4891e5d07fc2680a0c4ca831135df859e024dd983f8874d3ad313c42a783d622d7fb70a8855
6
+ metadata.gz: 162e7b181523fc76b03609dc1e57e8fd49162d623367118f1a2119ddf173b304d2c257477ba0bf21c66a630c680d2a66c2e12aa7161140019a702c28bb762420
7
+ data.tar.gz: bbaafd016f844ef53e6f82901af7d32022a4946091b5189b7ded26b8a11d1f63c0e1fe1e857a9f1fc8a3fc98660d66934d55951eeba1bce7affc77efa992916a
data/README.md CHANGED
@@ -34,6 +34,7 @@ This is one of four language bindings published from the same Rust core. See the
34
34
  - [Endpoint URLs](#endpoint-urls)
35
35
  - [Metrics](#metrics)
36
36
  - [Chains](#chains)
37
+ - [Account](#account)
37
38
  - [Billing](#billing)
38
39
  - [Bulk Operations](#bulk-operations)
39
40
  - [Account Tags](#account-tags)
@@ -928,6 +929,34 @@ Lists the blockchains supported by Quicknode along with their networks.
928
929
  resp = qn.admin.list_chains
929
930
  ```
930
931
 
932
+ #### Account
933
+
934
+ ##### `account_info` / `accountInfo`
935
+
936
+ Returns details about the account, including its id, name, creation timestamp, billing version, and current subscription.
937
+
938
+ **Parameters**: none.
939
+
940
+ **Returns**: `AccountInfoResponse` with `data: AccountInfo` (including a nested `subscription: AccountSubscription`).
941
+
942
+ ```ruby
943
+ # Ruby
944
+ resp = qn.admin.account_info
945
+ ```
946
+
947
+ ##### `get_api_credits` / `getApiCredits`
948
+
949
+ Returns the per-method API credit costs for a chain, identified by its slug (the same slugs returned by `list_chains`, e.g. `ethereum`). An unknown chain slug raises `ApiError` (status 404).
950
+
951
+ **Parameters**: `chain` (string, required) — the chain slug.
952
+
953
+ **Returns**: `GetApiCreditsResponse` with `data: [ApiCredit]`, where each `ApiCredit` has `method` and `credits`.
954
+
955
+ ```ruby
956
+ # Ruby
957
+ resp = qn.admin.get_api_credits(chain: "ethereum")
958
+ ```
959
+
931
960
  #### Billing
932
961
 
933
962
  ##### `list_invoices` / `listInvoices`
@@ -91,6 +91,8 @@ module QuicknodeSdk
91
91
  def get_endpoint_metrics: (id: String, period: String, metric: String) -> untyped
92
92
  def get_account_metrics: (period: String, metric: String, ?percentile: String) -> untyped
93
93
  def list_chains: () -> untyped
94
+ def account_info: () -> untyped
95
+ def get_api_credits: (chain: String) -> untyped
94
96
  def list_invoices: () -> untyped
95
97
  def list_payments: () -> untyped
96
98
  def list_teams: () -> untyped
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.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Quicknode
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-25 00:00:00.000000000 Z
11
+ date: 2026-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie