Skip to content

Commit b13cf37

Browse files
committed
chore: update generated client
1 parent 9e9fd99 commit b13cf37

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

client/src/generated/models/Block.ts

+25-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface Block {
3838
*/
3939
hash: string;
4040
/**
41-
* Hash of the prant block
41+
* Hash of the parent block
4242
* @type {string}
4343
* @memberof Block
4444
*/
@@ -55,6 +55,24 @@ export interface Block {
5555
* @memberof Block
5656
*/
5757
burn_block_time_iso: string;
58+
/**
59+
* Hash of the anchor chain block
60+
* @type {string}
61+
* @memberof Block
62+
*/
63+
burn_block_hash: string;
64+
/**
65+
* Height of the anchor chain block
66+
* @type {number}
67+
* @memberof Block
68+
*/
69+
burn_block_height: number;
70+
/**
71+
* Anchor chain transaction ID
72+
* @type {string}
73+
* @memberof Block
74+
*/
75+
miner_txid: string;
5876
/**
5977
* List of transactions included in the block
6078
* @type {Array<string>}
@@ -79,6 +97,9 @@ export function BlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): Blo
7997
'parent_block_hash': json['parent_block_hash'],
8098
'burn_block_time': json['burn_block_time'],
8199
'burn_block_time_iso': json['burn_block_time_iso'],
100+
'burn_block_hash': json['burn_block_hash'],
101+
'burn_block_height': json['burn_block_height'],
102+
'miner_txid': json['miner_txid'],
82103
'txs': json['txs'],
83104
};
84105
}
@@ -98,6 +119,9 @@ export function BlockToJSON(value?: Block | null): any {
98119
'parent_block_hash': value.parent_block_hash,
99120
'burn_block_time': value.burn_block_time,
100121
'burn_block_time_iso': value.burn_block_time_iso,
122+
'burn_block_hash': value.burn_block_hash,
123+
'burn_block_height': value.burn_block_height,
124+
'miner_txid': value.miner_txid,
101125
'txs': value.txs,
102126
};
103127
}

0 commit comments

Comments
 (0)