@stacks/blockchain-api-client 6.3.0-beta.2 → 7.0.0-beta.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stacks/blockchain-api-client",
3
- "version": "6.3.0-beta.2",
3
+ "version": "7.0.0-beta.1",
4
4
  "access": "public",
5
5
  "description": "Client for the Stacks Blockchain API",
6
6
  "homepage": "https://github.com/hirosystems/stacks-blockchain-api/tree/master/client#readme",
@@ -49,6 +49,12 @@ export interface ChainTip {
49
49
  * @memberof ChainTip
50
50
  */
51
51
  microblock_sequence?: number;
52
+ /**
53
+ * the current burn chain block height
54
+ * @type {number}
55
+ * @memberof ChainTip
56
+ */
57
+ burn_block_height: number;
52
58
  }
53
59
 
54
60
  export function ChainTipFromJSON(json: any): ChainTip {
@@ -66,6 +72,7 @@ export function ChainTipFromJSONTyped(json: any, ignoreDiscriminator: boolean):
66
72
  'index_block_hash': json['index_block_hash'],
67
73
  'microblock_hash': !exists(json, 'microblock_hash') ? undefined : json['microblock_hash'],
68
74
  'microblock_sequence': !exists(json, 'microblock_sequence') ? undefined : json['microblock_sequence'],
75
+ 'burn_block_height': json['burn_block_height'],
69
76
  };
70
77
  }
71
78
 
@@ -83,6 +90,7 @@ export function ChainTipToJSON(value?: ChainTip | null): any {
83
90
  'index_block_hash': value.index_block_hash,
84
91
  'microblock_hash': value.microblock_hash,
85
92
  'microblock_sequence': value.microblock_sequence,
93
+ 'burn_block_height': value.burn_block_height,
86
94
  };
87
95
  }
88
96
 
@@ -69,7 +69,8 @@ export interface InboundStxTransfer {
69
69
  */
70
70
  export enum InboundStxTransferTransferTypeEnum {
71
71
  bulk_send = 'bulk-send',
72
- stx_transfer = 'stx-transfer'
72
+ stx_transfer = 'stx-transfer',
73
+ stx_transfer_memo = 'stx-transfer-memo'
73
74
  }
74
75
 
75
76
  export function InboundStxTransferFromJSON(json: any): InboundStxTransfer {
@@ -38,6 +38,12 @@ export interface ServerStatusResponse {
38
38
  * @memberof ServerStatusResponse
39
39
  */
40
40
  status: string;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof ServerStatusResponse
45
+ */
46
+ pox_v1_unlock_height?: number | null;
41
47
  /**
42
48
  *
43
49
  * @type {ChainTip}
@@ -58,6 +64,7 @@ export function ServerStatusResponseFromJSONTyped(json: any, ignoreDiscriminator
58
64
 
59
65
  'server_version': !exists(json, 'server_version') ? undefined : json['server_version'],
60
66
  'status': json['status'],
67
+ 'pox_v1_unlock_height': !exists(json, 'pox_v1_unlock_height') ? undefined : json['pox_v1_unlock_height'],
61
68
  'chain_tip': !exists(json, 'chain_tip') ? undefined : ChainTipFromJSON(json['chain_tip']),
62
69
  };
63
70
  }
@@ -73,6 +80,7 @@ export function ServerStatusResponseToJSON(value?: ServerStatusResponse | null):
73
80
 
74
81
  'server_version': value.server_version,
75
82
  'status': value.status,
83
+ 'pox_v1_unlock_height': value.pox_v1_unlock_height,
76
84
  'chain_tip': ChainTipToJSON(value.chain_tip),
77
85
  };
78
86
  }