{
  "metadata": {
    "args": [
      "/home/user/bin/loop",
      "--network=regtest",
      "--rpcserver=localhost:11010",
      "--loopdir=/redacted/loop",
      "--tlscertpath=/redacted/loop/regtest/tls.cert",
      "--macaroonpath=/redacted/loop/regtest/loop.macaroon",
      "static",
      "in",
      "--utxo",
      "f2280f0f086273be73bde92fd9b982208338a5ecebbe93b83b00c77c4d2f8d1b:0",
      "--amt",
      "500000",
      "--max_swap_fee_sat",
      "5000",
      "--force",
      "--network",
      "regtest"
    ],
    "env": {},
    "version": "0.33.0-beta commit=v0.32.1-beta-71-gbed29e41d84c34147ca60fb1aa99ecc6f2c8a079 commit_hash=bed29e41d84c34147ca60fb1aa99ecc6f2c8a079",
    "duration": 1058534736,
    "clock_start_unix": 1769407086
  },
  "events": [
    {
      "time_ms": 1,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/ListStaticAddressDeposits",
        "event": "request",
        "message_type": "looprpc.ListStaticAddressDepositsRequest",
        "payload": {
          "state_filter": "DEPOSITED",
          "outpoints": []
        }
      }
    },
    {
      "time_ms": 19,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/ListStaticAddressDeposits",
        "event": "response",
        "message_type": "looprpc.ListStaticAddressDepositsResponse",
        "payload": {
          "filtered_deposits": [
            {
              "id": "2KWFNthHKHO54uFldGgyg2D9oLlCMc/F4pkAyrc12oQ=",
              "state": "DEPOSITED",
              "outpoint": "f2280f0f086273be73bde92fd9b982208338a5ecebbe93b83b00c77c4d2f8d1b:0",
              "value": "550000",
              "confirmation_height": "133",
              "blocks_until_expiry": "14395",
              "swap_hash": ""
            },
            {
              "id": "f3yMP2jfWm1HJvlHui2aqPOJdxVAjN20pkUWgTZzJ4U=",
              "state": "DEPOSITED",
              "outpoint": "fc6844a2945bb7201c0acf11080be17f912849d32a3d1e95b4cd3a226b153c29:1",
              "value": "496150",
              "confirmation_height": "133",
              "blocks_until_expiry": "14395",
              "swap_hash": ""
            },
            {
              "id": "KxBwhGgyaujysguxE6F/goisqKhEOM8GCXuWQvlXtrc=",
              "state": "DEPOSITED",
              "outpoint": "61d11eb2957092e3e463d5c7295c3f9ff94acdacecad5271dec97baedb3d2da7:1",
              "value": "1000000",
              "confirmation_height": "133",
              "blocks_until_expiry": "14395",
              "swap_hash": ""
            }
          ]
        }
      }
    },
    {
      "time_ms": 19,
      "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": "",
          "loop_in_route_hints": [],
          "private": false,
          "deposit_outpoints": [
            "f2280f0f086273be73bde92fd9b982208338a5ecebbe93b83b00c77c4d2f8d1b:0"
          ],
          "asset_info": null,
          "auto_select_deposits": false,
          "fast": false
        }
      }
    },
    {
      "time_ms": 45,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetLoopInQuote",
        "event": "response",
        "message_type": "looprpc.InQuoteResponse",
        "payload": {
          "swap_fee_sat": "1490",
          "htlc_publish_fee_sat": "0",
          "cltv_delta": 0,
          "conf_target": 0,
          "quoted_amt": "500000"
        }
      }
    },
    {
      "time_ms": 45,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetStaticAddressSummary",
        "event": "request",
        "message_type": "looprpc.StaticAddressSummaryRequest",
        "payload": {}
      }
    },
    {
      "time_ms": 45,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/GetStaticAddressSummary",
        "event": "response",
        "message_type": "looprpc.StaticAddressSummaryResponse",
        "payload": {
          "static_address": "bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2",
          "relative_expiry_blocks": "14400",
          "total_num_deposits": 3,
          "value_unconfirmed_satoshis": "0",
          "value_deposited_satoshis": "2046150",
          "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": 45,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/StaticAddressLoopIn",
        "event": "request",
        "message_type": "looprpc.StaticAddressLoopInRequest",
        "payload": {
          "outpoints": [
            "f2280f0f086273be73bde92fd9b982208338a5ecebbe93b83b00c77c4d2f8d1b:0"
          ],
          "max_swap_fee_satoshis": "5000",
          "last_hop": "",
          "label": "",
          "initiator": "loop-cli",
          "route_hints": [],
          "private": false,
          "payment_timeout_seconds": 60,
          "amount": "500000",
          "fast": false
        }
      }
    },
    {
      "time_ms": 1058,
      "kind": "grpc",
      "data": {
        "method": "/looprpc.SwapClient/StaticAddressLoopIn",
        "event": "response",
        "message_type": "looprpc.StaticAddressLoopInResponse",
        "payload": {
          "swap_hash": "bPQ+uBfvKnG7IFuyRFhT+1mpeulpW0MjKT9IIaGrJQM=",
          "state": "SignHtlcTx",
          "amount": "550000",
          "htlc_cltv": 1138,
          "quoted_swap_fee_satoshis": "1490",
          "max_swap_fee_satoshis": "5000",
          "initiation_height": 138,
          "protocol_version": "V0",
          "label": "",
          "initiator": "loop-cli",
          "payment_timeout_seconds": 60,
          "used_deposits": [
            {
              "id": "2KWFNthHKHO54uFldGgyg2D9oLlCMc/F4pkAyrc12oQ=",
              "state": "LOOPING_IN",
              "outpoint": "f2280f0f086273be73bde92fd9b982208338a5ecebbe93b83b00c77c4d2f8d1b:0",
              "value": "550000",
              "confirmation_height": "133",
              "blocks_until_expiry": "14395",
              "swap_hash": ""
            }
          ],
          "swap_amount": "500000",
          "change": "50000",
          "fast": false
        }
      }
    },
    {
      "time_ms": 1058,
      "kind": "stdout",
      "data": {
        "lines": [
          "{\n",
          "    \"amount\": \"550000\",\n",
          "    \"change\": \"50000\",\n",
          "    \"fast\": false,\n",
          "    \"htlc_cltv\": 1138,\n",
          "    \"initiation_height\": 138,\n",
          "    \"initiator\": \"loop-cli\",\n",
          "    \"label\": \"\",\n",
          "    \"max_swap_fee_satoshis\": \"5000\",\n",
          "    \"payment_timeout_seconds\": 60,\n",
          "    \"protocol_version\": \"V0\",\n",
          "    \"quoted_swap_fee_satoshis\": \"1490\",\n",
          "    \"state\": \"SignHtlcTx\",\n",
          "    \"swap_amount\": \"500000\",\n",
          "    \"swap_hash\": \"6cf43eb817ef2a71bb205bb2445853fb59a97ae9695b4323293f4821a1ab2503\",\n",
          "    \"used_deposits\": [\n",
          "        {\n",
          "            \"blocks_until_expiry\": \"14395\",\n",
          "            \"confirmation_height\": \"133\",\n",
          "            \"id\": \"d8a58536d8472873b9e2e1657468328360fda0b94231cfc5e29900cab735da84\",\n",
          "            \"outpoint\": \"f2280f0f086273be73bde92fd9b982208338a5ecebbe93b83b00c77c4d2f8d1b:0\",\n",
          "            \"state\": \"LOOPING_IN\",\n",
          "            \"swap_hash\": \"\",\n",
          "            \"value\": \"550000\"\n",
          "        }\n",
          "    ]\n",
          "}\n"
        ]
      }
    },
    {
      "time_ms": 1058,
      "kind": "exit",
      "data": {}
    }
  ]
}
