@mr-zwets/bchn-api-wrapper 1.0.1 → 1.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.
- package/.claude/settings.local.json +8 -0
- package/.github/workflows/ci.yaml +36 -0
- package/CLAUDE.md +70 -0
- package/README.md +121 -129
- package/dist/interfaces/interfaces.d.ts +13 -0
- package/dist/interfaces/restInterfaces/interfaces.d.ts +124 -18
- package/dist/interfaces/rpcInterfaces/blockchain.d.ts +293 -102
- package/dist/interfaces/rpcInterfaces/control.d.ts +6 -0
- package/dist/interfaces/rpcInterfaces/generating.d.ts +2 -0
- package/dist/interfaces/rpcInterfaces/mining.d.ts +9 -0
- package/dist/interfaces/rpcInterfaces/network.d.ts +18 -0
- package/dist/interfaces/rpcInterfaces/rawtransactions.d.ts +21 -0
- package/dist/interfaces/rpcInterfaces/util.d.ts +5 -0
- package/dist/interfaces/rpcInterfaces/wallet.d.ts +54 -0
- package/dist/interfaces/rpcInterfaces/zmq.d.ts +1 -0
- package/dist/restClient.d.ts +13 -1
- package/dist/restClient.js +19 -6
- package/dist/rpcClient.d.ts +7 -0
- package/dist/rpcClient.js +7 -0
- package/package.json +7 -8
- package/pnpm-lock.yaml +1279 -0
- package/src/index.ts +3 -3
- package/src/interfaces/interfaces.ts +96 -86
- package/src/interfaces/restInterfaces/interfaces.ts +235 -116
- package/src/interfaces/rpcInterfaces/blockchain.ts +932 -758
- package/src/interfaces/rpcInterfaces/control.ts +68 -62
- package/src/interfaces/rpcInterfaces/generating.ts +23 -21
- package/src/interfaces/rpcInterfaces/index.ts +13 -13
- package/src/interfaces/rpcInterfaces/mining.ts +151 -143
- package/src/interfaces/rpcInterfaces/network.ts +213 -195
- package/src/interfaces/rpcInterfaces/rawtransactions.ts +332 -314
- package/src/interfaces/rpcInterfaces/util.ts +56 -52
- package/src/interfaces/rpcInterfaces/wallet.ts +728 -674
- package/src/interfaces/rpcInterfaces/zmq.ts +12 -11
- package/src/restClient.ts +134 -119
- package/src/rpcClient.ts +100 -93
- package/src/utils/errors.ts +6 -6
- package/src/utils/utils.ts +55 -55
- package/test/restClient.test.ts +33 -31
- package/test/rpcClient.test.ts +119 -115
- package/test/setupTests.ts +56 -54
- package/test/tsconfig.json +4 -4
- package/tsconfig.json +13 -13
- package/vitest.config.ts +8 -8
- package/CHANGELOG.md +0 -7
|
@@ -1,314 +1,332 @@
|
|
|
1
|
-
/* --- Rawtransactions Commands --- */
|
|
2
|
-
// progress 14/14
|
|
3
|
-
|
|
4
|
-
import type { TokenData, Transaction, TransactionInput, TransactionOutput } from "../interfaces.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
| {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
export interface
|
|
167
|
-
method: '
|
|
168
|
-
params: [
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
];
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
1
|
+
/* --- Rawtransactions Commands --- */
|
|
2
|
+
// progress 14/14
|
|
3
|
+
|
|
4
|
+
import type { TokenData, Transaction, TransactionInput, TransactionOutput } from "../interfaces.js";
|
|
5
|
+
|
|
6
|
+
/** Combines multiple PSBTs into one. */
|
|
7
|
+
export interface CombinePsbt {
|
|
8
|
+
method: 'decoderawtransaction';
|
|
9
|
+
params: [
|
|
10
|
+
txs: string[]
|
|
11
|
+
];
|
|
12
|
+
response: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Combines multiple raw transactions into one. */
|
|
16
|
+
export interface CombineRawTransaction {
|
|
17
|
+
method: 'combinerawtransaction';
|
|
18
|
+
params: [
|
|
19
|
+
txs: string[]
|
|
20
|
+
];
|
|
21
|
+
response: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Converts a raw transaction to PSBT format. */
|
|
25
|
+
export interface ConvertToPsbt {
|
|
26
|
+
method: 'converttopsbt';
|
|
27
|
+
params: [
|
|
28
|
+
hexstring: string,
|
|
29
|
+
permitsigdata?: boolean
|
|
30
|
+
];
|
|
31
|
+
response: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** Creates an unsigned PSBT. */
|
|
35
|
+
export interface CreatePsbt {
|
|
36
|
+
method: 'createpsbt';
|
|
37
|
+
params: [
|
|
38
|
+
inputs: {
|
|
39
|
+
txid: string;
|
|
40
|
+
vout: number;
|
|
41
|
+
sequence?: number;
|
|
42
|
+
}[],
|
|
43
|
+
outputs: {
|
|
44
|
+
[address: string]: number
|
|
45
|
+
| {
|
|
46
|
+
amount: number;
|
|
47
|
+
tokendata: TokenData;
|
|
48
|
+
}
|
|
49
|
+
| {
|
|
50
|
+
data: string;
|
|
51
|
+
}
|
|
52
|
+
}[],
|
|
53
|
+
locktime?: number
|
|
54
|
+
];
|
|
55
|
+
response: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Creates an unsigned raw transaction. */
|
|
59
|
+
export interface CreateRawTransaction {
|
|
60
|
+
method: 'createrawtransaction';
|
|
61
|
+
params: [
|
|
62
|
+
inputs: {
|
|
63
|
+
txid: string;
|
|
64
|
+
vout: number;
|
|
65
|
+
sequence?: number;
|
|
66
|
+
}[],
|
|
67
|
+
outputs: {
|
|
68
|
+
[address: string]: number
|
|
69
|
+
| {
|
|
70
|
+
amount: number;
|
|
71
|
+
tokendata: TokenData;
|
|
72
|
+
}
|
|
73
|
+
| {
|
|
74
|
+
data: string;
|
|
75
|
+
}
|
|
76
|
+
}[],
|
|
77
|
+
locktime?: number,
|
|
78
|
+
];
|
|
79
|
+
response: string;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** Decodes a PSBT to inspect its contents. */
|
|
83
|
+
export interface DecodePsbt {
|
|
84
|
+
method: 'decodepsbt';
|
|
85
|
+
params: [
|
|
86
|
+
psbt: string
|
|
87
|
+
];
|
|
88
|
+
response: {
|
|
89
|
+
tx: Transaction;
|
|
90
|
+
unknown: Record<string, string>;
|
|
91
|
+
inputs: PsbtInput[];
|
|
92
|
+
outputs: PsbtOutput[];
|
|
93
|
+
fee?: number;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/** PSBT input structure. */
|
|
98
|
+
interface PsbtInput {
|
|
99
|
+
utxo?: {
|
|
100
|
+
amount: number;
|
|
101
|
+
scriptPubKey: {
|
|
102
|
+
asm: string;
|
|
103
|
+
hex: string;
|
|
104
|
+
type: string;
|
|
105
|
+
addresses?: string[];
|
|
106
|
+
};
|
|
107
|
+
tokenData?: TokenData;
|
|
108
|
+
};
|
|
109
|
+
partial_signatures?: Record<string, string>;
|
|
110
|
+
sighash?: string;
|
|
111
|
+
redeem_script?: RedeemScript;
|
|
112
|
+
bip32_derivs?: Bip32Derivation[];
|
|
113
|
+
final_scriptsig?: {
|
|
114
|
+
asm: string;
|
|
115
|
+
hex: string;
|
|
116
|
+
};
|
|
117
|
+
unknown?: Record<string, string>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/** PSBT output structure. */
|
|
121
|
+
interface PsbtOutput {
|
|
122
|
+
redeem_script?: RedeemScript;
|
|
123
|
+
bip32_derivs?: Bip32Derivation[];
|
|
124
|
+
unknown?: Record<string, string>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/** Redeem script in PSBT. */
|
|
128
|
+
interface RedeemScript {
|
|
129
|
+
asm: string;
|
|
130
|
+
hex: string;
|
|
131
|
+
type: string;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** BIP32 derivation path info. */
|
|
135
|
+
interface Bip32Derivation {
|
|
136
|
+
pubkey: string;
|
|
137
|
+
master_fingerprint: string;
|
|
138
|
+
path: string;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** Decodes a raw transaction hex string. */
|
|
142
|
+
export interface DecodeRawTransaction {
|
|
143
|
+
method: 'decoderawtransaction';
|
|
144
|
+
params: [
|
|
145
|
+
hexstring: string
|
|
146
|
+
];
|
|
147
|
+
response: Transaction
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** Decodes a script hex string. */
|
|
151
|
+
export interface DecodeScript {
|
|
152
|
+
method: 'decodescript';
|
|
153
|
+
params: [
|
|
154
|
+
hexstring: string
|
|
155
|
+
];
|
|
156
|
+
response: {
|
|
157
|
+
asm: string;
|
|
158
|
+
type: string;
|
|
159
|
+
reqSigs: number;
|
|
160
|
+
addresses: string[]
|
|
161
|
+
p2sh: string;
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/** Finalizes a PSBT, extracting the raw transaction if complete. */
|
|
166
|
+
export interface FinalizePsbt {
|
|
167
|
+
method: 'finalizepsbt';
|
|
168
|
+
params: [
|
|
169
|
+
psbt: string,
|
|
170
|
+
extract?: boolean
|
|
171
|
+
];
|
|
172
|
+
response: {
|
|
173
|
+
psbt: string;
|
|
174
|
+
hex: string;
|
|
175
|
+
complete: boolean;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Adds inputs to a raw transaction to meet output value. */
|
|
180
|
+
export interface FundRawTransaction {
|
|
181
|
+
method: 'fundrawtransaction';
|
|
182
|
+
params: [
|
|
183
|
+
hexstring: string,
|
|
184
|
+
options?: {
|
|
185
|
+
include_unsafe?: boolean;
|
|
186
|
+
changeAddress?: string;
|
|
187
|
+
changePosition?: number;
|
|
188
|
+
includeWatching?: boolean;
|
|
189
|
+
lockUnspents?: boolean;
|
|
190
|
+
feeRate?: number | string;
|
|
191
|
+
subtractFeeFromOutputs?: number[];
|
|
192
|
+
}
|
|
193
|
+
];
|
|
194
|
+
response: {
|
|
195
|
+
hex: string;
|
|
196
|
+
fee: number;
|
|
197
|
+
changepos: number;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
interface GetRawTransactionBase {
|
|
202
|
+
method: 'getrawtransaction';
|
|
203
|
+
params: [
|
|
204
|
+
txid: string,
|
|
205
|
+
verbose?: boolean | number,
|
|
206
|
+
blockhash?: string
|
|
207
|
+
];
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/** Verbosity 0: Returns raw transaction as hex string. */
|
|
211
|
+
export interface GetRawTransactionVerbosity0 extends GetRawTransactionBase {
|
|
212
|
+
params: [
|
|
213
|
+
txid: string,
|
|
214
|
+
verbose?: false | 0,
|
|
215
|
+
blockhash?: string
|
|
216
|
+
];
|
|
217
|
+
response: string;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/** Verbosity 1: Returns decoded transaction with basic info. */
|
|
221
|
+
export interface GetRawTransactionVerbosity1 extends GetRawTransactionBase {
|
|
222
|
+
params: [
|
|
223
|
+
txid: string,
|
|
224
|
+
verbose?: true | 1,
|
|
225
|
+
blockhash?: string
|
|
226
|
+
];
|
|
227
|
+
response: {
|
|
228
|
+
hex: string;
|
|
229
|
+
txid: string;
|
|
230
|
+
hash: string;
|
|
231
|
+
size: number;
|
|
232
|
+
version: number;
|
|
233
|
+
locktime: number;
|
|
234
|
+
vin: TransactionInput[];
|
|
235
|
+
vout: TransactionOutput[];
|
|
236
|
+
blockhash?: string;
|
|
237
|
+
confirmations?: number;
|
|
238
|
+
time?: number;
|
|
239
|
+
blocktime?: number;
|
|
240
|
+
in_active_chain?: boolean;
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** Verbosity 2: Returns decoded transaction with input values and fee. */
|
|
245
|
+
export interface GetRawTransactionVerbosity2 extends GetRawTransactionBase {
|
|
246
|
+
params: [
|
|
247
|
+
txid: string,
|
|
248
|
+
verbose?: 2,
|
|
249
|
+
blockhash?: string
|
|
250
|
+
];
|
|
251
|
+
response: {
|
|
252
|
+
hex: string;
|
|
253
|
+
txid: string;
|
|
254
|
+
hash: string;
|
|
255
|
+
size: number;
|
|
256
|
+
version: number;
|
|
257
|
+
locktime: number;
|
|
258
|
+
vin: TransactionInputVerbosity2[];
|
|
259
|
+
vout: TransactionOutput[];
|
|
260
|
+
blockhash?: string;
|
|
261
|
+
confirmations?: number;
|
|
262
|
+
time?: number;
|
|
263
|
+
blocktime?: number;
|
|
264
|
+
in_active_chain?: boolean;
|
|
265
|
+
fee?: number;
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/** Transaction input with previous output value (verbosity 2). */
|
|
270
|
+
interface TransactionInputVerbosity2 extends TransactionInput {
|
|
271
|
+
value?: number;
|
|
272
|
+
scriptPubKey?: {
|
|
273
|
+
asm: string;
|
|
274
|
+
hex: string;
|
|
275
|
+
type: string;
|
|
276
|
+
address?: string;
|
|
277
|
+
};
|
|
278
|
+
tokenData?: TokenData;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Broadcasts a signed raw transaction. */
|
|
282
|
+
export interface SendRawTransaction {
|
|
283
|
+
method: 'sendrawtransaction';
|
|
284
|
+
params: [
|
|
285
|
+
hexstring: string,
|
|
286
|
+
allowhighfees?: boolean
|
|
287
|
+
];
|
|
288
|
+
response: string;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/** Signs a raw transaction with provided private keys. */
|
|
292
|
+
export interface SignRawTransactionWithKey {
|
|
293
|
+
method: 'signrawtransactionwithkey';
|
|
294
|
+
params: [
|
|
295
|
+
hexstring: string,
|
|
296
|
+
privkeys: string[],
|
|
297
|
+
prevtxs?: {
|
|
298
|
+
txid: string;
|
|
299
|
+
vout: number;
|
|
300
|
+
scriptPubKey: string;
|
|
301
|
+
redeemScript?: string;
|
|
302
|
+
amount: number | string;
|
|
303
|
+
tokenData?: TokenData;
|
|
304
|
+
}[],
|
|
305
|
+
sighashtype?: string
|
|
306
|
+
];
|
|
307
|
+
response: {
|
|
308
|
+
hex: string;
|
|
309
|
+
complete: boolean;
|
|
310
|
+
errors?: {
|
|
311
|
+
txid: string;
|
|
312
|
+
vout: number;
|
|
313
|
+
scriptSig: string;
|
|
314
|
+
sequence: number;
|
|
315
|
+
error: string;
|
|
316
|
+
}[];
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
/** Tests if raw transactions would be accepted to mempool. */
|
|
321
|
+
export interface TestMempoolAccept {
|
|
322
|
+
method: 'testmempoolaccept';
|
|
323
|
+
params: [
|
|
324
|
+
rawtxs: string[],
|
|
325
|
+
allowhighfees?: boolean
|
|
326
|
+
];
|
|
327
|
+
response: {
|
|
328
|
+
txid: string
|
|
329
|
+
allowed: boolean
|
|
330
|
+
'reject-reason': string
|
|
331
|
+
}[];
|
|
332
|
+
}
|