quicknode_sdk 0.5.0-x86_64-linux → 0.6.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 +4 -4
- data/README.md +29 -0
- data/lib/quicknode_sdk/quicknode_sdk.so +0 -0
- data/sig/quicknode_sdk.rbs +2 -0
- 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: 864d21eab7cf7402e82e26f9e5392bda6b0a96027c9fdde1fca632932c700b37
|
|
4
|
+
data.tar.gz: f45ffa07def2d1e11ce81bdd23ebe1f2b2c6d0fcda21e2b91f11506c7c7ccf6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 324f4b8eee963eca19f50791810a7cd0865e70c0c57dc2ca8c3d6335049716aa7dc1b6441c5e0d63d392852106be7266d7bcabf96f7d40f37f078fcde198282c
|
|
7
|
+
data.tar.gz: 9a7aef4c9384232d3e226ddb5b8ae3fd66c2fb7d518c2e0daf8cb6edafc9787e1f26ddbe58c59e06acb0ba06c0092815afed7517ae83c8d25d1920a4eb82521e
|
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`
|
|
Binary file
|
data/sig/quicknode_sdk.rbs
CHANGED
|
@@ -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.
|
|
4
|
+
version: 0.6.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-
|
|
11
|
+
date: 2026-07-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: hashie
|