WebSocket API

WebSocketでノードに接続することでノードから通知を受け取ることが可能です。また、RPC APIも使用可能です。

接続の確認にはwscatやGUIならARCなどのツールが便利です。

メッセージJSONのフォーマットは

{
 "id":1,
 "method":"call",
 "params":[
           0,
           "get_accounts",
           [["1.2.0"]]
          ]
}

“id”は利用側がどのリクエストで取得したデータなのかを区別するためのもので、自由な数字を設定します。
“method”は“call”、“params”には使用するAPIのID (IDの取得を参照)、使用するAPI名、APIのパラメータを指定します。

ログイン

WebSocketでノードに接続したら、まずログインします。ノードの設定によりますが、通常はNetwork Node API以外はアカウントを作成していなくても使用できます。
ログインメッセージは:

> {"id":1,"method":"call","params":[1,"login",["user","password"]]}
< {"id":1,"jsonrpc":"2.0","result":true}

ノードにアカウントがない場合はuserとpasswordは空欄にします。

IDの取得

次に使用するAPIのIDを取得します。IDは使用するAPIの種類毎に取得する必要があります。アクセス制限をかけているノードの場合は、アクセス権限のあるAPIのIDしか取得できません。 例:

> {"id":2,"method":"call","params":[1,"database",[]]}
< {"id":2,"jsonrpc":"2.0","result":2}

result (この例では2) が取得したIDです。“database”のところは使用するAPIに応じて変更します。

  • Database API: “database”
  • Account History API: “history”
  • Network Broadcast API: “network_broadcast”
  • Network Nodes API: “network_node”

Database API

データベースからデータを取得します。また、オブジェクトに変更があった場合に通知を受け取ることができます。
単純にデータを取得する場合はRPC APIと同じです。JSONの書式だけWebSocket APIのものに変更することで同じ結果が得られます。

通知の登録

set_subscribe_callback

set_subscribe_callback(std::function<void(const variant&)> cb, bool clear_filter)
ノードから通知を受けるための登録をします。set_subscribe_callbackの後にget_objectで取得したオブジェクトデータに変更が行われた場合に通知を受け取ります。
また、clear_filterをtrueにすると、ブロックが生成されるたびに全トランザクション (?要検証) が通知されます。
通知はset_subscribe_callbackをもう一度送信するか、cancel_all_subscriptionsを使用することで止まります。
パラメータ cb: コールバックID。任意の数値を設定します。 / clear_filter: トランザクションの通知が必要な場合はtrue、不要な場合はfalse
返り値 登録に成功した場合はnull、失敗した場合はエラー。
例:

> {"id":3,"method":"call","params":[2,"set_subscribe_callback",[200, false]]}
< {"id":3,"jsonrpc":"2.0","result":null}
> {"id":5,"method":"call","params":[2,"get_objects",[["2.3.1570"]]]}
< {"id":5,"jsonrpc":"2.0","result":[{"id":"2.3.1570","current_supply":"126998216781","confidential_supply":0,"accumulated_fees":677114145,"fee_pool":8005477}]}
< {"method":"notice","params":[200,[[{"id":"2.3.1570","current_supply":"126998216781","confidential_supply":0,"accumulated_fees":677114145,"fee_pool":8006064}]]]}
< {"method":"notice","params":[200,[[{"id":"2.3.1570","current_supply":"126998216781","confidential_supply":0,"accumulated_fees":677117349,"fee_pool":8006064}]]]}
...

set_pending_transaction_callback

set_pending_transaction_callback(std::function<void(const variant&)> cb)
すべての未承認 (新着) トランザクションの通知を受け取ります。
パラメータ cb: コールバックID。任意の数値を設定します。
返り値 成功した場合はnull、失敗した場合はエラー。
例:

> {"id":6,"method":"call","params":[2,"set_pending_transaction_callback",[300]]}
< {"id":6,"jsonrpc":"2.0","result":null}
< {"method":"notice","params":[300,[{"ref_block_num":21957,"ref_block_prefix":3936603565,"expiration":"2018-08-06T17:21:39","operations":[[2,{"fee":{"amount":57,"asset_id":"1.3.0"},"fee_paying_account":"1.2.860116","order":"1.7.160880134","extensions":[]}]],"extensions":[],"signatures":["2030358146dfbb11ba8c643811b8acfa0678eed77e0773247b0184324121d035f644b3bcf842d3c17255942b1a45e8406de8fc9e34fc8fdbb51e7155286ecb6a5c"]}]]}
< {"method":"notice","params":[300,[{"ref_block_num":21959,"ref_block_prefix":3757758562,"expiration":"2018-08-06T17:21:29","operations":[[2,{"fee":{"amount":57,"asset_id":"1.3.0"},"fee_paying_account":"1.2.896148","order":"1.7.160882034","extensions":[]}],[1,{"fee":{"amount":578,"asset_id":"1.3.0"},"seller":"1.2.896148","amount_to_sell":{"amount":45000000,"asset_id":"1.3.0"},"min_to_receive":{"amount":703675,"asset_id":"1.3.121"},"expiration":"2019-08-06T17:21:12","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["205fda27c6f7d015c68943208246996cb164fa2dbcc997cad475d0df73c37c38347203b7b1657014db00f24a4106f7e6c6bbecd22ed36a289d92eca687a1d7ded2"]}]]}
...

set_block_applied_callback

set_block_applied_callback(std::function<void(const variant &block_id)> cb)
新規ブロックのIDの通知を受け取ります。
パラメータ cb: コールバックID。任意の数値を設定します。
返り値 成功した場合はnull、失敗した場合はエラー。
例:

> {"id":7,"method":"call","params":[2,"set_block_applied_callback",[400]]}
< {"id":7,"jsonrpc":"2.0","result":null}
< {"method":"notice","params":[400,["01c056c3440292a8bb5c3ac45b1c13898aba3d6d"]]}
< {"method":"notice","params":[400,["01c056c4b0dc6a81b6ed35146dfd7785846a414a"]]}
< {"method":"notice","params":[400,["01c056c599ab01b63a0ab69a89abba1162df1beb"]]}
...

cancel_all_subscriptions

cancel_all_subscriptions()
set_subscribe_callbackの通知をすべてキャンセルします。
パラメータ なし
返り値 成功した場合はnull、失敗した場合はエラー。
例:

> {"id":4,"method":"call","params":[2,"cancel_all_subscriptions",[]]}
< {"id":4,"jsonrpc":"2.0","result":null}

Account History API

アカウントとマーケットの履歴を取得することができます。

アカウント履歴

get_account_history

get_account_history(account_id_type account, operation_history_id_type stop = operation_history_id_type (), unsigned limit = 100, operation_history_id_type start = operation_history_id_type ())
アカウントの履歴を取得します。start、stopにはオペレーション履歴ID (1.11.xxxx) を指定します。startから始めてIDの数値がstopを超えない範囲でlimitの件数になるまで最新のものから順に取得します。
また、startに1.11.0を指定すると最新のものから取得を開始します。従って、start、stopを両方とも0にすると最新のものからlimitの数だけ取得することが可能です。
ただし、取得できるのはノードが保持している範囲内の履歴に限ります。
パラメータ account: アカウントID / stop: 取得を停止するオペレーション履歴ID / limit: 最大取得件数 (100以下) / start: 取得を開始するオペレーション履歴ID
返り値 オペレーション履歴。
例:

> {"id":3,"method":"call","params":[2,"get_account_history",["1.2.0","1.11.300000000",10,"1.11.360000000"]]}
< {"id":3,"jsonrpc":"2.0","result":[{"id":"1.11.354208764","op":[0,{"fee":{"amount":10420,"asset_id":"1.3.0"},"from":"1.2.473766","to":"1.2.0","amount":{"amount":1000,"asset_id":"1.3.3279"},"extensions":[]}],"result":[0,{}],"block_num":29124730,"trx_in_block":9,"op_in_trx":0,"virtual_op":19540},{"id":"1.11.341960724","op":[0,{"fee":{"amount":11000,"asset_id":"1.3.0"},"from":"1.2.0","to":"1.2.805079","amount":{"amount":"10800000000","asset_id":"1.3.113"},"extensions":[]}],"result":[0,{}],"block_num":29047306,"trx_in_block":22,"op_in_trx":1,"virtual_op":26729},{"id":"1.11.341960723","op":[0,{"fee":{"amount":11000,"asset_id":"1.3.0"},"from":"1.2.0","to":"1.2.840071","amount":{"amount":"91000000000","asset_id":"1.3.0"},"extensions":[]}],"result":[0,{}],"block_num":29047306,"trx_in_block":22,"op_in_trx":1,"virtual_op":26728},{"id":"1.11.341960722","op":[0,{"fee":{"amount":11000,"asset_id":"1.3.0"},"from":"1.2.0","to":"1.2.805079","amount":{"amount":"182000000000","asset_id":"1.3.0"},"extensions":[]}],"result":[0,{}],"block_num":29047306,"trx_in_block":22,"op_in_trx":1,"virtual_op":26727},{"id":"1.11.338226322","op":[22,{"fee":{"amount":88165,"asset_id":"1.3.0"},"fee_paying_account":"1.2.964","expiration_time":"2018-07-26T01:00:00","proposed_ops":[{"op":[0,{"fee":{"amount":11000,"asset_id":"1.3.0"},"from":"1.2.0","to":"1.2.805079","amount":{"amount":"10800000000","asset_id":"1.3.113"},"extensions":[]}]}],"review_period_seconds":3600,"extensions":[]}],"result":[1,"1.10.12644"],"block_num":29023448,"trx_in_block":0,"op_in_trx":0,"virtual_op":27878},{"id":"1.11.338222369","op":[22,{"fee":{"amount":88165,"asset_id":"1.3.0"},"fee_paying_account":"1.2.964","expiration_time":"2018-07-26T01:00:00","proposed_ops":[{"op":[0,{"fee":{"amount":11000,"asset_id":"1.3.0"},"from":"1.2.0","to":"1.2.840071","amount":{"amount":"91000000000","asset_id":"1.3.0"},"extensions":[]}]}],"review_period_seconds":3600,"extensions":[]}],"result":[1,"1.10.12643"],"block_num":29023422,"trx_in_block":11,"op_in_trx":0,"virtual_op":23925},{"id":"1.11.338216562","op":[22,{"fee":{"amount":88165,"asset_id":"1.3.0"},"fee_paying_account":"1.2.964","expiration_time":"2018-07-26T01:00:00","proposed_ops":[{"op":[0,{"fee":{"amount":11000,"asset_id":"1.3.0"},"from":"1.2.0","to":"1.2.805079","amount":{"amount":"182000000000","asset_id":"1.3.0"},"extensions":[]}]}],"review_period_seconds":3600,"extensions":[]}],"result":[1,"1.10.12642"],"block_num":29023384,"trx_in_block":5,"op_in_trx":0,"virtual_op":18118},{"id":"1.11.337846805","op":[43,{"fee":{"amount":600000,"asset_id":"1.3.0"},"issuer":"1.2.0","amount_to_claim":{"amount":"10800000000","asset_id":"1.3.113"},"extensions":[]}],"result":[0,{}],"block_num":29020977,"trx_in_block":8,"op_in_trx":22,"virtual_op":41577},{"id":"1.11.337846804","op":[33,{"fee":{"amount":1160000,"asset_id":"1.3.0"},"vesting_balance":"1.13.13777","owner":"1.2.0","amount":{"amount":"273000000000","asset_id":"1.3.0"}}],"result":[0,{}],"block_num":29020977,"trx_in_block":8,"op_in_trx":22,"virtual_op":41576},{"id":"1.11.333154086","op":[22,{"fee":{"amount":88052,"asset_id":"1.3.0"},"fee_paying_account":"1.2.964","expiration_time":"2018-07-25T03:00:00","proposed_ops":[{"op":[43,{"fee":{"amount":600000,"asset_id":"1.3.0"},"issuer":"1.2.0","amount_to_claim":{"amount":"10800000000","asset_id":"1.3.113"},"extensions":[]}]}],"review_period_seconds":3600,"extensions":[]}],"result":[1,"1.10.12558"],"block_num":28991736,"trx_in_block":11,"op_in_trx":0,"virtual_op":1909}]}

マーケット履歴

get_fill_order_history

get_fill_order_history(asset_id_type a, asset_id_type b, uint32_t limit)
指定したマーケットで最近成立したトレードの履歴を取得します。
パラメータ a: ベースアセットID / b: 相手アセットID / limit: 取得数の上限。
返り値 マーケットのトレード履歴。
例:

> {"id":3,"method":"call","params":[2,"get_fill_order_history",["1.3.0","1.3.113",10]]}
< {"id":3,"jsonrpc":"2.0","result":[{"id":"5.0.50799004","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107475},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.7.161073983","account_id":"1.2.470016","pays":{"amount":537,"asset_id":"1.3.113"},"receives":{"amount":4933,"asset_id":"1.3.0"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":true}},{"id":"5.0.50799003","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107474},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.8.88336","account_id":"1.2.1013343","pays":{"amount":4933,"asset_id":"1.3.0"},"receives":{"amount":537,"asset_id":"1.3.113"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":false}},{"id":"5.0.50799002","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107473},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.7.161073983","account_id":"1.2.470016","pays":{"amount":1046,"asset_id":"1.3.113"},"receives":{"amount":9607,"asset_id":"1.3.0"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":true}},{"id":"5.0.50799001","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107472},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.8.45120","account_id":"1.2.408785","pays":{"amount":9607,"asset_id":"1.3.0"},"receives":{"amount":1046,"asset_id":"1.3.113"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":false}},{"id":"5.0.50799000","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107471},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.7.161073983","account_id":"1.2.470016","pays":{"amount":1854,"asset_id":"1.3.113"},"receives":{"amount":17028,"asset_id":"1.3.0"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":true}},{"id":"5.0.50798999","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107470},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.8.93000","account_id":"1.2.916258","pays":{"amount":17028,"asset_id":"1.3.0"},"receives":{"amount":1854,"asset_id":"1.3.113"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":false}},{"id":"5.0.50798998","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107469},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.7.161073983","account_id":"1.2.470016","pays":{"amount":2865,"asset_id":"1.3.113"},"receives":{"amount":26314,"asset_id":"1.3.0"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":true}},{"id":"5.0.50798997","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107468},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.8.82727","account_id":"1.2.594425","pays":{"amount":26314,"asset_id":"1.3.0"},"receives":{"amount":2865,"asset_id":"1.3.113"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":false}},{"id":"5.0.50798996","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107467},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.7.161073983","account_id":"1.2.470016","pays":{"amount":3177,"asset_id":"1.3.113"},"receives":{"amount":29179,"asset_id":"1.3.0"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":true}},{"id":"5.0.50798995","key":{"base":"1.3.0","quote":"1.3.113","sequence":-12107466},"time":"2018-08-06T19:40:18","op":{"fee":{"amount":0,"asset_id":"1.3.0"},"order_id":"1.8.88243","account_id":"1.2.402163","pays":{"amount":29179,"asset_id":"1.3.0"},"receives":{"amount":3177,"asset_id":"1.3.113"},"fill_price":{"base":{"amount":217760,"asset_id":"1.3.113"},"quote":{"amount":2000000,"asset_id":"1.3.0"}},"is_maker":false}}]}

get_market_history

get_market_history(asset_id_type a, asset_id_type b, uint32_t bucket_seconds, fc::time_point_sec start, fc::time_point_sec end)
マーケットの統計情報を取得します。startの日時からendの日時までをbucket_secondsの秒数で区切り、それぞれの時間枠におけるマーケットの情報が得られます。ただし、一度に取得できる数には限度があります。
パラメータ a: ベースアセットID / b: 相手アセットID / bucket_seconds: 時間枠の大きさ。有効な数値はノードの設定により異なり、get_market_history_bucketsで確認できる / start: 取得開始日時 / end: 取得終了日時
返り値 マーケットのトレード履歴。
例:

> {"id":3,"method":"call","params":[2,"get_market_history",["1.3.0","1.3.113",3600,"2018-08-06T15:00:00","2018-08-06T20:00:00"]]}
< {"id":3,"jsonrpc":"2.0","result":[{"id":"5.1.15267519","key":{"base":"1.3.0","quote":"1.3.113","seconds":3600,"open":"2018-08-06T15:00:00"},"high_base":79999990,"high_quote":8683279,"low_base":10915425,"low_quote":1194788,"open_base":"2374582899","open_quote":258140907,"close_base":606296135,"close_quote":66280257,"base_volume":"36229846158","quote_volume":"3951189945"},{"id":"5.1.15269717","key":{"base":"1.3.0","quote":"1.3.113","seconds":3600,"open":"2018-08-06T16:00:00"},"high_base":919496263,"high_quote":100000000,"low_base":80000000,"low_quote":8755199,"open_base":2000000000,"open_quote":218408000,"close_base":2000000000,"close_quote":217510582,"base_volume":"11654621033","quote_volume":1269936145},{"id":"5.1.15271547","key":{"base":"1.3.0","quote":"1.3.113","seconds":3600,"open":"2018-08-06T17:00:00"},"high_base":919496263,"high_quote":100000000,"low_base":60957101,"low_quote":6644067,"open_base":10748073,"open_quote":1171481,"close_base":"4687867752","close_quote":509830000,"base_volume":362347536,"quote_volume":39414761},{"id":"5.1.15273378","key":{"base":"1.3.0","quote":"1.3.113","seconds":3600,"open":"2018-08-06T18:00:00"},"high_base":"4687867752","high_quote":509830000,"low_base":80000000,"low_quote":8727999,"open_base":122347421,"open_quote":13308759,"close_base":1000000000,"close_quote":108785000,"base_volume":1744790336,"quote_volume":189801182},{"id":"5.1.15275025","key":{"base":"1.3.0","quote":"1.3.113","seconds":3600,"open":"2018-08-06T19:00:00"},"high_base":"4687867752","high_quote":509830000,"low_base":184130943,"low_quote":20107098,"open_base":120200000,"open_quote":13075596,"close_base":2000000000,"close_quote":217510600,"base_volume":"3039483903","quote_volume":330693291},{"id":"5.1.15276969","key":{"base":"1.3.0","quote":"1.3.113","seconds":3600,"open":"2018-08-06T20:00:00"},"high_base":2000000000,"high_quote":217510600,"low_base":88800000,"low_quote":9687616,"open_base":2000000000,"open_quote":217510600,"close_base":100000000,"close_quote":10876000,"base_volume":41540494,"quote_volume":4521119}]}

get_market_history_buckets

get_market_history_buckets()
接続しているノードのbucket-sizeを取得します。標準設定ではbucket-size = [60,300,900,1800,3600,14400,86400]です。
パラメータ なし
返り値 bucket-sizeの値
例:

> {"id":3,"method":"call","params":[2,"get_market_history_buckets",[]]}
< {"id":3,"jsonrpc":"2.0","result":[60,300,900,1800,3600,14400,86400]}

Network Broadcast API

ネットワークに署名済みトランザクションやブロックをブロードキャストします。

トランザクション

broadcast_transaction

broadcast_transaction(const signed_transaction &trx)
ネットワークに署名済みトランザクションをブロードキャストします。
パラメータ trx: 署名済みトランザクション
返り値 null

broadcast_transaction_with_callback

broadcast_transaction_with_callback(confirmation_callback cb, const signed_transaction &trx)
ネットワークに署名済みトランザクションをブロードキャストし、トランザクションがブロックに含められたときに通知を受け取ります。
パラメータ cb: コールバックID。任意の数値を設定します。 / trx: 署名済みトランザクション
返り値 null

ブロック

broadcast_block

broadcast_block(const signed_block &block)
ネットワークに署名済みブロックをブロードキャストします。
パラメータ block: 署名済みブロック
返り値 null

Network Nodes API

ネットワークの情報を取得、設定の変更を行うAPIです。ノードの管理者が使用します。

ネットワーク情報の取得

get_info

get_info()
ノードのポート番号、公開鍵、IDなど一般的な情報を取得します。
パラメータ なし
返り値 ノードの情報
例:

> {"id":3,"method":"call","params":[2,"get_info",[]]}
< {"id":3,"jsonrpc":"2.0","result":{"listening_on":"0.0.0.0:46735","node_public_key":"02337e0c207bff91b995d1764049da332316df457ac7f794a76de52bef3356dcc8","node_id":"da1865eb05c929c5ba5e2e6cff90af460a5a4cfb95a6aa81cc5437c75e23fd77ad","firewalled":"firewalled","connection_count":20}}

get_connected_peers

get_connected_peers()
ノードが現在接続しているピアの一覧を取得します。
パラメータ なし
返り値 ノードが接続しているピアの一覧

get_potential_peers

get_potential_peers()
認識しているすべてのピアの一覧を取得します。
パラメータ なし
返り値 潜在的なピアの一覧

get_advanced_node_parameters

get_advanced_node_parameters()
最大接続可能数などのノードの追加設定を取得します。
パラメータ なし
返り値 ノードの設定値
例:

> {"id":3,"method":"call","params":[2,"get_advanced_node_parameters",[]]}
< {"id":3,"jsonrpc":"2.0","result":{"peer_connection_retry_timeout":30,"desired_number_of_connections":20,"maximum_number_of_connections":200,"maximum_number_of_blocks_to_handle_at_one_time":200,"maximum_number_of_sync_blocks_to_prefetch":2000,"maximum_blocks_per_peer_during_syncing":200}}

設定の変更

add_node

add_node(const fc::ip::endpoint &ep)
ノードを追加します。
パラメータ ノードのアドレス。xxx.xxx.xxx:xxxx
返り値 null
例:

> {"id":3,"method":"call","params":[2,"add_node",["xxx.xxx.xxx:xxxx"]]}
< {"id":3,"jsonrpc":"2.0","result":null}

set_advanced_node_parameters

set_advanced_node_parameters(const fc::variant_object &params)
ノードの追加設定を変更します。
パラメータ 設定値を含むJSON
返り値 null
例:

> {"id":4,"method":"call","params":[2,"set_advanced_node_parameters",[{"peer_connection_retry_timeout":31}]]}
< {"id":4,"jsonrpc":"2.0","result":null}