# `TigerBeetlex.AccountBalance`
[🔗](https://github.com/rbino/tigerbeetlex/blob/0.16.78/lib/tigerbeetlex/bindings/account_balance.ex#L6)

See [AccountBalance](https://docs.tigerbeetle.com/reference/account-balance#).

# `t`

```elixir
@type t() :: %TigerBeetlex.AccountBalance{
  credits_pending: non_neg_integer(),
  credits_posted: non_neg_integer(),
  debits_pending: non_neg_integer(),
  debits_posted: non_neg_integer(),
  timestamp: non_neg_integer()
}
```

# `from_binary`

```elixir
@spec from_binary(binary :: &lt;&lt;_::1024&gt;&gt;) :: t()
```

Creates a `TigerBeetlex.AccountBalance` struct from its binary representation.

# `to_binary`

```elixir
@spec to_binary(struct :: t()) :: &lt;&lt;_::1024&gt;&gt;
```

Converts a `TigerBeetlex.AccountBalance` struct to its binary representation.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
