dogecoin-core-trpc-api 0.0.1 → 0.0.2

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.
@@ -269,6 +269,72 @@ declare function createDogecoinCoreClient(options?: DogecoinCoreClientOptions):
269
269
  };
270
270
  meta: object;
271
271
  }>;
272
+ getBlockchainInfo: _trpc_server.TRPCQueryProcedure<{
273
+ input: {
274
+ requestId: string | null;
275
+ };
276
+ output: {
277
+ id: string | null;
278
+ error: {
279
+ message: string;
280
+ } | null;
281
+ result: {
282
+ chain: string;
283
+ blocks: number;
284
+ headers: number;
285
+ bestblockhash: string;
286
+ difficulty: number;
287
+ mediantime: number;
288
+ verificationprogress: number;
289
+ initialblockdownload: boolean;
290
+ chainwork: string;
291
+ size_on_disk: number;
292
+ pruned: boolean;
293
+ pruneheight?: number | undefined;
294
+ automatic_pruning?: boolean | undefined;
295
+ prune_target_size?: number | undefined;
296
+ softforks?: unknown[] | Record<string, unknown> | undefined;
297
+ bip9_softforks?: Record<string, unknown> | undefined;
298
+ warnings?: string | undefined;
299
+ };
300
+ };
301
+ meta: object;
302
+ }>;
303
+ listUnspent: _trpc_server.TRPCQueryProcedure<{
304
+ input: {
305
+ requestId: string | null;
306
+ minconf?: number | undefined;
307
+ maxconf?: number | undefined;
308
+ addresses?: string[] | undefined;
309
+ include_unsafe?: boolean | undefined;
310
+ query_options?: {
311
+ minimumAmount?: number | undefined;
312
+ maximumAmount?: number | undefined;
313
+ maximumCount?: number | undefined;
314
+ minimumSumAmount?: number | undefined;
315
+ } | undefined;
316
+ };
317
+ output: {
318
+ id: string | null;
319
+ error: {
320
+ message: string;
321
+ } | null;
322
+ result: {
323
+ txid: string;
324
+ vout: number;
325
+ scriptPubKey: string;
326
+ amount: number;
327
+ confirmations: number;
328
+ spendable: boolean;
329
+ solvable: boolean;
330
+ address?: string | undefined;
331
+ account?: string | undefined;
332
+ redeemScript?: string | undefined;
333
+ safe?: boolean | undefined;
334
+ }[];
335
+ };
336
+ meta: object;
337
+ }>;
272
338
  validateAddress: _trpc_server.TRPCQueryProcedure<{
273
339
  input: {
274
340
  requestId: string | null;
@@ -269,6 +269,72 @@ declare function createDogecoinCoreClient(options?: DogecoinCoreClientOptions):
269
269
  };
270
270
  meta: object;
271
271
  }>;
272
+ getBlockchainInfo: _trpc_server.TRPCQueryProcedure<{
273
+ input: {
274
+ requestId: string | null;
275
+ };
276
+ output: {
277
+ id: string | null;
278
+ error: {
279
+ message: string;
280
+ } | null;
281
+ result: {
282
+ chain: string;
283
+ blocks: number;
284
+ headers: number;
285
+ bestblockhash: string;
286
+ difficulty: number;
287
+ mediantime: number;
288
+ verificationprogress: number;
289
+ initialblockdownload: boolean;
290
+ chainwork: string;
291
+ size_on_disk: number;
292
+ pruned: boolean;
293
+ pruneheight?: number | undefined;
294
+ automatic_pruning?: boolean | undefined;
295
+ prune_target_size?: number | undefined;
296
+ softforks?: unknown[] | Record<string, unknown> | undefined;
297
+ bip9_softforks?: Record<string, unknown> | undefined;
298
+ warnings?: string | undefined;
299
+ };
300
+ };
301
+ meta: object;
302
+ }>;
303
+ listUnspent: _trpc_server.TRPCQueryProcedure<{
304
+ input: {
305
+ requestId: string | null;
306
+ minconf?: number | undefined;
307
+ maxconf?: number | undefined;
308
+ addresses?: string[] | undefined;
309
+ include_unsafe?: boolean | undefined;
310
+ query_options?: {
311
+ minimumAmount?: number | undefined;
312
+ maximumAmount?: number | undefined;
313
+ maximumCount?: number | undefined;
314
+ minimumSumAmount?: number | undefined;
315
+ } | undefined;
316
+ };
317
+ output: {
318
+ id: string | null;
319
+ error: {
320
+ message: string;
321
+ } | null;
322
+ result: {
323
+ txid: string;
324
+ vout: number;
325
+ scriptPubKey: string;
326
+ amount: number;
327
+ confirmations: number;
328
+ spendable: boolean;
329
+ solvable: boolean;
330
+ address?: string | undefined;
331
+ account?: string | undefined;
332
+ redeemScript?: string | undefined;
333
+ safe?: boolean | undefined;
334
+ }[];
335
+ };
336
+ meta: object;
337
+ }>;
272
338
  validateAddress: _trpc_server.TRPCQueryProcedure<{
273
339
  input: {
274
340
  requestId: string | null;