File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 33
33
"tx_status" : {
34
34
"$ref" : " ./transaction-status.schema.json"
35
35
},
36
+ "tx_result" : {
37
+ "type" : " object" ,
38
+ "required" : [" hex" , " repr" ],
39
+ "additionalProperties" : false ,
40
+ "properties" : {
41
+ "hex" : {
42
+ "type" : " string"
43
+ },
44
+ "repr" : {
45
+ "type" : " string"
46
+ }
47
+ }
48
+ },
36
49
"fee_rate" : {
37
50
"type" : " string" ,
38
51
"description" : " Integer string (64-bit unsigned integer)."
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ export interface TokenTransferTransaction {
205
205
tx_id : string ;
206
206
tx_index ?: number ;
207
207
tx_status : TransactionStatus ;
208
- tx_result ?: { // return both hex value and deserialized value
208
+ tx_result ?: {
209
209
hex : string ;
210
210
repr : string ;
211
211
} ;
@@ -248,7 +248,7 @@ export interface SmartContractTransaction {
248
248
tx_id : string ;
249
249
tx_index ?: number ;
250
250
tx_status : TransactionStatus ;
251
- tx_result ?: { // return both hex value and deserialized value
251
+ tx_result ?: {
252
252
hex : string ;
253
253
repr : string ;
254
254
} ;
@@ -288,7 +288,7 @@ export interface ContractCallTransaction {
288
288
tx_id : string ;
289
289
tx_index ?: number ;
290
290
tx_status : TransactionStatus ;
291
- tx_result ?: { // return both hex value and deserialized value
291
+ tx_result ?: {
292
292
hex : string ;
293
293
repr : string ;
294
294
} ;
@@ -335,7 +335,7 @@ export interface PoisonMicroblockTransaction {
335
335
tx_id : string ;
336
336
tx_index ?: number ;
337
337
tx_status : TransactionStatus ;
338
- tx_result ?: { // return both hex value and deserialized value
338
+ tx_result ?: {
339
339
hex : string ;
340
340
repr : string ;
341
341
} ;
@@ -376,11 +376,10 @@ export interface CoinbaseTransaction {
376
376
tx_id : string ;
377
377
tx_index ?: number ;
378
378
tx_status : TransactionStatus ;
379
- tx_result ?: { // return both hex value and deserialized value
379
+ tx_result ?: {
380
380
hex : string ;
381
381
repr : string ;
382
382
} ;
383
-
384
383
/**
385
384
* Integer string (64-bit unsigned integer).
386
385
*/
You can’t perform that action at this time.
0 commit comments