æternity Documentation Hub
Aeternity.comAeternity GitHub
  • æternity Hub
  • Developer Documentation
  • Aeternity Expansions
    • PULL_REQUEST_TEMPLATE
    • AEX X
    • AEXS
      • AEX 1
      • aex-10
      • AEX 11 Fungible Token Standard
      • AEX-130: æpps Metadata Format Specification
      • aex-141
      • AEX 2
      • AEX-3
      • AEX-4
      • AEX 5
      • AEX 7
      • AEX 8
      • aex-9
    • .github
      • ISSUE_TEMPLATE
        • aexpansion
  • AeMdw - Aeternity Middleware
    • Changelog
    • docs
      • AE MDW Architecture
      • AeMdw Hyperhain Setup Documentation
      • AeMdw Docker Setup Documentation
  • Æternity <> Ethereum Bridge
    • Changelog
  • aepp-cli-js
    • CHANGELOG
    • Contributor guide
    • reference
    • user-guide
    • .github
      • ISSUE_TEMPLATE
  • Hyperchain Bridge
    • Changelog
  • æternity's JavaScript SDK
    • Installation
      • Changelog
      • Compatibility Table
      • Quick Start
      • Transaction options
      • Development
        • Releases
      • guides
        • The range of possible address length
        • AENS (æternity naming system)
        • Batch Transactions
        • How to build a wallet
        • Connect an æpp to a wallet
        • Contract Events
        • Contracts
        • Error Handling
        • JWT usage
        • Ledger Hardware Wallet
        • Low vs High level API
        • Aeternity snap for MetaMask
        • Oracles
        • PayingForTx (Meta-Transactions)
        • Typed data hashing and signing
        • Usage with TypeScript
        • migration
          • Migration to 10.0.0
          • Migration to 11.0.0
          • Migration to 12.0.0
          • Migration to 13.0.0
          • Migration to 14.0.0
          • Migration to 7.0.0
          • Migration to 9.0.0
      • tutorials
        • vuejs
          • Vue.js HelloWorld
    • Examples
      • How to connect wallet to æpp using æternity's JS SDK
        • Sample æpp for contracts
        • iframe-based wallet
        • WebExtension-based wallet
    • .github
      • ISSUE_TEMPLATE
        • bug_report
        • feature_request
  • AEproject
    • Changelog
    • docs
      • Quick Start
      • AEproject Library
      • Migration from 3.x.x to 4.x.x
      • Migration from 4.x.x to 5.x.x
      • Upcoming Version Support
      • cli
        • Local Environment
        • Project Initialization
        • Unit Testing
    • .github
      • ISSUE_TEMPLATE
        • bug_report
        • feature_request
  • aerepl
    • Changelog
  • aescan
    • Changelog
    • Contributor Covenant Code of Conduct
    • Aescan Contributing Guide
    • LICENSE
    • .github
      • pull_request_template
      • ISSUE_TEMPLATE
        • bug_report
        • feature_request
    • docs
      • BRANCHING_STRATEGY
  • Sophia Support for Visual Studio Code
    • Changelog
  • aesophia
    • Changelog
    • Contributing to Sophia
    • docs
      • aeso_aci
      • aeso_compiler
      • Introduction
      • sophia
      • Contract examples
      • Features
      • Standard library
      • Syntax
  • aesophia_cli
    • Changelog
  • aesophia_http
    • Changelog
  • Æ Studio - Formerly known as 🔥 Fire Editor ! Aeternity's easy to use editor for writing smart contr
    • ideas
  • aeternity
    • .github
      • The Æternity Code of Conduct
      • Contributing to the Aeternity node
      • ISSUE_TEMPLATE
        • bug_report
        • feature_request
    • Welcome to Aeternity node documentation
      • Summary
      • Node API
      • Introduction
      • Build from source
      • Configuration
      • CUDA Miner
      • debian_ubuntu_packaging
      • Docker
      • Fork resistance in Aeternity nodes
      • Garbage Collection
      • Hacking the Aeternity Codebase
      • Hardware Requirements
      • hyperchains
      • Installation
      • Network Monitoring
      • Operation
      • Rebar Quick Guide
      • Stratum
      • Testing
      • Update
      • release-notes
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • About this release
        • next-ceres
          • GH-3706-micro_block_gas_limit_used_gas
          • GH-4009-allow_contract_call_by_name
          • GH-4056-add_raw_data_pointers_to_AENS
          • GH-4080-wildcard_aens_delegation_signature
          • GH3417-tamper_protection_on_ga_meta_tx
          • aega_only_allow_attach_for_fresh_accounts
          • aens_auction_adjustments
          • aens_preclaim_optional
          • deprecate_swagger
          • fate_extensions
        • next
          • GH-3088-db_direct_access-as-default
          • GH-4087_http_endpoint_info_inner_txs
          • GH4157-control-mempool-sync-start
    • Emergency patching of OTP modules
    • rosetta
    • apps
      • aehttp
        • priv
          • rosetta_README
    • data
      • aecore
        • Token migration contract
  • Hyperchains whitepaper
    • Hyperchains: Bridging Security and Scalability Through Periodic Synchronization
    • LICENSE
    • Periodically-Syncing-HyperChains
    • generations
    • Glossary
    • Hyperchain Properties
    • staking
  • æternity protocol
    • æternity naming system
    • Gossip
    • Stratum
    • SYNC
    • Serialization formats
    • State Channels
      • Off-chain
      • On-chain
      • Authentication
      • Channel off-chain state
    • æternity consensus protocol
      • Bitcoin-NG for æternity
      • Coinbase at height
      • consensus
      • Coins locking
    • Smart Contracts
      • The æternity Ethereum virtual machine (AEVM)
      • contract_state_tree
      • Contract Transactions
      • Virtual machines on the æternity blockchain
      • contracts
      • Events
      • fate
      • The Solidity Language
      • sophia
      • sophia_stdlib
    • Generalized accounts
      • Generalized accounts - explained
      • generalized_accounts
    • Oracles
      • Oracle life cycle examples
      • Oracle state tree
      • Oracle transactions
      • oracles
    • Sync
      • P2P messages
      • Mempool/TX-pool synchronization
    • node
      • æternity node API
        • Account management - intended usage
        • Encoding scheme for API identifiers and byte arrays
        • State channel WebSocket API
        • Channels - intended usage
        • Contracts - intended usage
        • Mining - intended usage
        • Naming System - intended usage
        • Oracles - intended usage
        • Spending coins - intended usage
        • examples
          • æternity node channel WebSocket API examples
            • json-rpc
              • sc_ws_basic_open_close
              • sc_ws_basic_open_close_server
              • sc_ws_broken_open_params
              • sc_ws_close_mutual
              • sc_ws_close_solo
              • sc_ws_leave_reconnect
              • sc_ws_leave_reestablish
              • sc_ws_leave_reestablish_responder_stays
              • sc_ws_leave_reestablish_wrong_fsm_id
              • sc_ws_min_depth_is_modifiable
              • sc_ws_min_depth_not_reached_timeout
              • sc_ws_opening_ping_pong
              • sc_ws_reconnect_early
              • sc_ws_slash
              • sc_ws_snapshot_solo
              • sc_ws_timeout_open
              • sc_ws_update_with_meta
              • abort_updates
                • sc_ws_abort_deposit
                • sc_ws_abort_offchain_update
                • sc_ws_abort_settle
                • sc_ws_abort_shutdown
                • sc_ws_abort_slash
                • sc_ws_abort_snapshot_solo
                • sc_ws_abort_withdraw
                • sc_ws_can_not_abort_while_open
              • assume_min_depth
                • sc_ws_basic_open_close
              • both_sign
                • init_per_group
                • conflicts
                  • sc_ws_conflict_deposit_and_offchain_update
                  • sc_ws_conflict_two_deposits
                  • sc_ws_conflict_two_offchain_updates
                  • sc_ws_conflict_two_withdrawals
                  • sc_ws_conflict_withdrawal_and_deposit
                  • sc_ws_conflict_withdrawal_and_offchain_update
              • changeable_fee
                • sc_ws_optional_params_close_solo
                • sc_ws_optional_params_create
                • sc_ws_optional_params_deposit
                • sc_ws_optional_params_settle
                • sc_ws_optional_params_slash
                • sc_ws_optional_params_snapshot
                • sc_ws_optional_params_withdrawal
                • sc_ws_set_fee_close_mutual
                • sc_ws_set_fee_close_solo
                • sc_ws_set_fee_create
                • sc_ws_set_fee_deposit
                • sc_ws_set_fee_settle
                • sc_ws_set_fee_slash
                • sc_ws_set_fee_snapshot
                • sc_ws_set_fee_withdrawal
              • changeable_fee_higher_than_gas_price
                • sc_ws_optional_params_close_solo
                • sc_ws_optional_params_create
                • sc_ws_optional_params_deposit
                • sc_ws_optional_params_settle
                • sc_ws_optional_params_slash
                • sc_ws_optional_params_snapshot
                • sc_ws_optional_params_withdrawal
              • changeable_fee_lower_than_gas_price
                • sc_ws_optional_params_close_solo
                • sc_ws_optional_params_create
                • sc_ws_optional_params_deposit
                • sc_ws_optional_params_settle
                • sc_ws_optional_params_slash
                • sc_ws_optional_params_snapshot
                • sc_ws_optional_params_withdrawal
              • changeable_gas_price
                • sc_ws_optional_params_close_solo
                • sc_ws_optional_params_create
                • sc_ws_optional_params_deposit
                • sc_ws_optional_params_settle
                • sc_ws_optional_params_slash
                • sc_ws_optional_params_snapshot
                • sc_ws_optional_params_withdrawal
              • changeable_nonce
                • sc_ws_optional_params_fail_close_mutual
                • sc_ws_optional_params_fail_close_solo
                • sc_ws_optional_params_fail_create
                • sc_ws_optional_params_fail_deposit
                • sc_ws_optional_params_fail_force_progress
                • sc_ws_optional_params_fail_settle
                • sc_ws_optional_params_fail_slash
                • sc_ws_optional_params_fail_snapshot
                • sc_ws_optional_params_fail_withdrawal
              • continuous
                • init_per_group
                • sc_ws_deposit
                • sc_ws_failed_update
                • sc_ws_generic_messages
                • sc_ws_ping_pong
                • sc_ws_update_conflict
                • sc_ws_withdraw
              • contracts
                • init_per_group
                • sc_ws_basic_contracts
                • sc_ws_environment_contract
                • sc_ws_nameservice_contract
                • sc_ws_oracle_contract
                • sc_ws_remote_call_contract
                • sc_ws_remote_call_contract_refering_onchain_data
                • sc_ws_wrong_call_data
              • force_progress
                • sc_ws_force_progress_based_on_offchain_state
                • sc_ws_force_progress_based_on_onchain_state
              • only_one_signs
                • init_per_group
                • sc_ws_conflict_on_new_offchain
                • sc_ws_conflict_snapshot_and_offchain_update
                • conflicts
                  • sc_ws_conflict_deposit_and_offchain_update
                  • sc_ws_conflict_two_deposits
                  • sc_ws_conflict_two_offchain_updates
                  • sc_ws_conflict_two_withdrawals
                  • sc_ws_conflict_withdrawal_and_deposit
                  • sc_ws_conflict_withdrawal_and_offchain_update
              • reconnect
                • sc_ws_basic_client_reconnect_i
                • sc_ws_basic_client_reconnect_i_w_reestablish
                • sc_ws_basic_client_reconnect_r
              • with_meta
                • init_per_group
                • sc_ws_deposit
                • sc_ws_remote_call_contract
                • sc_ws_withdraw
              • generalized_accounts
                • both
                  • sc_ws_basic_open_close
                • initiator
                  • sc_ws_basic_open_close
                • responder
                  • sc_ws_basic_open_close
  • Superhero Wallet
    • Changelog
    • Contributing & Guidelines
    • docs
      • Deep link URL Schema
    • .github
      • ISSUE_TEMPLATE
        • bug_report
        • feature_request
  • aerepl-web-bridge
    • AereplApi
    • aerepl_components
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. æternity protocol
  2. node
  3. æternity node API
  4. examples
  5. æternity node channel WebSocket API examples
  6. json-rpc
  7. assume_min_depth

sc_ws_basic_open_close

initiator opens a WebSocket connection

ws://localhost:3014/channel?channel_reserve=2&host=localhost&initiator_amount=70000000000000&initiator_id=ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv&keep_running=false&lock_period=10&port=13179&protocol=json-rpc&push_amount=1&responder_amount=40000000000000&responder_id=ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn&role=initiator

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": null,
    "data": {
      "event": "fsm_up",
      "fsm_id": "ba_wD90Jp9t+wkmsICaRrp975MiJsyzoaT+2PO2K6+onhJO6DTW"
    }
  },
  "version": 1
}

initiator info

The local fsm has been started

responder opens a WebSocket connection

ws://localhost:3014/channel?channel_reserve=2&initiator_amount=70000000000000&initiator_id=ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv&keep_running=false&lock_period=10&port=13179&protocol=json-rpc&push_amount=1&responder_amount=40000000000000&responder_id=ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn&role=responder

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": null,
    "data": {
      "event": "fsm_up",
      "fsm_id": "ba_8ODUOsie07jzMYeXewzYmm3osV9irz3hQuiLgOMCervhz8zY"
    }
  },
  "version": 1
}

responder info

The local fsm has been started

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": null,
    "data": {
      "event": "channel_open"
    }
  },
  "version": 1
}

responder info

Received an WebSocket opening request

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": null,
    "data": {
      "event": "channel_accept"
    }
  },
  "version": 1
}

initiator info

Received an WebSocket connection accepted

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.initiator_sign",
  "params": {
    "channel_id": null,
    "data": {
      "signed_tx": "tx_+IkLAcC4hPiCMgKhAcEx9JI23KmfpH0uP9dxJYB0DY+XRKb4DSeN+YnHNANGhj+qJSJgAKEBEz2ciJGcxrbKc/5lzfvMBttVgar6S5lhtorJSke1o/+GJGE5yoAAAgoAhhALIe8QAMDAoJe1cGW5sUaMM7gL6OM8nTWJY+4H9W7nIDbL3sTcW8M6Ae4d4YI=",
      "updates": []
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421696,
  "jsonrpc": "2.0",
  "method": "channels.initiator_sign",
  "params": {
    "signed_tx": "tx_+MwLAfhCuEABPXA7pfVeKapKMmBcPa0AuhaS1w6BYFe8A48OjlSXasF9Y84+QL30lAA7tvwrA9Kvtkw4SKWGm080RZhWot0EuIT4gjICoQHBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRoY/qiUiYAChARM9nIiRnMa2ynP+Zc37zAbbVYGq+kuZYbaKyUpHtaP/hiRhOcqAAAIKAIYQCyHvEADAwKCXtXBlubFGjDO4C+jjPJ01iWPuB/Vu5yA2y97E3FvDOgGX8A9a"
  }
}

initiator <--- node

{
  "channel_id": null,
  "id": -576460752303421696,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "funding_created",
      "fsm_id": "ba_8ODUOsie07jzMYeXewzYmm3osV9irz3hQuiLgOMCervhz8zY"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.responder_sign",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+MwLAfhCuEABPXA7pfVeKapKMmBcPa0AuhaS1w6BYFe8A48OjlSXasF9Y84+QL30lAA7tvwrA9Kvtkw4SKWGm080RZhWot0EuIT4gjICoQHBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRoY/qiUiYAChARM9nIiRnMa2ynP+Zc37zAbbVYGq+kuZYbaKyUpHtaP/hiRhOcqAAAIKAIYQCyHvEADAwKCXtXBlubFGjDO4C+jjPJ01iWPuB/Vu5yA2y97E3FvDOgGX8A9a",
      "updates": []
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421695,
  "jsonrpc": "2.0",
  "method": "channels.responder_sign",
  "params": {
    "signed_tx": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg=="
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421695,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.on_chain_tx",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "info": "funding_created",
      "tx": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg==",
      "type": "channel_create_tx"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "funding_signed",
      "fsm_id": "ba_wD90Jp9t+wkmsICaRrp975MiJsyzoaT+2PO2K6+onhJO6DTW"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.on_chain_tx",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "info": "funding_signed",
      "tx": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg==",
      "type": "channel_create_tx"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.on_chain_tx",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "info": "channel_changed",
      "tx": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg==",
      "type": "channel_create_tx"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.on_chain_tx",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "info": "channel_changed",
      "tx": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg==",
      "type": "channel_create_tx"
    }
  },
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.message",
  "params": {
    "info": "Hello",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.message",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "message": {
        "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "info": "Hello",
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.message",
  "params": {
    "info": "Hello back",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.message",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "message": {
        "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "info": "Hello back",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421694,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421694,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999999
    },
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000001
    }
  ],
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421693,
  "jsonrpc": "2.0",
  "method": "channels.assume_minimum_depth",
  "params": {
    "tx_hash": "th_2ERU4LEe8Bn8x1iuw9vSh7iHys9t8zwt3Nq2oz5GQj9pAu9pur"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421693,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder ---> node

{
  "id": -576460752303421692,
  "jsonrpc": "2.0",
  "method": "channels.assume_minimum_depth",
  "params": {
    "tx_hash": "th_2ERU4LEe8Bn8x1iuw9vSh7iHys9t8zwt3Nq2oz5GQj9pAu9pur"
  }
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "own_funding_locked"
    }
  },
  "version": 1
}

initiator info

Funding has been confirmed locally on-chain

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421692,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "own_funding_locked"
    }
  },
  "version": 1
}

responder info

Funding has been confirmed locally on-chain

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "funding_locked"
    }
  },
  "version": 1
}

responder info

Funding has been confirmed on-chain by other party

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "funding_locked"
    }
  },
  "version": 1
}

initiator info

Funding has been confirmed on-chain by other party

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "open"
    }
  },
  "version": 1
}

responder info

Channel is open and ready to use

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "open"
    }
  },
  "version": 1
}

initiator info

Channel is open and ready to use

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg=="
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+QEOCwH4hLhAAT1wO6X1XimqSjJgXD2tALoWktcOgWBXvAOPDo5Ul2rBfWPOPkC99JQAO7b8KwPSr7ZMOEilhptPNEWYVqLdBLhAxw3skqCjhCvxm4jwDYZRZ8M/f2QDOuj16uaTYJn9Qx1yvqflv8NcN2Ar++LbxXd2U5QCQnzxRIB1TsNDSG5aCbiE+IIyAqEBwTH0kjbcqZ+kfS4/13ElgHQNj5dEpvgNJ435icc0A0aGP6olImAAoQETPZyIkZzGtspz/mXN+8wG21WBqvpLmWG2islKR7Wj/4YkYTnKgAACCgCGEAsh7xAAwMCgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBOeX7Rg=="
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421691,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421691,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999999
    },
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000001
    }
  ],
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": "1",
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1008,
        "message": "Not a number"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": "1",
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ABCDEF",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ABCDEF",
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "to": "ABCDEF"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "to": "ABCDEF"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "meta": 17,
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1014,
        "message": "Invalid meta object"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "meta": 17,
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+E0LAcC4SPhGOQKhBp7tfsHJU7GHsf/8u3KSCdFtIgGM16FuOygYDNRkpG37AqAItoZUv/XRm7XPkPQsAqyTRxEMHCdyvVgPRhJPJ6bYR/2pFxs=",
      "updates": [
        {
          "amount": 1,
          "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
          "op": "OffChainTransfer",
          "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
        }
      ]
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421690,
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "signed_tx": "tx_+JALAfhCuECEwQ3D4WfXsq35UySpBUeSxTftsujhot8R5Q86k2BZI9rFU5LTmpbMi6KqgfauGusJUei/t4elRH0WaVElDgUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wKgCLaGVL/10Zu1z5D0LAKsk0cRDBwncr1YD0YSTyem2EeXS/gs"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421690,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "update"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update_ack",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+JALAfhCuECEwQ3D4WfXsq35UySpBUeSxTftsujhot8R5Q86k2BZI9rFU5LTmpbMi6KqgfauGusJUei/t4elRH0WaVElDgUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wKgCLaGVL/10Zu1z5D0LAKsk0cRDBwncr1YD0YSTyem2EeXS/gs",
      "updates": [
        {
          "amount": 1,
          "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
          "op": "OffChainTransfer",
          "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
        }
      ]
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421689,
  "jsonrpc": "2.0",
  "method": "channels.update_ack",
  "params": {
    "signed_tx": "tx_+NILAfiEuEBkYnrK2VC1CZh78Nak6LkPilRsoHx5Dea7QBt8oveSKfrFaK7XpYQxrGBaIdCS1lO4T5/a8SRL+y6Nd7Y37KANuECEwQ3D4WfXsq35UySpBUeSxTftsujhot8R5Q86k2BZI9rFU5LTmpbMi6KqgfauGusJUei/t4elRH0WaVElDgUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wKgCLaGVL/10Zu1z5D0LAKsk0cRDBwncr1YD0YSTyem2EcfPWeO"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421689,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEBkYnrK2VC1CZh78Nak6LkPilRsoHx5Dea7QBt8oveSKfrFaK7XpYQxrGBaIdCS1lO4T5/a8SRL+y6Nd7Y37KANuECEwQ3D4WfXsq35UySpBUeSxTftsujhot8R5Q86k2BZI9rFU5LTmpbMi6KqgfauGusJUei/t4elRH0WaVElDgUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wKgCLaGVL/10Zu1z5D0LAKsk0cRDBwncr1YD0YSTyem2EcfPWeO"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEBkYnrK2VC1CZh78Nak6LkPilRsoHx5Dea7QBt8oveSKfrFaK7XpYQxrGBaIdCS1lO4T5/a8SRL+y6Nd7Y37KANuECEwQ3D4WfXsq35UySpBUeSxTftsujhot8R5Q86k2BZI9rFU5LTmpbMi6KqgfauGusJUei/t4elRH0WaVElDgUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wKgCLaGVL/10Zu1z5D0LAKsk0cRDBwncr1YD0YSTyem2EcfPWeO"
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421688,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421688,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999998
    },
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000002
    }
  ],
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421687,
  "jsonrpc": "2.0",
  "method": "channels.get.offchain_state",
  "params": {}
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421687,
  "jsonrpc": "2.0",
  "result": {
    "calls": "cs_yYICbgGEwz8BwHtqgWY=",
    "half_signed_tx": "",
    "signed_tx": "tx_+NILAfiEuEBkYnrK2VC1CZh78Nak6LkPilRsoHx5Dea7QBt8oveSKfrFaK7XpYQxrGBaIdCS1lO4T5/a8SRL+y6Nd7Y37KANuECEwQ3D4WfXsq35UySpBUeSxTftsujhot8R5Q86k2BZI9rFU5LTmpbMi6KqgfauGusJUei/t4elRH0WaVElDgUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wKgCLaGVL/10Zu1z5D0LAKsk0cRDBwncr1YD0YSTyem2EcfPWeO",
    "trees": "ss_+Ks+AIrJggJtAYTDPwHAismCAm4BhMM/AcCKyYICbwGEwz8BwIrJggJwAYTDPwHAismCAnEBhMM/AcC4cPhuggJyAbho+GY/AfhisO9AAaDBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRovKCgEAhj+qJSJf/rDvQAGgEz2ciJGcxrbKc/5lzfvMBttVgar6S5lhtorJSke1o/+LygoBAIYkYTnKgALC0BtF"
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421686,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421686,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000002
    },
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999998
    }
  ],
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": "1",
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1008,
        "message": "Not a number"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": "1",
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ABCDEF",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ABCDEF",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ABCDEF"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "to": "ABCDEF"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "meta": 17,
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1014,
        "message": "Invalid meta object"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "meta": 17,
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+E0LAcC4SPhGOQKhBp7tfsHJU7GHsf/8u3KSCdFtIgGM16FuOygYDNRkpG37A6CXtXBlubFGjDO4C+jjPJ01iWPuB/Vu5yA2y97E3FvDOl85g+4=",
      "updates": [
        {
          "amount": 1,
          "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
          "op": "OffChainTransfer",
          "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
        }
      ]
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421685,
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "signed_tx": "tx_+JALAfhCuEB6rYjaYcwgOti6k4Ujz8n2k1djjuF+ZBZxytKG/GuIrBtQbIrl9clm8gUUTY5vUV0OuKqgF/DqmBzpHo7j5fsLuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wOgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzqbbv4i"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421685,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "update"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update_ack",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+JALAfhCuEB6rYjaYcwgOti6k4Ujz8n2k1djjuF+ZBZxytKG/GuIrBtQbIrl9clm8gUUTY5vUV0OuKqgF/DqmBzpHo7j5fsLuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wOgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzqbbv4i",
      "updates": [
        {
          "amount": 1,
          "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
          "op": "OffChainTransfer",
          "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
        }
      ]
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421684,
  "jsonrpc": "2.0",
  "method": "channels.update_ack",
  "params": {
    "signed_tx": "tx_+NILAfiEuEB6rYjaYcwgOti6k4Ujz8n2k1djjuF+ZBZxytKG/GuIrBtQbIrl9clm8gUUTY5vUV0OuKqgF/DqmBzpHo7j5fsLuEDQIfeii4YkKKHLTNfqmcAVqRCuzPOExUom2RNYuTnsIypN8sPj6kCJ2EsHrPSWYdUgM2mdeP55UVkJBOax/IUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wOgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzpYX+K6"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421684,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEB6rYjaYcwgOti6k4Ujz8n2k1djjuF+ZBZxytKG/GuIrBtQbIrl9clm8gUUTY5vUV0OuKqgF/DqmBzpHo7j5fsLuEDQIfeii4YkKKHLTNfqmcAVqRCuzPOExUom2RNYuTnsIypN8sPj6kCJ2EsHrPSWYdUgM2mdeP55UVkJBOax/IUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wOgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzpYX+K6"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEB6rYjaYcwgOti6k4Ujz8n2k1djjuF+ZBZxytKG/GuIrBtQbIrl9clm8gUUTY5vUV0OuKqgF/DqmBzpHo7j5fsLuEDQIfeii4YkKKHLTNfqmcAVqRCuzPOExUom2RNYuTnsIypN8sPj6kCJ2EsHrPSWYdUgM2mdeP55UVkJBOax/IUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wOgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzpYX+K6"
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421683,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421683,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000001
    },
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999999
    }
  ],
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421682,
  "jsonrpc": "2.0",
  "method": "channels.get.offchain_state",
  "params": {}
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421682,
  "jsonrpc": "2.0",
  "result": {
    "calls": "cs_yYICbgGEwz8BwHtqgWY=",
    "half_signed_tx": "",
    "signed_tx": "tx_+NILAfiEuEB6rYjaYcwgOti6k4Ujz8n2k1djjuF+ZBZxytKG/GuIrBtQbIrl9clm8gUUTY5vUV0OuKqgF/DqmBzpHo7j5fsLuEDQIfeii4YkKKHLTNfqmcAVqRCuzPOExUom2RNYuTnsIypN8sPj6kCJ2EsHrPSWYdUgM2mdeP55UVkJBOax/IUEuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wOgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzpYX+K6",
    "trees": "ss_+Ks+AIrJggJtAYTDPwHAismCAm4BhMM/AcCKyYICbwGEwz8BwIrJggJwAYTDPwHAismCAnEBhMM/AcC4cPhuggJyAbho+GY/AfhisO9AAaDBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRovKCgEAhj+qJSJf/7DvQAGgEz2ciJGcxrbKc/5lzfvMBttVgar6S5lhtorJSke1o/+LygoBAIYkYTnKgAFgU3ZQ"
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421681,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421681,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000001
    },
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999999
    }
  ],
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": "1",
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1008,
        "message": "Not a number"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": "1",
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ABCDEF",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ABCDEF",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ABCDEF"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "to": "ABCDEF"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "meta": 17,
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1014,
        "message": "Invalid meta object"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "meta": 17,
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+E0LAcC4SPhGOQKhBp7tfsHJU7GHsf/8u3KSCdFtIgGM16FuOygYDNRkpG37BKArMRarrSyTs6kooYlRMBZb/tbfiBuYvXLPodgg12U85hQYu/w=",
      "updates": [
        {
          "amount": 1,
          "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
          "op": "OffChainTransfer",
          "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
        }
      ]
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421680,
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "signed_tx": "tx_+JALAfhCuECRPv8196oY8ccvId+T6L0DwRzZUe5dwXFoKF4b/bFpSq71y0/Z0eAieoNHBoW0N4mihD0Q3K39Si7Xax6ZShABuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wSgKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOZEpm2G"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421680,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "update"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update_ack",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+JALAfhCuECRPv8196oY8ccvId+T6L0DwRzZUe5dwXFoKF4b/bFpSq71y0/Z0eAieoNHBoW0N4mihD0Q3K39Si7Xax6ZShABuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wSgKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOZEpm2G",
      "updates": [
        {
          "amount": 1,
          "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
          "op": "OffChainTransfer",
          "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
        }
      ]
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421679,
  "jsonrpc": "2.0",
  "method": "channels.update_ack",
  "params": {
    "signed_tx": "tx_+NILAfiEuEBM8xgPHd3JDHhsBERmI38bV6XT2jeujgk9iOrG2SEdac7aeLiw1z+GLmEyqP7U2xid6K/DlD1wtiSLP+jhkMIMuECRPv8196oY8ccvId+T6L0DwRzZUe5dwXFoKF4b/bFpSq71y0/Z0eAieoNHBoW0N4mihD0Q3K39Si7Xax6ZShABuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wSgKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOatb+5p"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421679,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEBM8xgPHd3JDHhsBERmI38bV6XT2jeujgk9iOrG2SEdac7aeLiw1z+GLmEyqP7U2xid6K/DlD1wtiSLP+jhkMIMuECRPv8196oY8ccvId+T6L0DwRzZUe5dwXFoKF4b/bFpSq71y0/Z0eAieoNHBoW0N4mihD0Q3K39Si7Xax6ZShABuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wSgKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOatb+5p"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEBM8xgPHd3JDHhsBERmI38bV6XT2jeujgk9iOrG2SEdac7aeLiw1z+GLmEyqP7U2xid6K/DlD1wtiSLP+jhkMIMuECRPv8196oY8ccvId+T6L0DwRzZUe5dwXFoKF4b/bFpSq71y0/Z0eAieoNHBoW0N4mihD0Q3K39Si7Xax6ZShABuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wSgKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOatb+5p"
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421678,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421678,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000000
    },
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 70000000000000
    }
  ],
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421677,
  "jsonrpc": "2.0",
  "method": "channels.get.offchain_state",
  "params": {}
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421677,
  "jsonrpc": "2.0",
  "result": {
    "calls": "cs_yYICbgGEwz8BwHtqgWY=",
    "half_signed_tx": "",
    "signed_tx": "tx_+NILAfiEuEBM8xgPHd3JDHhsBERmI38bV6XT2jeujgk9iOrG2SEdac7aeLiw1z+GLmEyqP7U2xid6K/DlD1wtiSLP+jhkMIMuECRPv8196oY8ccvId+T6L0DwRzZUe5dwXFoKF4b/bFpSq71y0/Z0eAieoNHBoW0N4mihD0Q3K39Si7Xax6ZShABuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wSgKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOatb+5p",
    "trees": "ss_+Ks+AIrJggJtAYTDPwHAismCAm4BhMM/AcCKyYICbwGEwz8BwIrJggJwAYTDPwHAismCAnEBhMM/AcC4cPhuggJyAbho+GY/AfhisO9AAaDBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRovKCgEAhj+qJSJgALDvQAGgEz2ciJGcxrbKc/5lzfvMBttVgar6S5lhtorJSke1o/+LygoBAIYkYTnKgABEv1s8"
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421676,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421676,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 70000000000000
    },
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000000
    }
  ],
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": "1",
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1008,
        "message": "Not a number"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": "1",
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ABCDEF",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ABCDEF",
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "to": "ABCDEF"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "to": "ABCDEF"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "meta": 17,
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1014,
        "message": "Invalid meta object"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
        "meta": 17,
        "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

initiator ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
    "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
  }
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+E0LAcC4SPhGOQKhBp7tfsHJU7GHsf/8u3KSCdFtIgGM16FuOygYDNRkpG37BaCXtXBlubFGjDO4C+jjPJ01iWPuB/Vu5yA2y97E3FvDOrces/0=",
      "updates": [
        {
          "amount": 1,
          "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
          "op": "OffChainTransfer",
          "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
        }
      ]
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421675,
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "signed_tx": "tx_+JALAfhCuECQfs7NRo8zjCwUkNtZVLsMTLDaImvyMrtE6xK8ELrl6nbxeILwuljxenW29DMLrjFqvtLaG/78Q1RGQSlqKvUKuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wWgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBMaO/"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421675,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "update"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update_ack",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+JALAfhCuECQfs7NRo8zjCwUkNtZVLsMTLDaImvyMrtE6xK8ELrl6nbxeILwuljxenW29DMLrjFqvtLaG/78Q1RGQSlqKvUKuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wWgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzoBMaO/",
      "updates": [
        {
          "amount": 1,
          "from": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
          "op": "OffChainTransfer",
          "to": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
        }
      ]
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421674,
  "jsonrpc": "2.0",
  "method": "channels.update_ack",
  "params": {
    "signed_tx": "tx_+NILAfiEuEBOegZHN5+lzu0RyCHYvmegVxfqS1T0o4SL3NVZZKeCNzFQocnWX08epKZvRkvsAVil8zUUtAduWbKKDWzGN7sIuECQfs7NRo8zjCwUkNtZVLsMTLDaImvyMrtE6xK8ELrl6nbxeILwuljxenW29DMLrjFqvtLaG/78Q1RGQSlqKvUKuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wWgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzql0IEM"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421674,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEBOegZHN5+lzu0RyCHYvmegVxfqS1T0o4SL3NVZZKeCNzFQocnWX08epKZvRkvsAVil8zUUtAduWbKKDWzGN7sIuECQfs7NRo8zjCwUkNtZVLsMTLDaImvyMrtE6xK8ELrl6nbxeILwuljxenW29DMLrjFqvtLaG/78Q1RGQSlqKvUKuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wWgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzql0IEM"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEBOegZHN5+lzu0RyCHYvmegVxfqS1T0o4SL3NVZZKeCNzFQocnWX08epKZvRkvsAVil8zUUtAduWbKKDWzGN7sIuECQfs7NRo8zjCwUkNtZVLsMTLDaImvyMrtE6xK8ELrl6nbxeILwuljxenW29DMLrjFqvtLaG/78Q1RGQSlqKvUKuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wWgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzql0IEM"
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421673,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421673,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999999
    },
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000001
    }
  ],
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421672,
  "jsonrpc": "2.0",
  "method": "channels.get.offchain_state",
  "params": {}
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421672,
  "jsonrpc": "2.0",
  "result": {
    "calls": "cs_yYICbgGEwz8BwHtqgWY=",
    "half_signed_tx": "",
    "signed_tx": "tx_+NILAfiEuEBOegZHN5+lzu0RyCHYvmegVxfqS1T0o4SL3NVZZKeCNzFQocnWX08epKZvRkvsAVil8zUUtAduWbKKDWzGN7sIuECQfs7NRo8zjCwUkNtZVLsMTLDaImvyMrtE6xK8ELrl6nbxeILwuljxenW29DMLrjFqvtLaG/78Q1RGQSlqKvUKuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wWgl7VwZbmxRowzuAvo4zydNYlj7gf1bucgNsvexNxbwzql0IEM",
    "trees": "ss_+Ks+AIrJggJtAYTDPwHAismCAm4BhMM/AcCKyYICbwGEwz8BwIrJggJwAYTDPwHAismCAnEBhMM/AcC4cPhuggJyAbho+GY/AfhisO9AAaDBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRovKCgEAhj+qJSJf/7DvQAGgEz2ciJGcxrbKc/5lzfvMBttVgar6S5lhtorJSke1o/+LygoBAIYkYTnKgAFgU3ZQ"
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421671,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421671,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000001
    },
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 69999999999999
    }
  ],
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": "1",
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1008,
        "message": "Not a number"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": "1",
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ABCDEF",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ABCDEF",
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ABCDEF"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1005,
        "message": "Broken encoding: account pubkey"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "to": "ABCDEF"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "meta": 17,
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "error": {
    "code": 3,
    "data": [
      {
        "code": 1014,
        "message": "Invalid meta object"
      }
    ],
    "message": "Rejected",
    "request": {
      "jsonrpc": "2.0",
      "method": "channels.update.new",
      "params": {
        "amount": 1,
        "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
        "meta": 17,
        "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
      }
    }
  },
  "id": null,
  "jsonrpc": "2.0",
  "version": 1
}

responder ---> node

{
  "jsonrpc": "2.0",
  "method": "channels.update.new",
  "params": {
    "amount": 1,
    "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
    "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
  }
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+E0LAcC4SPhGOQKhBp7tfsHJU7GHsf/8u3KSCdFtIgGM16FuOygYDNRkpG37BqArMRarrSyTs6kooYlRMBZb/tbfiBuYvXLPodgg12U85hyqEVc=",
      "updates": [
        {
          "amount": 1,
          "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
          "op": "OffChainTransfer",
          "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
        }
      ]
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421670,
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "signed_tx": "tx_+JALAfhCuEAq1UYcwhb9o6nuTfYqsdxgwj+Z1T2J2DPkNkLmJYWdNoyH1pK3OrtLp64fJqlF5L+Z3A5eKtQoiFe8vBn12l0AuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wagKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOYh8095"
  }
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421670,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "update"
    }
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.sign.update_ack",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "signed_tx": "tx_+JALAfhCuEAq1UYcwhb9o6nuTfYqsdxgwj+Z1T2J2DPkNkLmJYWdNoyH1pK3OrtLp64fJqlF5L+Z3A5eKtQoiFe8vBn12l0AuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wagKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOYh8095",
      "updates": [
        {
          "amount": 1,
          "from": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
          "op": "OffChainTransfer",
          "to": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
        }
      ]
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421669,
  "jsonrpc": "2.0",
  "method": "channels.update_ack",
  "params": {
    "signed_tx": "tx_+NILAfiEuEAq1UYcwhb9o6nuTfYqsdxgwj+Z1T2J2DPkNkLmJYWdNoyH1pK3OrtLp64fJqlF5L+Z3A5eKtQoiFe8vBn12l0AuEDErQWGGcM4t4Skc+Zz46oZRf9VH65mHF8w7wmvbbF89qIen95GQzcDFBHSGRKdWXQfFlXnFSCKePgEBAn3BeIBuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wagKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOZfWY44"
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421669,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEAq1UYcwhb9o6nuTfYqsdxgwj+Z1T2J2DPkNkLmJYWdNoyH1pK3OrtLp64fJqlF5L+Z3A5eKtQoiFe8vBn12l0AuEDErQWGGcM4t4Skc+Zz46oZRf9VH65mHF8w7wmvbbF89qIen95GQzcDFBHSGRKdWXQfFlXnFSCKePgEBAn3BeIBuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wagKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOZfWY44"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.update",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "state": "tx_+NILAfiEuEAq1UYcwhb9o6nuTfYqsdxgwj+Z1T2J2DPkNkLmJYWdNoyH1pK3OrtLp64fJqlF5L+Z3A5eKtQoiFe8vBn12l0AuEDErQWGGcM4t4Skc+Zz46oZRf9VH65mHF8w7wmvbbF89qIen95GQzcDFBHSGRKdWXQfFlXnFSCKePgEBAn3BeIBuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wagKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOZfWY44"
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421668,
  "jsonrpc": "2.0",
  "method": "channels.get.balances",
  "params": {
    "accounts": [
      "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv"
    ]
  }
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421668,
  "jsonrpc": "2.0",
  "result": [
    {
      "account": "ak_9UUfv5MBBZRKsS82REfUw4xLxrGVrEtjxuiEHiZDgraJg27Sn",
      "balance": 40000000000000
    },
    {
      "account": "ak_2U5uowyre6aqU1gz3Pkd1VtMkBVc2rquvr3oPWynbPNYozaLhv",
      "balance": 70000000000000
    }
  ],
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421667,
  "jsonrpc": "2.0",
  "method": "channels.get.offchain_state",
  "params": {}
}

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421667,
  "jsonrpc": "2.0",
  "result": {
    "calls": "cs_yYICbgGEwz8BwHtqgWY=",
    "half_signed_tx": "",
    "signed_tx": "tx_+NILAfiEuEAq1UYcwhb9o6nuTfYqsdxgwj+Z1T2J2DPkNkLmJYWdNoyH1pK3OrtLp64fJqlF5L+Z3A5eKtQoiFe8vBn12l0AuEDErQWGGcM4t4Skc+Zz46oZRf9VH65mHF8w7wmvbbF89qIen95GQzcDFBHSGRKdWXQfFlXnFSCKePgEBAn3BeIBuEj4RjkCoQae7X7ByVOxh7H//LtykgnRbSIBjNehbjsoGAzUZKRt+wagKzEWq60sk7OpKKGJUTAWW/7W34gbmL1yz6HYINdlPOZfWY44",
    "trees": "ss_+Ks+AIrJggJtAYTDPwHAismCAm4BhMM/AcCKyYICbwGEwz8BwIrJggJwAYTDPwHAismCAnEBhMM/AcC4cPhuggJyAbho+GY/AfhisO9AAaDBMfSSNtypn6R9Lj/XcSWAdA2Pl0Sm+A0njfmJxzQDRovKCgEAhj+qJSJgALDvQAGgEz2ciJGcxrbKc/5lzfvMBttVgar6S5lhtorJSke1o/+LygoBAIYkYTnKgABEv1s8"
  },
  "version": 1
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "minimum_depth_achieved",
      "notice": "already_assumed",
      "tx_hash": "th_2ERU4LEe8Bn8x1iuw9vSh7iHys9t8zwt3Nq2oz5GQj9pAu9pur",
      "tx_type": "channel_create_tx"
    }
  },
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "minimum_depth_achieved",
      "notice": "already_assumed",
      "tx_hash": "th_2ERU4LEe8Bn8x1iuw9vSh7iHys9t8zwt3Nq2oz5GQj9pAu9pur",
      "tx_type": "channel_create_tx"
    }
  },
  "version": 1
}

responder ---> node

{
  "id": -576460752303421666,
  "jsonrpc": "2.0",
  "method": "channels.system",
  "params": {
    "action": "stop"
  }
}

initiator <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "died"
    }
  },
  "version": 1
}

responder <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421666,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

responder <--- node

{
  "jsonrpc": "2.0",
  "method": "channels.info",
  "params": {
    "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
    "data": {
      "event": "died"
    }
  },
  "version": 1
}

initiator ---> node

{
  "id": -576460752303421665,
  "jsonrpc": "2.0",
  "method": "channels.system",
  "params": {
    "action": "stop"
  }
}

responder closes WebSocket connection

initiator <--- node

{
  "channel_id": "ch_2CzbXD38sjii5eM1nMLtASBvtpKgfUGJSp3MofesFH5DWro8GJ",
  "id": -576460752303421665,
  "jsonrpc": "2.0",
  "result": "ok",
  "version": 1
}

initiator closes WebSocket connection

Previousassume_min_depthNextboth_sign

Last updated 28 days ago

Was this helpful?