bark: Movement API Improvements

Example output:

  {
    "id": 2,
    "status": "finished",
    "subsystem": {
      "name": "bark.arkoor",
      "kind": "send"
    },
    "intended_balance_sat": -330,
    "effective_balance_sat": -330,
    "offchain_fee_sat": 0,
    "sent_to": [
      {
        "destination": {
          "type": "ark",
          "value": "tark1pm6sr0fpzqqp35aan2shyyhs4ar5pyk00k3nvg2vr78ew4dwvkmj2366xl7mtlqcpqqt4evdu"
        },
        "amount_sat": 330
      }
    ],
    "received_on": [],
    "input_vtxos": [
      "23521320ce1ce9cc2fb97fa26fb2a7c7e642e5d46618597ccf5f0d9f1e255612:0"
    ],
    "output_vtxos": [
      "590635a2a25566c99752dbb031a343e0b1e51faedeacad747d70cae07d2e03de:1"
    ],
    "exited_vtxos": [],
    "time": {
      "created_at": "2025-11-21T14:25:13Z",
      "updated_at": "2025-11-21T14:25:13Z",
      "completed_at": "2025-11-21T14:25:13Z"
    }
  },
  {
    "id": 6,
    "status": "finished",
    "subsystem": {
      "name": "bark.lightning_send",
      "kind": "send"
    },
    "metadata": {
      "htlc_vtxos": [
        "e5aefe42fd3889d213e9efa7bb8c0976da6d497a16e44acde2f12a5b7486bf74:0"
      ]
    },
    "intended_balance_sat": -350,
    "effective_balance_sat": -350,
    "offchain_fee_sat": 0,
    "sent_to": [
      {
        "destination": {
          "type": "invoice",
          "value": "lntbs3500n1p5jqac3sp5h3ehcjlzsdg7whud8a2vvuh0zqqnw4h5g7vujmmld8zve6jxfn2spp5x3hkahum5p2dfhem4rk620zyc79l3kuzmhny2y28kaak8hej8xfsdqqcqzpc9qyysgqs9g9ae9xtrj0amlh7t4hyuuvyauxeepw62g37tknak6m5thyz7w4xwjd6rhzgchyxsty5uhtt4edxcnjw6wfa7f79fd2u06ek985duqqrp2255"
        },
        "amount_sat": 350
      }
    ],
    "received_on": [],
    "input_vtxos": [
      "98ab511ea74ce87ffb22906027391c64907e7b5054995d1a9f567c835b0817df:0"
    ],
    "output_vtxos": [
      "e5aefe42fd3889d213e9efa7bb8c0976da6d497a16e44acde2f12a5b7486bf74:1"
    ],
    "exited_vtxos": [],
    "time": {
      "created_at": "2025-11-21T14:30:12Z",
      "updated_at": "2025-11-21T14:30:12Z",
      "completed_at": "2025-11-21T14:30:13Z"
    }
  },
  {
    "id": 10,
    "status": "failed",
    "subsystem": {
      "name": "bark.round",
      "kind": "send_onchain"
    },
    "intended_balance_sat": -1183,
    "effective_balance_sat": -2083,
    "offchain_fee_sat": 900,
    "sent_to": [
      {
        "destination": {
          "type": "bitcoin",
          "value": "tb1q2g36m4m0dcjsq7m9wz6ff9zwaj55nj906t6qnq"
        },
        "amount_sat": 1183
      }
    ],
    "received_on": [],
    "input_vtxos": [
      "e5aefe42fd3889d213e9efa7bb8c0976da6d497a16e44acde2f12a5b7486bf74:1"
    ],
    "output_vtxos": [],
    "exited_vtxos": [],
    "time": {
      "created_at": "2025-11-21T14:52:27Z",
      "updated_at": "2025-11-21T14:52:27Z",
      "completed_at": "2025-11-22T03:01:48.360601Z"
    }
  }
Edited by Peter

Merge request reports

Loading