<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/database](./database.md) &gt; [TransactionResult](./database.transactionresult.md)

## TransactionResult class

A type for the resolve value of Firebase.transaction.

<b>Signature:</b>

```typescript
export declare class TransactionResult 
```

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [committed](./database.transactionresult.committed.md) |  | boolean | Whether the transaction was successfully committed. |
|  [snapshot](./database.transactionresult.snapshot.md) |  | [DataSnapshot](./database.datasnapshot.md) | The resulting data snapshot. |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [toJSON()](./database.transactionresult.tojson.md) |  | Returns a JSON-serializable representation of this object. |

