 
       /api/main_net/v1/get_claimable/{hash_string}
       {
+        "unclaimed": float,
         "claimable": [
           {
             "txid": "tx_id_string",

      %{} = address ->
        new_balance = filter_balance(address.address, address.balance)

        new_tx = Enum.map(
          address.histories,
          fn %{
               :txid => txid,
               :balance => balance,
               :block_height => block_height
             } ->
            %{
              :txid => txid,
              :balance => filter_balance(balance),
              :block_height => block_height
            }
          end
        )

        Map.merge(
          address,
          %{
            :balance => new_balance,
            :txids => new_tx,
            :unclaimed => Unclaimed.calculate_bonus(address.id)
          }
        )
        |> Map.delete(:inserted_at)

       )
  end

  defp modify_balance_output(balance, prev_balance) do
    prev_amounts =
      Map.to_list(prev_balance)
      |> Enum.map(
           fn {_as, %{"asset" => asset, "amount" => amount}} ->
             %{
               "asset" => ChainAssets.get_asset_name_by_hash(asset),
               "amount" => Helpers.round_or_not(amount)
             }
           end
         )
    current_amounts =
      Map.to_list(balance)
      |> Enum.map(
           fn {_as, %{"asset" => asset, "amount" => amount}} ->
             %{
               "asset" => ChainAssets.get_asset_name_by_hash(asset),
               "amount" => Helpers.round_or_not(amount)
             }
           end
         )
    # TODO compare tx differences here and add the asset and amount of the tx in the response
  end

  @doc """
