# TransactionSummary **Type:** GraphQL objects **Description:** A lightweight summary of a transaction returned by the `transactionsByPactCode` query. `TransactionSummary` provides essential metadata and execution details about transactions that executed a specific Pact code, without the full payload of a `Transaction` object. It is optimized for querying large sets of transactions efficiently when detailed fields (like signatures, events, or full results) are not needed. Each summary includes fundamental information such as the transaction’s request key, block height, chain, gas usage, sender, and canonical status, as well as the original Pact code if available. ## Fields - requestKey (String): The unique request key of the transaction. - height (BigInt): The block height at which the transaction was included. - chainId (BigInt): The chain ID where the transaction was executed. - canonical (Boolean): Whether the transaction was included in the canonical chain (`true`) or an orphaned fork (`false`). - creationTime (DateTime): The timestamp when the transaction was created. - badResult (String): If the transaction failed, contains the error message returned by Pact. - sender (String): The account or contract that submitted the transaction. - gas (String): The total gas consumed during the execution of this transaction. - gasLimit (String): The maximum amount of gas allowed for this transaction. - gasPrice (String): The gas price specified for this transaction. - code (String): The Pact code executed by the transaction, if available.