@stacks/blockchain-api-client 9.0.0-pox5.14 → 9.0.0-pox5.15

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.
@@ -2159,6 +2159,26 @@ export interface paths {
2159
2159
  patch?: never;
2160
2160
  trace?: never;
2161
2161
  };
2162
+ "/extended/v3/staking/signers/{principal}/stakers": {
2163
+ parameters: {
2164
+ query?: never;
2165
+ header?: never;
2166
+ path?: never;
2167
+ cookie?: never;
2168
+ };
2169
+ /**
2170
+ * Get staking signer stakers
2171
+ * @description List the stakers that belong to a pox-5 signer, across both direct STX staking and BTC/sBTC bond staking. Each entry indicates which staking type(s) the staker participates in under this signer.
2172
+ */
2173
+ get: operations["get_staking_signer_stakers"];
2174
+ put?: never;
2175
+ post?: never;
2176
+ delete?: never;
2177
+ options?: never;
2178
+ head?: never;
2179
+ patch?: never;
2180
+ trace?: never;
2181
+ };
2162
2182
  "/extended/v3/transactions": {
2163
2183
  parameters: {
2164
2184
  query?: never;
@@ -39180,6 +39200,70 @@ export interface operations {
39180
39200
  };
39181
39201
  };
39182
39202
  };
39203
+ get_staking_signer_stakers: {
39204
+ parameters: {
39205
+ query?: {
39206
+ /** @description Number of results per page */
39207
+ limit?: number;
39208
+ /** @description Cursor for paginating a signer's stakers (sorted by staker). Format: staker principal */
39209
+ cursor?: string;
39210
+ };
39211
+ header?: never;
39212
+ path: {
39213
+ principal: string;
39214
+ };
39215
+ cookie?: never;
39216
+ };
39217
+ requestBody?: never;
39218
+ responses: {
39219
+ /** @description Default Response */
39220
+ 200: {
39221
+ headers: {
39222
+ [name: string]: unknown;
39223
+ };
39224
+ content: {
39225
+ "application/json": {
39226
+ /** @example 1 */
39227
+ total: number;
39228
+ /**
39229
+ * @description Number of results per page
39230
+ * @default 100
39231
+ */
39232
+ limit: number;
39233
+ cursor: {
39234
+ next: string | null;
39235
+ previous: string | null;
39236
+ current: string | null;
39237
+ };
39238
+ results: {
39239
+ staker: string;
39240
+ /**
39241
+ * @description The staking types this staker participates in under this signer: `stx` for direct pox-5 STX staking, `btc` for BTC/sBTC bond staking. A staker doing both has both entries.
39242
+ * @example [
39243
+ * "stx"
39244
+ * ]
39245
+ */
39246
+ types: ("stx" | "btc")[];
39247
+ }[];
39248
+ };
39249
+ };
39250
+ };
39251
+ /** @description Default Response */
39252
+ "4XX": {
39253
+ headers: {
39254
+ [name: string]: unknown;
39255
+ };
39256
+ content: {
39257
+ "application/json": {
39258
+ error: string;
39259
+ message?: string;
39260
+ } & {
39261
+ [key: string]: unknown;
39262
+ };
39263
+ };
39264
+ };
39265
+ };
39266
+ };
39183
39267
  get_transactions: {
39184
39268
  parameters: {
39185
39269
  query?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/blockchain-api-client",
3
- "version": "9.0.0-pox5.14",
3
+ "version": "9.0.0-pox5.15",
4
4
  "access": "public",
5
5
  "description": "Client for the Stacks Blockchain API",
6
6
  "homepage": "https://github.com/stx-labs/stacks-blockchain-api/tree/master/client#readme",
@@ -2159,6 +2159,26 @@ export interface paths {
2159
2159
  patch?: never;
2160
2160
  trace?: never;
2161
2161
  };
2162
+ "/extended/v3/staking/signers/{principal}/stakers": {
2163
+ parameters: {
2164
+ query?: never;
2165
+ header?: never;
2166
+ path?: never;
2167
+ cookie?: never;
2168
+ };
2169
+ /**
2170
+ * Get staking signer stakers
2171
+ * @description List the stakers that belong to a pox-5 signer, across both direct STX staking and BTC/sBTC bond staking. Each entry indicates which staking type(s) the staker participates in under this signer.
2172
+ */
2173
+ get: operations["get_staking_signer_stakers"];
2174
+ put?: never;
2175
+ post?: never;
2176
+ delete?: never;
2177
+ options?: never;
2178
+ head?: never;
2179
+ patch?: never;
2180
+ trace?: never;
2181
+ };
2162
2182
  "/extended/v3/transactions": {
2163
2183
  parameters: {
2164
2184
  query?: never;
@@ -39180,6 +39200,70 @@ export interface operations {
39180
39200
  };
39181
39201
  };
39182
39202
  };
39203
+ get_staking_signer_stakers: {
39204
+ parameters: {
39205
+ query?: {
39206
+ /** @description Number of results per page */
39207
+ limit?: number;
39208
+ /** @description Cursor for paginating a signer's stakers (sorted by staker). Format: staker principal */
39209
+ cursor?: string;
39210
+ };
39211
+ header?: never;
39212
+ path: {
39213
+ principal: string;
39214
+ };
39215
+ cookie?: never;
39216
+ };
39217
+ requestBody?: never;
39218
+ responses: {
39219
+ /** @description Default Response */
39220
+ 200: {
39221
+ headers: {
39222
+ [name: string]: unknown;
39223
+ };
39224
+ content: {
39225
+ "application/json": {
39226
+ /** @example 1 */
39227
+ total: number;
39228
+ /**
39229
+ * @description Number of results per page
39230
+ * @default 100
39231
+ */
39232
+ limit: number;
39233
+ cursor: {
39234
+ next: string | null;
39235
+ previous: string | null;
39236
+ current: string | null;
39237
+ };
39238
+ results: {
39239
+ staker: string;
39240
+ /**
39241
+ * @description The staking types this staker participates in under this signer: `stx` for direct pox-5 STX staking, `btc` for BTC/sBTC bond staking. A staker doing both has both entries.
39242
+ * @example [
39243
+ * "stx"
39244
+ * ]
39245
+ */
39246
+ types: ("stx" | "btc")[];
39247
+ }[];
39248
+ };
39249
+ };
39250
+ };
39251
+ /** @description Default Response */
39252
+ "4XX": {
39253
+ headers: {
39254
+ [name: string]: unknown;
39255
+ };
39256
+ content: {
39257
+ "application/json": {
39258
+ error: string;
39259
+ message?: string;
39260
+ } & {
39261
+ [key: string]: unknown;
39262
+ };
39263
+ };
39264
+ };
39265
+ };
39266
+ };
39183
39267
  get_transactions: {
39184
39268
  parameters: {
39185
39269
  query?: {