Skip to content

Commit

Permalink
Merge pull request #814 from radixdlt/add-manifest-instruction
Browse files Browse the repository at this point in the history
add manifest instruction opt in
  • Loading branch information
AbstractFruitFactory authored Nov 27, 2024
2 parents a0790c0 + 812e3c7 commit e414390
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/typescript/lib/subapis/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from '../generated'

export class Transaction {
constructor(public innerClient: TransactionApi) {}
constructor(public innerClient: TransactionApi) { }

/**
* Get transaction status for given transaction id. Possible transaction statuses are: Unknown, CommittedSuccess, CommittedFailure, Pending, Rejected
Expand Down Expand Up @@ -44,6 +44,7 @@ export class Transaction {
affectedGlobalEntities: boolean
balanceChanges: boolean
receiptOutput: boolean
manifestInstructions: boolean
}
): Promise<TransactionCommittedDetailsResponse> {
return this.innerClient.transactionCommittedDetails({
Expand All @@ -60,6 +61,7 @@ export class Transaction {
affected_global_entities: options?.affectedGlobalEntities ?? true,
balance_changes: options?.balanceChanges ?? true,
receipt_output: options?.receiptOutput ?? true,
manifest_instructions: options?.manifestInstructions ?? true,
},
},
})
Expand Down

0 comments on commit e414390

Please sign in to comment.