{
  "metadata": {
    "args": [
      "/home/user/bin/loop",
      "static",
      "in",
      "--network",
      "regtest",
      "500000",
      "--payment_timeout",
      "30s",
      "--last_hop",
      "0271d6e29301159d9e1cc5d3983479a51f3b3c0c682eda7f16aa1f47dfe09b22f7",
      "--force"
    ],
    "env": {
      "HOME": "/home/user"
    },
    "version": "0.31.7-beta commit=v0.31.7-beta-28-g6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845 commit_hash=6d8ddfc59ddc2dcfd1a9b4e4b3c53a9cf15dd845",
    "duration": 1078774451,
    "clock_start_unix": 1769407086
  },
  "events": [
    {
      "time_ms": 4,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/ListStaticAddressDeposits",
        "event": "request",
        "message_type": "looprpc.ListStaticAddressDepositsRequest",
        "payload": {
          "state_filter": "DEPOSITED",
          "outpoints": []
        }
      }
    },
    {
      "time_ms": 179,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/ListStaticAddressDeposits",
        "event": "response",
        "message_type": "looprpc.ListStaticAddressDepositsResponse",
        "payload": {
          "filtered_deposits": [
            {
              "id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
              "state": "DEPOSITED",
              "outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
              "value": "500000",
              "confirmation_height": "148",
              "blocks_until_expiry": "14383",
              "swap_hash": ""
            }
          ]
        }
      }
    },
    {
      "time_ms": 180,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetLoopInQuote",
        "event": "request",
        "message_type": "looprpc.QuoteRequest",
        "payload": {
          "amt": "500000",
          "conf_target": 0,
          "external_htlc": false,
          "swap_publication_deadline": "0",
          "loop_in_last_hop": "AnHW4pMBFZ2eHMXTmDR5pR87PAxoLtp/FqofR9/gmyL3",
          "loop_in_route_hints": [],
          "private": false,
          "deposit_outpoints": [],
          "asset_info": null,
          "auto_select_deposits": true,
          "fast": false
        }
      }
    },
    {
      "time_ms": 500,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetLoopInQuote",
        "event": "response",
        "message_type": "looprpc.InQuoteResponse",
        "payload": {
          "swap_fee_sat": "1824",
          "htlc_publish_fee_sat": "0",
          "cltv_delta": 0,
          "conf_target": 0,
          "quoted_amt": "500000"
        }
      }
    },
    {
      "time_ms": 500,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetStaticAddressSummary",
        "event": "request",
        "message_type": "looprpc.StaticAddressSummaryRequest",
        "payload": {}
      }
    },
    {
      "time_ms": 500,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetStaticAddressSummary",
        "event": "response",
        "message_type": "looprpc.StaticAddressSummaryResponse",
        "payload": {
          "static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
          "relative_expiry_blocks": "14400",
          "total_num_deposits": 1,
          "value_unconfirmed_satoshis": "0",
          "value_deposited_satoshis": "500000",
          "value_expired_satoshis": "0",
          "value_withdrawn_satoshis": "0",
          "value_looped_in_satoshis": "0",
          "value_htlc_timeout_sweeps_satoshis": "0",
          "value_channels_opened": "0"
        }
      }
    },
    {
      "time_ms": 500,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/StaticAddressLoopIn",
        "event": "request",
        "message_type": "looprpc.StaticAddressLoopInRequest",
        "payload": {
          "outpoints": [],
          "max_swap_fee_satoshis": "1824",
          "last_hop": "AnHW4pMBFZ2eHMXTmDR5pR87PAxoLtp/FqofR9/gmyL3",
          "label": "",
          "initiator": "loop-cli",
          "route_hints": [],
          "private": false,
          "payment_timeout_seconds": 30,
          "amount": "500000",
          "fast": false
        }
      }
    },
    {
      "time_ms": 1078,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/StaticAddressLoopIn",
        "event": "response",
        "message_type": "looprpc.StaticAddressLoopInResponse",
        "payload": {
          "swap_hash": "hDAjN0JANkGTlqt5ZN14uFsaSBqfHbc9tc3e5XwkQ+c=",
          "state": "SignHtlcTx",
          "amount": "500000",
          "htlc_cltv": 1165,
          "quoted_swap_fee_satoshis": "1824",
          "max_swap_fee_satoshis": "1824",
          "initiation_height": 165,
          "protocol_version": "V0",
          "label": "",
          "initiator": "loop-cli",
          "payment_timeout_seconds": 30,
          "used_deposits": [
            {
              "id": "j71tovlF3ikFqn+pOGB0TZOH00ZEhDYOluRnpR3jvJ0=",
              "state": "LOOPING_IN",
              "outpoint": "9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0",
              "value": "500000",
              "confirmation_height": "148",
              "blocks_until_expiry": "14383",
              "swap_hash": ""
            }
          ],
          "swap_amount": "500000",
          "change": "0",
          "fast": false
        }
      }
    },
    {
      "time_ms": 1078,
      "kind": "stdout",
      "data": {
        "lines": [
          "{\n",
          "    \"amount\": \"500000\",\n",
          "    \"change\": \"0\",\n",
          "    \"fast\": false,\n",
          "    \"htlc_cltv\": 1165,\n",
          "    \"initiation_height\": 165,\n",
          "    \"initiator\": \"loop-cli\",\n",
          "    \"label\": \"\",\n",
          "    \"max_swap_fee_satoshis\": \"1824\",\n",
          "    \"payment_timeout_seconds\": 30,\n",
          "    \"protocol_version\": \"V0\",\n",
          "    \"quoted_swap_fee_satoshis\": \"1824\",\n",
          "    \"state\": \"SignHtlcTx\",\n",
          "    \"swap_amount\": \"500000\",\n",
          "    \"swap_hash\": \"84302337424036419396ab7964dd78b85b1a481a9f1db73db5cddee57c2443e7\",\n",
          "    \"used_deposits\": [\n",
          "        {\n",
          "            \"blocks_until_expiry\": \"14383\",\n",
          "            \"confirmation_height\": \"148\",\n",
          "            \"id\": \"8fbd6da2f945de2905aa7fa93860744d9387d3464484360e96e467a51de3bc9d\",\n",
          "            \"outpoint\": \"9fa0d5dd5348794aa0541dd2729497f0907890606d044e1c4757bdc848f38df8:0\",\n",
          "            \"state\": \"LOOPING_IN\",\n",
          "            \"swap_hash\": \"\",\n",
          "            \"value\": \"500000\"\n",
          "        }\n",
          "    ]\n",
          "}\n"
        ]
      }
    },
    {
      "time_ms": 1078,
      "kind": "exit",
      "data": {}
    }
  ]
}
