generic_messages
initiator ---> node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"info": "hejsan",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
responder <--- node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"message": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"from": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"info": "hejsan",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
},
"version": 1
}
responder ---> node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"info": "svejsan",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
initiator <--- node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"message": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"from": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt",
"info": "svejsan",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
},
"version": 1
}
initiator ---> node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"info": "first message in a row",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
responder <--- node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"message": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"from": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"info": "first message in a row",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
},
"version": 1
}
initiator ---> node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"info": "second message in a row",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
responder <--- node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"message": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"from": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"info": "second message in a row",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
},
"version": 1
}
responder ---> node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"info": "some message",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
initiator <--- node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"message": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"from": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt",
"info": "some message",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
},
"version": 1
}
responder ---> node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"info": "other message",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
initiator <--- node
{
"jsonrpc": "2.0",
"method": "channels.message",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"message": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"from": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt",
"info": "other message",
"to": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C"
}
}
},
"version": 1
}
initiator ---> node
{
"id": -576460752303422833,
"jsonrpc": "2.0",
"method": "channels.get.balances",
"params": {
"accounts": [
"ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
]
}
}
initiator <--- node
{
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"id": -576460752303422833,
"jsonrpc": "2.0",
"result": [
{
"account": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"balance": 69999999999999
},
{
"account": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt",
"balance": 40000000000001
}
],
"version": 1
}
initiator ---> node
{
"jsonrpc": "2.0",
"method": "channels.update.new",
"params": {
"amount": 1,
"from": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
}
initiator <--- node
{
"jsonrpc": "2.0",
"method": "channels.sign.update",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"signed_tx": "tx_+E0LAcC4SPhGOQKhBjkQAV3GxRR4BiusSvEAoR+N+0QpPoE+Ui4RUVILIeNHBqCmYmrUI8WuLhPHqyM94yQpUk/m5NeucZIHeasu3QdCyuaRwcw=",
"updates": [
{
"amount": 1,
"from": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"op": "OffChainTransfer",
"to": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
}
]
}
},
"version": 1
}
initiator ---> node
{
"id": -576460752303422832,
"jsonrpc": "2.0",
"method": "channels.update",
"params": {
"error": 147
}
}
initiator <--- node
{
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"id": -576460752303422832,
"jsonrpc": "2.0",
"result": "ok",
"version": 1
}
initiator <--- node
{
"jsonrpc": "2.0",
"method": "channels.info",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"event": "aborted_update"
}
},
"version": 1
}
initiator ---> node
{
"id": -576460752303422831,
"jsonrpc": "2.0",
"method": "channels.get.balances",
"params": {
"accounts": [
"ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt"
]
}
}
initiator <--- node
{
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"id": -576460752303422831,
"jsonrpc": "2.0",
"result": [
{
"account": "ak_mLjWgLbapr5CiVD2Q248aS2TQj9itXnoPv5tteXvZaJ8tdD2C",
"balance": 69999999999999
},
{
"account": "ak_26jAbCjYM16ppbhFG6PCQhv6HkwRAri7QNJfoEtb1R8amLscpt",
"balance": 40000000000001
}
],
"version": 1
}
responder ---> node
{
"id": -576460752303422830,
"jsonrpc": "2.0",
"method": "channels.system",
"params": {
"action": "stop"
}
}
responder <--- node
{
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"id": -576460752303422830,
"jsonrpc": "2.0",
"result": "ok",
"version": 1
}
initiator ---> node
{
"id": -576460752303422829,
"jsonrpc": "2.0",
"method": "channels.system",
"params": {
"action": "stop"
}
}
responder <--- node
{
"jsonrpc": "2.0",
"method": "channels.info",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"event": "died"
}
},
"version": 1
}
responder closes WebSocket connection
initiator <--- node
{
"jsonrpc": "2.0",
"method": "channels.info",
"params": {
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"data": {
"event": "died"
}
},
"version": 1
}
initiator <--- node
{
"channel_id": "ch_S8axer1izndZW5nt5Qi7e8gZsjDFi13S64RZkWSFzHYmUi3PJ",
"id": -576460752303422829,
"jsonrpc": "2.0",
"result": "ok",
"version": 1
}
initiator closes WebSocket connection