@@ -1093,6 +1093,8 @@ export type ParsedTransactionMeta = {
1093
1093
loadedAddresses ?: LoadedAddresses ;
1094
1094
/** The compute units consumed after processing the transaction */
1095
1095
computeUnitsConsumed ?: number ;
1096
+ /** The cost units consumed after processing the transaction */
1097
+ costUnits ?: number ;
1096
1098
} ;
1097
1099
1098
1100
export type CompiledInnerInstruction = {
@@ -1124,6 +1126,8 @@ export type ConfirmedTransactionMeta = {
1124
1126
loadedAddresses ?: LoadedAddresses ;
1125
1127
/** The compute units consumed after processing the transaction */
1126
1128
computeUnitsConsumed ?: number ;
1129
+ /** The cost units consumed after processing the transaction */
1130
+ costUnits ?: number ;
1127
1131
} ;
1128
1132
1129
1133
/**
@@ -2369,6 +2373,7 @@ const ConfirmedTransactionMetaResult = pick({
2369
2373
postTokenBalances : optional ( nullable ( array ( TokenBalanceResult ) ) ) ,
2370
2374
loadedAddresses : optional ( LoadedAddressesResult ) ,
2371
2375
computeUnitsConsumed : optional ( number ( ) ) ,
2376
+ costUnits : optional ( number ( ) ) ,
2372
2377
} ) ;
2373
2378
2374
2379
/**
@@ -2394,6 +2399,7 @@ const ParsedConfirmedTransactionMetaResult = pick({
2394
2399
postTokenBalances : optional ( nullable ( array ( TokenBalanceResult ) ) ) ,
2395
2400
loadedAddresses : optional ( LoadedAddressesResult ) ,
2396
2401
computeUnitsConsumed : optional ( number ( ) ) ,
2402
+ costUnits : optional ( number ( ) ) ,
2397
2403
} ) ;
2398
2404
2399
2405
const TransactionVersionStruct = union ( [ literal ( 0 ) , literal ( 'legacy' ) ] ) ;
0 commit comments