@stacks/blockchain-api-client 7.5.0 → 7.6.0-nakamoto.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.
- package/lib/generated/apis/AccountsApi.d.ts +1 -36
- package/lib/generated/apis/AccountsApi.js +0 -38
- package/lib/generated/apis/AccountsApi.js.map +1 -1
- package/lib/generated/apis/BlocksApi.d.ts +108 -21
- package/lib/generated/apis/BlocksApi.js +97 -10
- package/lib/generated/apis/BlocksApi.js.map +1 -1
- package/lib/generated/apis/BurnBlocksApi.d.ts +82 -0
- package/lib/generated/apis/BurnBlocksApi.js +80 -0
- package/lib/generated/apis/BurnBlocksApi.js.map +1 -0
- package/lib/generated/apis/NonFungibleTokensApi.d.ts +1 -57
- package/lib/generated/apis/NonFungibleTokensApi.js +0 -55
- package/lib/generated/apis/NonFungibleTokensApi.js.map +1 -1
- package/lib/generated/apis/TransactionsApi.d.ts +38 -10
- package/lib/generated/apis/TransactionsApi.js +31 -4
- package/lib/generated/apis/TransactionsApi.js.map +1 -1
- package/lib/generated/apis/index.d.ts +1 -1
- package/lib/generated/apis/index.js +1 -1
- package/lib/generated/apis/index.js.map +1 -1
- package/lib/generated/models/BurnBlock.d.ts +51 -0
- package/lib/generated/models/BurnBlock.js +50 -0
- package/lib/generated/models/BurnBlock.js.map +1 -0
- package/lib/generated/models/BurnBlockListResponse.d.ts +46 -0
- package/lib/generated/models/{AddressNftListResponse.js → BurnBlockListResponse.js} +11 -11
- package/lib/generated/models/BurnBlockListResponse.js.map +1 -0
- package/lib/generated/models/NakamotoBlock.d.ts +123 -0
- package/lib/generated/models/NakamotoBlock.js +74 -0
- package/lib/generated/models/NakamotoBlock.js.map +1 -0
- package/lib/generated/models/NakamotoBlockListResponse.d.ts +46 -0
- package/lib/generated/models/{FungibleTokensMetadataList.js → NakamotoBlockListResponse.js} +11 -11
- package/lib/generated/models/NakamotoBlockListResponse.js.map +1 -0
- package/lib/generated/models/ServerStatusResponse.d.ts +6 -0
- package/lib/generated/models/ServerStatusResponse.js +2 -0
- package/lib/generated/models/ServerStatusResponse.js.map +1 -1
- package/lib/generated/models/index.d.ts +4 -7
- package/lib/generated/models/index.js +4 -7
- package/lib/generated/models/index.js.map +1 -1
- package/lib/index.umd.js +605 -679
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/.openapi-generator/FILES +5 -8
- package/src/generated/apis/AccountsApi.ts +0 -79
- package/src/generated/apis/BlocksApi.ts +200 -20
- package/src/generated/apis/BurnBlocksApi.ts +150 -0
- package/src/generated/apis/NonFungibleTokensApi.ts +0 -116
- package/src/generated/apis/TransactionsApi.ts +63 -10
- package/src/generated/apis/index.ts +1 -1
- package/src/generated/models/BurnBlock.ts +88 -0
- package/src/generated/models/{AddressNftListResponse.ts → BurnBlockListResponse.ts} +22 -22
- package/src/generated/models/NakamotoBlock.ts +184 -0
- package/src/generated/models/{FungibleTokensMetadataList.ts → NakamotoBlockListResponse.ts} +22 -22
- package/src/generated/models/ServerStatusResponse.ts +8 -0
- package/src/generated/models/index.ts +4 -7
- package/lib/generated/apis/FungibleTokensApi.d.ts +0 -82
- package/lib/generated/apis/FungibleTokensApi.js +0 -80
- package/lib/generated/apis/FungibleTokensApi.js.map +0 -1
- package/lib/generated/models/AddressNftListResponse.d.ts +0 -46
- package/lib/generated/models/AddressNftListResponse.js.map +0 -1
- package/lib/generated/models/AddressNftListResponseValue.d.ts +0 -33
- package/lib/generated/models/AddressNftListResponseValue.js +0 -44
- package/lib/generated/models/AddressNftListResponseValue.js.map +0 -1
- package/lib/generated/models/FungibleTokenMetadata.d.ts +0 -75
- package/lib/generated/models/FungibleTokenMetadata.js +0 -58
- package/lib/generated/models/FungibleTokenMetadata.js.map +0 -1
- package/lib/generated/models/FungibleTokensMetadataList.d.ts +0 -46
- package/lib/generated/models/FungibleTokensMetadataList.js.map +0 -1
- package/lib/generated/models/NftEvent.d.ts +0 -76
- package/lib/generated/models/NftEvent.js +0 -60
- package/lib/generated/models/NftEvent.js.map +0 -1
- package/lib/generated/models/NonFungibleTokenMetadata.d.ts +0 -63
- package/lib/generated/models/NonFungibleTokenMetadata.js +0 -54
- package/lib/generated/models/NonFungibleTokenMetadata.js.map +0 -1
- package/lib/generated/models/NonFungibleTokensMetadataList.d.ts +0 -46
- package/lib/generated/models/NonFungibleTokensMetadataList.js +0 -49
- package/lib/generated/models/NonFungibleTokensMetadataList.js.map +0 -1
- package/src/generated/apis/FungibleTokensApi.ts +0 -150
- package/src/generated/models/AddressNftListResponseValue.ts +0 -64
- package/src/generated/models/FungibleTokenMetadata.ts +0 -120
- package/src/generated/models/NftEvent.ts +0 -127
- package/src/generated/models/NonFungibleTokenMetadata.ts +0 -104
- package/src/generated/models/NonFungibleTokensMetadataList.ts +0 -87
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Stacks Blockchain API
|
|
5
|
+
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* A block
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NakamotoBlock
|
|
20
|
+
*/
|
|
21
|
+
export interface NakamotoBlock {
|
|
22
|
+
/**
|
|
23
|
+
* Set to `true` if block corresponds to the canonical chain tip
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof NakamotoBlock
|
|
26
|
+
*/
|
|
27
|
+
canonical: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Height of the block
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof NakamotoBlock
|
|
32
|
+
*/
|
|
33
|
+
height: number;
|
|
34
|
+
/**
|
|
35
|
+
* Hash representing the block
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NakamotoBlock
|
|
38
|
+
*/
|
|
39
|
+
hash: string;
|
|
40
|
+
/**
|
|
41
|
+
* The only hash that can uniquely identify an anchored block or an unconfirmed state trie
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof NakamotoBlock
|
|
44
|
+
*/
|
|
45
|
+
index_block_hash: string;
|
|
46
|
+
/**
|
|
47
|
+
* Hash of the parent block
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof NakamotoBlock
|
|
50
|
+
*/
|
|
51
|
+
parent_block_hash: string;
|
|
52
|
+
/**
|
|
53
|
+
* Index block hash of the parent block
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof NakamotoBlock
|
|
56
|
+
*/
|
|
57
|
+
parent_index_block_hash: string;
|
|
58
|
+
/**
|
|
59
|
+
* Unix timestamp (in seconds) indicating when this block was mined.
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof NakamotoBlock
|
|
62
|
+
*/
|
|
63
|
+
burn_block_time: number;
|
|
64
|
+
/**
|
|
65
|
+
* An ISO 8601 (YYYY-MM-DDTHH:mm:ss.sssZ) indicating when this block was mined.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof NakamotoBlock
|
|
68
|
+
*/
|
|
69
|
+
burn_block_time_iso: string;
|
|
70
|
+
/**
|
|
71
|
+
* Hash of the anchor chain block
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof NakamotoBlock
|
|
74
|
+
*/
|
|
75
|
+
burn_block_hash: string;
|
|
76
|
+
/**
|
|
77
|
+
* Height of the anchor chain block
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof NakamotoBlock
|
|
80
|
+
*/
|
|
81
|
+
burn_block_height: number;
|
|
82
|
+
/**
|
|
83
|
+
* Anchor chain transaction ID
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof NakamotoBlock
|
|
86
|
+
*/
|
|
87
|
+
miner_txid: string;
|
|
88
|
+
/**
|
|
89
|
+
* Number of transactions included in the block
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof NakamotoBlock
|
|
92
|
+
*/
|
|
93
|
+
tx_count: number;
|
|
94
|
+
/**
|
|
95
|
+
* Execution cost read count.
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof NakamotoBlock
|
|
98
|
+
*/
|
|
99
|
+
execution_cost_read_count: number;
|
|
100
|
+
/**
|
|
101
|
+
* Execution cost read length.
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof NakamotoBlock
|
|
104
|
+
*/
|
|
105
|
+
execution_cost_read_length: number;
|
|
106
|
+
/**
|
|
107
|
+
* Execution cost runtime.
|
|
108
|
+
* @type {number}
|
|
109
|
+
* @memberof NakamotoBlock
|
|
110
|
+
*/
|
|
111
|
+
execution_cost_runtime: number;
|
|
112
|
+
/**
|
|
113
|
+
* Execution cost write count.
|
|
114
|
+
* @type {number}
|
|
115
|
+
* @memberof NakamotoBlock
|
|
116
|
+
*/
|
|
117
|
+
execution_cost_write_count: number;
|
|
118
|
+
/**
|
|
119
|
+
* Execution cost write length.
|
|
120
|
+
* @type {number}
|
|
121
|
+
* @memberof NakamotoBlock
|
|
122
|
+
*/
|
|
123
|
+
execution_cost_write_length: number;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function NakamotoBlockFromJSON(json: any): NakamotoBlock {
|
|
127
|
+
return NakamotoBlockFromJSONTyped(json, false);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function NakamotoBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): NakamotoBlock {
|
|
131
|
+
if ((json === undefined) || (json === null)) {
|
|
132
|
+
return json;
|
|
133
|
+
}
|
|
134
|
+
return {
|
|
135
|
+
|
|
136
|
+
'canonical': json['canonical'],
|
|
137
|
+
'height': json['height'],
|
|
138
|
+
'hash': json['hash'],
|
|
139
|
+
'index_block_hash': json['index_block_hash'],
|
|
140
|
+
'parent_block_hash': json['parent_block_hash'],
|
|
141
|
+
'parent_index_block_hash': json['parent_index_block_hash'],
|
|
142
|
+
'burn_block_time': json['burn_block_time'],
|
|
143
|
+
'burn_block_time_iso': json['burn_block_time_iso'],
|
|
144
|
+
'burn_block_hash': json['burn_block_hash'],
|
|
145
|
+
'burn_block_height': json['burn_block_height'],
|
|
146
|
+
'miner_txid': json['miner_txid'],
|
|
147
|
+
'tx_count': json['tx_count'],
|
|
148
|
+
'execution_cost_read_count': json['execution_cost_read_count'],
|
|
149
|
+
'execution_cost_read_length': json['execution_cost_read_length'],
|
|
150
|
+
'execution_cost_runtime': json['execution_cost_runtime'],
|
|
151
|
+
'execution_cost_write_count': json['execution_cost_write_count'],
|
|
152
|
+
'execution_cost_write_length': json['execution_cost_write_length'],
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function NakamotoBlockToJSON(value?: NakamotoBlock | null): any {
|
|
157
|
+
if (value === undefined) {
|
|
158
|
+
return undefined;
|
|
159
|
+
}
|
|
160
|
+
if (value === null) {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
return {
|
|
164
|
+
|
|
165
|
+
'canonical': value.canonical,
|
|
166
|
+
'height': value.height,
|
|
167
|
+
'hash': value.hash,
|
|
168
|
+
'index_block_hash': value.index_block_hash,
|
|
169
|
+
'parent_block_hash': value.parent_block_hash,
|
|
170
|
+
'parent_index_block_hash': value.parent_index_block_hash,
|
|
171
|
+
'burn_block_time': value.burn_block_time,
|
|
172
|
+
'burn_block_time_iso': value.burn_block_time_iso,
|
|
173
|
+
'burn_block_hash': value.burn_block_hash,
|
|
174
|
+
'burn_block_height': value.burn_block_height,
|
|
175
|
+
'miner_txid': value.miner_txid,
|
|
176
|
+
'tx_count': value.tx_count,
|
|
177
|
+
'execution_cost_read_count': value.execution_cost_read_count,
|
|
178
|
+
'execution_cost_read_length': value.execution_cost_read_length,
|
|
179
|
+
'execution_cost_runtime': value.execution_cost_runtime,
|
|
180
|
+
'execution_cost_write_count': value.execution_cost_write_count,
|
|
181
|
+
'execution_cost_write_length': value.execution_cost_write_length,
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
@@ -14,49 +14,49 @@
|
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
NakamotoBlock,
|
|
18
|
+
NakamotoBlockFromJSON,
|
|
19
|
+
NakamotoBlockFromJSONTyped,
|
|
20
|
+
NakamotoBlockToJSON,
|
|
21
21
|
} from './';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* GET request that returns blocks
|
|
25
25
|
* @export
|
|
26
|
-
* @interface
|
|
26
|
+
* @interface NakamotoBlockListResponse
|
|
27
27
|
*/
|
|
28
|
-
export interface
|
|
28
|
+
export interface NakamotoBlockListResponse {
|
|
29
29
|
/**
|
|
30
|
-
* The number of
|
|
30
|
+
* The number of blocks to return
|
|
31
31
|
* @type {number}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof NakamotoBlockListResponse
|
|
33
33
|
*/
|
|
34
34
|
limit: number;
|
|
35
35
|
/**
|
|
36
|
-
* The number to
|
|
36
|
+
* The number to blocks to skip (starting at `0`)
|
|
37
37
|
* @type {number}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof NakamotoBlockListResponse
|
|
39
39
|
*/
|
|
40
40
|
offset: number;
|
|
41
41
|
/**
|
|
42
|
-
* The number of
|
|
42
|
+
* The number of blocks available
|
|
43
43
|
* @type {number}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof NakamotoBlockListResponse
|
|
45
45
|
*/
|
|
46
46
|
total: number;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {Array<
|
|
50
|
-
* @memberof
|
|
49
|
+
* @type {Array<NakamotoBlock>}
|
|
50
|
+
* @memberof NakamotoBlockListResponse
|
|
51
51
|
*/
|
|
52
|
-
results: Array<
|
|
52
|
+
results: Array<NakamotoBlock>;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export function
|
|
56
|
-
return
|
|
55
|
+
export function NakamotoBlockListResponseFromJSON(json: any): NakamotoBlockListResponse {
|
|
56
|
+
return NakamotoBlockListResponseFromJSONTyped(json, false);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export function
|
|
59
|
+
export function NakamotoBlockListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NakamotoBlockListResponse {
|
|
60
60
|
if ((json === undefined) || (json === null)) {
|
|
61
61
|
return json;
|
|
62
62
|
}
|
|
@@ -65,11 +65,11 @@ export function FungibleTokensMetadataListFromJSONTyped(json: any, ignoreDiscrim
|
|
|
65
65
|
'limit': json['limit'],
|
|
66
66
|
'offset': json['offset'],
|
|
67
67
|
'total': json['total'],
|
|
68
|
-
'results': ((json['results'] as Array<any>).map(
|
|
68
|
+
'results': ((json['results'] as Array<any>).map(NakamotoBlockFromJSON)),
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
72
|
+
export function NakamotoBlockListResponseToJSON(value?: NakamotoBlockListResponse | null): any {
|
|
73
73
|
if (value === undefined) {
|
|
74
74
|
return undefined;
|
|
75
75
|
}
|
|
@@ -81,7 +81,7 @@ export function FungibleTokensMetadataListToJSON(value?: FungibleTokensMetadataL
|
|
|
81
81
|
'limit': value.limit,
|
|
82
82
|
'offset': value.offset,
|
|
83
83
|
'total': value.total,
|
|
84
|
-
'results': ((value.results as Array<any>).map(
|
|
84
|
+
'results': ((value.results as Array<any>).map(NakamotoBlockToJSON)),
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
87
|
|
|
@@ -50,6 +50,12 @@ export interface ServerStatusResponse {
|
|
|
50
50
|
* @memberof ServerStatusResponse
|
|
51
51
|
*/
|
|
52
52
|
pox_v2_unlock_height?: number | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof ServerStatusResponse
|
|
57
|
+
*/
|
|
58
|
+
pox_v3_unlock_height?: number | null;
|
|
53
59
|
/**
|
|
54
60
|
*
|
|
55
61
|
* @type {ChainTip}
|
|
@@ -72,6 +78,7 @@ export function ServerStatusResponseFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
72
78
|
'status': json['status'],
|
|
73
79
|
'pox_v1_unlock_height': !exists(json, 'pox_v1_unlock_height') ? undefined : json['pox_v1_unlock_height'],
|
|
74
80
|
'pox_v2_unlock_height': !exists(json, 'pox_v2_unlock_height') ? undefined : json['pox_v2_unlock_height'],
|
|
81
|
+
'pox_v3_unlock_height': !exists(json, 'pox_v3_unlock_height') ? undefined : json['pox_v3_unlock_height'],
|
|
75
82
|
'chain_tip': !exists(json, 'chain_tip') ? undefined : ChainTipFromJSON(json['chain_tip']),
|
|
76
83
|
};
|
|
77
84
|
}
|
|
@@ -89,6 +96,7 @@ export function ServerStatusResponseToJSON(value?: ServerStatusResponse | null):
|
|
|
89
96
|
'status': value.status,
|
|
90
97
|
'pox_v1_unlock_height': value.pox_v1_unlock_height,
|
|
91
98
|
'pox_v2_unlock_height': value.pox_v2_unlock_height,
|
|
99
|
+
'pox_v3_unlock_height': value.pox_v3_unlock_height,
|
|
92
100
|
'chain_tip': ChainTipToJSON(value.chain_tip),
|
|
93
101
|
};
|
|
94
102
|
}
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
export * from './AccountDataResponse';
|
|
4
4
|
export * from './AddressAssetsListResponse';
|
|
5
5
|
export * from './AddressBalanceResponse';
|
|
6
|
-
export * from './AddressNftListResponse';
|
|
7
|
-
export * from './AddressNftListResponseValue';
|
|
8
6
|
export * from './AddressNonces';
|
|
9
7
|
export * from './AddressStxInboundListResponse';
|
|
10
8
|
export * from './AddressTokenOfferingLocked';
|
|
@@ -24,6 +22,8 @@ export * from './BnsGetNameInfoResponse';
|
|
|
24
22
|
export * from './BnsGetNamePriceResponse';
|
|
25
23
|
export * from './BnsGetNamespacePriceResponse';
|
|
26
24
|
export * from './BnsNamesOwnByAddressResponse';
|
|
25
|
+
export * from './BurnBlock';
|
|
26
|
+
export * from './BurnBlockListResponse';
|
|
27
27
|
export * from './BurnchainReward';
|
|
28
28
|
export * from './BurnchainRewardListResponse';
|
|
29
29
|
export * from './BurnchainRewardSlotHolder';
|
|
@@ -37,8 +37,6 @@ export * from './CoreNodeInfoResponse';
|
|
|
37
37
|
export * from './CoreNodePoxResponse';
|
|
38
38
|
export * from './FeeRate';
|
|
39
39
|
export * from './FeeRateRequest';
|
|
40
|
-
export * from './FungibleTokenMetadata';
|
|
41
|
-
export * from './FungibleTokensMetadataList';
|
|
42
40
|
export * from './GetRawTransactionResult';
|
|
43
41
|
export * from './GetStxSupplyLegacyFormatResponse';
|
|
44
42
|
export * from './GetStxSupplyResponse';
|
|
@@ -57,15 +55,14 @@ export * from './MempoolTransactionStatsResponseTxSimpleFeeAveragesTokenTransfer
|
|
|
57
55
|
export * from './MempoolTransactionStatsResponseTxTypeCounts';
|
|
58
56
|
export * from './Microblock';
|
|
59
57
|
export * from './MicroblockListResponse';
|
|
58
|
+
export * from './NakamotoBlock';
|
|
59
|
+
export * from './NakamotoBlockListResponse';
|
|
60
60
|
export * from './NetworkBlockTimeResponse';
|
|
61
61
|
export * from './NetworkBlockTimesResponse';
|
|
62
62
|
export * from './NetworkIdentifier';
|
|
63
|
-
export * from './NftEvent';
|
|
64
63
|
export * from './NonFungibleTokenHistoryEventList';
|
|
65
64
|
export * from './NonFungibleTokenHoldingsList';
|
|
66
|
-
export * from './NonFungibleTokenMetadata';
|
|
67
65
|
export * from './NonFungibleTokenMintList';
|
|
68
|
-
export * from './NonFungibleTokensMetadataList';
|
|
69
66
|
export * from './OtherTransactionIdentifier';
|
|
70
67
|
export * from './PoolDelegation';
|
|
71
68
|
export * from './PoolDelegationsResponse';
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stacks Blockchain API
|
|
3
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import { FungibleTokenMetadata, FungibleTokensMetadataList } from '../models';
|
|
14
|
-
export interface GetContractFtMetadataRequest {
|
|
15
|
-
contractId: string;
|
|
16
|
-
}
|
|
17
|
-
export interface GetFtMetadataListRequest {
|
|
18
|
-
limit?: number;
|
|
19
|
-
offset?: number;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* FungibleTokensApi - interface
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
* @interface FungibleTokensApiInterface
|
|
26
|
-
*/
|
|
27
|
-
export interface FungibleTokensApiInterface {
|
|
28
|
-
/**
|
|
29
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
30
|
-
* @summary Fungible tokens metadata for contract id
|
|
31
|
-
* @param {string} contractId token\'s contract id
|
|
32
|
-
* @param {*} [options] Override http request option.
|
|
33
|
-
* @throws {RequiredError}
|
|
34
|
-
* @memberof FungibleTokensApiInterface
|
|
35
|
-
*/
|
|
36
|
-
getContractFtMetadataRaw(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokenMetadata>>;
|
|
37
|
-
/**
|
|
38
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
39
|
-
* Fungible tokens metadata for contract id
|
|
40
|
-
*/
|
|
41
|
-
getContractFtMetadata(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<FungibleTokenMetadata>;
|
|
42
|
-
/**
|
|
43
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
44
|
-
* @summary Fungible tokens metadata list
|
|
45
|
-
* @param {number} [limit] max number of tokens to fetch.
|
|
46
|
-
* @param {number} [offset] index of first tokens to fetch
|
|
47
|
-
* @param {*} [options] Override http request option.
|
|
48
|
-
* @throws {RequiredError}
|
|
49
|
-
* @memberof FungibleTokensApiInterface
|
|
50
|
-
*/
|
|
51
|
-
getFtMetadataListRaw(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokensMetadataList>>;
|
|
52
|
-
/**
|
|
53
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
54
|
-
* Fungible tokens metadata list
|
|
55
|
-
*/
|
|
56
|
-
getFtMetadataList(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<FungibleTokensMetadataList>;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export declare class FungibleTokensApi extends runtime.BaseAPI implements FungibleTokensApiInterface {
|
|
62
|
-
/**
|
|
63
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
64
|
-
* Fungible tokens metadata for contract id
|
|
65
|
-
*/
|
|
66
|
-
getContractFtMetadataRaw(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokenMetadata>>;
|
|
67
|
-
/**
|
|
68
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
69
|
-
* Fungible tokens metadata for contract id
|
|
70
|
-
*/
|
|
71
|
-
getContractFtMetadata(requestParameters: GetContractFtMetadataRequest, initOverrides?: RequestInit): Promise<FungibleTokenMetadata>;
|
|
72
|
-
/**
|
|
73
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
74
|
-
* Fungible tokens metadata list
|
|
75
|
-
*/
|
|
76
|
-
getFtMetadataListRaw(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<FungibleTokensMetadataList>>;
|
|
77
|
-
/**
|
|
78
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
79
|
-
* Fungible tokens metadata list
|
|
80
|
-
*/
|
|
81
|
-
getFtMetadataList(requestParameters: GetFtMetadataListRequest, initOverrides?: RequestInit): Promise<FungibleTokensMetadataList>;
|
|
82
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Stacks Blockchain API
|
|
6
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.FungibleTokensApi = void 0;
|
|
17
|
-
const runtime = require("../runtime");
|
|
18
|
-
const models_1 = require("../models");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
class FungibleTokensApi extends runtime.BaseAPI {
|
|
23
|
-
/**
|
|
24
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
25
|
-
* Fungible tokens metadata for contract id
|
|
26
|
-
*/
|
|
27
|
-
async getContractFtMetadataRaw(requestParameters, initOverrides) {
|
|
28
|
-
if (requestParameters.contractId === null || requestParameters.contractId === undefined) {
|
|
29
|
-
throw new runtime.RequiredError('contractId', 'Required parameter requestParameters.contractId was null or undefined when calling getContractFtMetadata.');
|
|
30
|
-
}
|
|
31
|
-
const queryParameters = {};
|
|
32
|
-
const headerParameters = {};
|
|
33
|
-
const response = await this.request({
|
|
34
|
-
path: `/extended/v1/tokens/{contractId}/ft/metadata`.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters.contractId))),
|
|
35
|
-
method: 'GET',
|
|
36
|
-
headers: headerParameters,
|
|
37
|
-
query: queryParameters,
|
|
38
|
-
}, initOverrides);
|
|
39
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FungibleTokenMetadataFromJSON)(jsonValue));
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves the metadata for fungible tokens for a given contract id
|
|
43
|
-
* Fungible tokens metadata for contract id
|
|
44
|
-
*/
|
|
45
|
-
async getContractFtMetadata(requestParameters, initOverrides) {
|
|
46
|
-
const response = await this.getContractFtMetadataRaw(requestParameters, initOverrides);
|
|
47
|
-
return await response.value();
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
51
|
-
* Fungible tokens metadata list
|
|
52
|
-
*/
|
|
53
|
-
async getFtMetadataListRaw(requestParameters, initOverrides) {
|
|
54
|
-
const queryParameters = {};
|
|
55
|
-
if (requestParameters.limit !== undefined) {
|
|
56
|
-
queryParameters['limit'] = requestParameters.limit;
|
|
57
|
-
}
|
|
58
|
-
if (requestParameters.offset !== undefined) {
|
|
59
|
-
queryParameters['offset'] = requestParameters.offset;
|
|
60
|
-
}
|
|
61
|
-
const headerParameters = {};
|
|
62
|
-
const response = await this.request({
|
|
63
|
-
path: `/extended/v1/tokens/ft/metadata`,
|
|
64
|
-
method: 'GET',
|
|
65
|
-
headers: headerParameters,
|
|
66
|
-
query: queryParameters,
|
|
67
|
-
}, initOverrides);
|
|
68
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.FungibleTokensMetadataListFromJSON)(jsonValue));
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* **NOTE:** This endpoint is deprecated in favor of the [Token Metadata Service](https://github.com/hirosystems/token-metadata-service). Retrieves list of fungible tokens with their metadata. More information on Fungible Tokens on the Stacks blockchain can be found [here](https://docs.stacks.co/write-smart-contracts/tokens#fungible-tokens).
|
|
72
|
-
* Fungible tokens metadata list
|
|
73
|
-
*/
|
|
74
|
-
async getFtMetadataList(requestParameters, initOverrides) {
|
|
75
|
-
const response = await this.getFtMetadataListRaw(requestParameters, initOverrides);
|
|
76
|
-
return await response.value();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
exports.FungibleTokensApi = FungibleTokensApi;
|
|
80
|
-
//# sourceMappingURL=FungibleTokensApi.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FungibleTokensApi.js","sourceRoot":"","sources":["../../../src/generated/apis/FungibleTokensApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,sCAAsC;AACtC,sCAOmB;AAqDnB;;GAEG;AACH,MAAa,iBAAkB,SAAQ,OAAO,CAAC,OAAO;IAElD;;;OAGG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAA+C,EAAE,aAA2B;QACvG,IAAI,iBAAiB,CAAC,UAAU,KAAK,IAAI,IAAI,iBAAiB,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;YACtF,MAAM,IAAI,OAAO,CAAC,aAAa,CAAC,YAAY,EAAC,2GAA2G,CAAC,CAAC;QAC9J,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,8CAA8C,CAAC,OAAO,CAAC,IAAI,YAAY,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;YAC3I,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,sCAA6B,EAAC,SAAS,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,qBAAqB,CAAC,iBAA+C,EAAE,aAA2B;QACpG,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACvF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,oBAAoB,CAAC,iBAA2C,EAAE,aAA2B;QAC/F,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,IAAI,iBAAiB,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YACxC,eAAe,CAAC,OAAO,CAAC,GAAG,iBAAiB,CAAC,KAAK,CAAC;QACvD,CAAC;QAED,IAAI,iBAAiB,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;YACzC,eAAe,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC,MAAM,CAAC;QACzD,CAAC;QAED,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,iCAAiC;YACvC,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,2CAAkC,EAAC,SAAS,CAAC,CAAC,CAAC;IAC/G,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,iBAAiB,CAAC,iBAA2C,EAAE,aAA2B;QAC5F,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACnF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAtED,8CAsEC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stacks Blockchain API
|
|
3
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { NftEvent } from './';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddressNftListResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AddressNftListResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof AddressNftListResponse
|
|
23
|
-
*/
|
|
24
|
-
limit: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof AddressNftListResponse
|
|
29
|
-
*/
|
|
30
|
-
offset: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof AddressNftListResponse
|
|
35
|
-
*/
|
|
36
|
-
total: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<NftEvent>}
|
|
40
|
-
* @memberof AddressNftListResponse
|
|
41
|
-
*/
|
|
42
|
-
nft_events: Array<NftEvent>;
|
|
43
|
-
}
|
|
44
|
-
export declare function AddressNftListResponseFromJSON(json: any): AddressNftListResponse;
|
|
45
|
-
export declare function AddressNftListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponse;
|
|
46
|
-
export declare function AddressNftListResponseToJSON(value?: AddressNftListResponse | null): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddressNftListResponse.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNftListResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAGH,yBAKY;AAkCZ,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAFD,wEAEC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,YAAY,EAAE,CAAE,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAAC,mBAAgB,CAAC,CAAC;KAC3E,CAAC;AACN,CAAC;AAXD,kFAWC;AAED,SAAgB,4BAA4B,CAAC,KAAqC;IAC9E,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,YAAY,EAAE,CAAE,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,iBAAc,CAAC,CAAC;KACvE,CAAC;AACN,CAAC;AAdD,oEAcC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stacks Blockchain API
|
|
3
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Identifier of the NFT
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AddressNftListResponseValue
|
|
16
|
-
*/
|
|
17
|
-
export interface AddressNftListResponseValue {
|
|
18
|
-
/**
|
|
19
|
-
* Hex string representing the identifier of the NFT
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AddressNftListResponseValue
|
|
22
|
-
*/
|
|
23
|
-
hex: string;
|
|
24
|
-
/**
|
|
25
|
-
* Readable string of the NFT identifier
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AddressNftListResponseValue
|
|
28
|
-
*/
|
|
29
|
-
repr: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function AddressNftListResponseValueFromJSON(json: any): AddressNftListResponseValue;
|
|
32
|
-
export declare function AddressNftListResponseValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressNftListResponseValue;
|
|
33
|
-
export declare function AddressNftListResponseValueToJSON(value?: AddressNftListResponseValue | null): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Stacks Blockchain API
|
|
6
|
-
* Welcome to the API reference overview for the <a href=\"https://docs.hiro.so/get-started/stacks-blockchain-api\">Stacks Blockchain API</a>. <a href=\"https://hirosystems.github.io/stacks-blockchain-api/collection.json\" download=\"stacks-api-collection.json\">Download Postman collection</a>
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: STACKS_API_VERSION
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.AddressNftListResponseValueToJSON = exports.AddressNftListResponseValueFromJSONTyped = exports.AddressNftListResponseValueFromJSON = void 0;
|
|
17
|
-
function AddressNftListResponseValueFromJSON(json) {
|
|
18
|
-
return AddressNftListResponseValueFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.AddressNftListResponseValueFromJSON = AddressNftListResponseValueFromJSON;
|
|
21
|
-
function AddressNftListResponseValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'hex': json['hex'],
|
|
27
|
-
'repr': json['repr'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.AddressNftListResponseValueFromJSONTyped = AddressNftListResponseValueFromJSONTyped;
|
|
31
|
-
function AddressNftListResponseValueToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'hex': value.hex,
|
|
40
|
-
'repr': value.repr,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.AddressNftListResponseValueToJSON = AddressNftListResponseValueToJSON;
|
|
44
|
-
//# sourceMappingURL=AddressNftListResponseValue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddressNftListResponseValue.js","sourceRoot":"","sources":["../../../src/generated/models/AddressNftListResponseValue.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAFD,kFAEC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AATD,4FASC;AAED,SAAgB,iCAAiC,CAAC,KAA0C;IACxF,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACtB,OAAO,SAAS,CAAC;IACrB,CAAC;IACD,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,GAAG;QAChB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN,CAAC;AAZD,8EAYC"}
|