apps/docs/src/guide/transactions/getting-the-response.md
Once a transaction has been submitted, you may want to extract information regarding the result of the transaction. The SDK offers a TransactionResponse class with helper methods to expose the following information:
We can easily extract this information from a contract call:
<<< @./snippets/transaction-response/contract-call.ts#transaction-response-1{ts:line-numbers}
We can also use the result of a transaction request to extract a transaction summary:
<<< @./snippets/transaction-response/from-submitted-request.ts#transaction-response-2{ts:line-numbers}
Or we can build a transaction summary from a stored transaction ID:
<<< @./snippets/transaction-response/from-submitted-request.ts#transaction-response-3{ts:line-numbers}