RPC API

curlなどを用いてノードへPOSTを送るだけで簡単に使用できるAPIです。データベースからデータを取得するときに使用できます。

POSTデータは以下のようなJSON形式をとります。

{
	"jsonrpc": "2.0",
	"method": "get_accounts",
	"params": [
		["1.2.0"]
	],
	"id": 1
}

methodは利用したいAPIを指定します。get_accountsはアカウント情報を取得します。
paramsはmethod毎に必要なパラメータを指定します。get_accountsの場合は情報を見たいアカウントのIDを指定します。
idは利用側がどのリクエストで取得したデータなのかを区別するためのものなので何でも構いません。

curlを使う方法

Linuxの場合

$ curl --data '{"jsonrpc": "2.0", "method": "get_accounts", "params": [["1.2.0"]], "id": 1}' https://example.com/rpc

ここで、https://example.com/rpcは任意のアクティブノードに変更してください。ローカルで設置したものなどでwsノードの場合はhttp://です。例: https://ap-northeast-1.bts.crypto-bridge.org/rpc
ただし、一部のノードはhttpリクエストを受け付けていません。上記の例のようなURLにブラウザでアクセスして

11 eof_exception: End Of File
stringstream
    {}
    th_a  sstream.cpp:66 readsome

    {"str":""}
    th_a  json.cpp:463 from_string

のように表示されたら利用可能です。

Windowsの場合

こちらからWindows用のバイナリを入手してください。
コマンドプロンプトで解凍したバイナリのあるディレクトリ (\bin) を開き、

curl --data "{\"jsonrpc\": \"2.0\", \"method\": \"get_accounts\", \"params\": [[\"1.2.0\"]], \"id\": 1}" https://example.com/rpc

このようなコマンドを実行します。Linuxとの違いは、POSTデータを囲むシングルクォーテーションがダブルクォーテーションになっていること、POSTデータ内のダブルクォーテーションをエスケープする必要があることだけです。

コマンドリスト

使用可能なコマンドのリスト。

オブジェクト

get_objects

get_objects(const vector<object_id_type> &ids)
オブジェクトの定義情報を取得します。
パラメータ ids: オブジェクトID (複数指定可)
返り値 各オブジェクトの定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_objects", "params": [["1.2.0", "1.3.0"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.2.0","membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":131718,"account_auths":[["1.2.121",33061],["1.2.159",20268],["1.2.282",20691],["1.2.12376",27928],["1.2.21106",18324],["1.2.25010",27191],["1.2.97845",20111],["1.2.125824",26790],["1.2.130258",21131],["1.2.158781",21070],["1.2.711128",26870]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"BTS1111111111111111111111111111111114T1Anm","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.6.0","whitelisting_accounts":[],"blacklisting_accounts":["1.2.979278"],"whitelisted_accounts":[],"blacklisted_accounts":[],"owner_special_authority":[0,{}],"active_special_authority":[0,{}],"top_n_control_flags":0},{"id":"1.3.0","symbol":"BTS","precision":5,"issuer":"1.2.3","options":{"max_supply":"360057050210207","market_fee_percent":0,"max_market_fee":"1000000000000000","issuer_permissions":0,"flags":0,"core_exchange_rate":{"base":{"amount":1,"asset_id":"1.3.0"},"quote":{"amount":1,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"","extensions":[]},"dynamic_asset_data_id":"2.3.0"}]}

ブロック/トランザクション

get_block_header

get_block_header(uint32_t block_num)
ブロックのヘッダ情報を取得します。
パラメータ block_num: ブロック高
返り値 ブロックのヘッダ情報 (1つ前のブロックのハッシュ、タイムスタンプ、証人ID、マークル根)
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_block_header", "params": [28700000], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"previous":"01b5ed5f7e4bf6ce85ff0920693fc2f94229cc82","timestamp":"2018-07-13T22:06:06","witness":"1.6.20","transaction_merkle_root":"815902ca03ab1e14ecb0e9979c3659b2badaa623","extensions":[]}}

get_block_header_batch

get_block_header_batch(const vector<uint32_t> block_nums)
複数のブロックのヘッダ情報を取得します。
パラメータ block_nums: ブロック高 (複数指定可)
返り値 各ブロックのヘッダ情報 (1つ前のブロックのハッシュ、タイムスタンプ、証人ID、マークル根)
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_block_header_batch", "params": [[28700000, 28700001]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[[28700000,{"previous":"01b5ed5f7e4bf6ce85ff0920693fc2f94229cc82","timestamp":"2018-07-13T22:06:06","witness":"1.6.20","transaction_merkle_root":"815902ca03ab1e14ecb0e9979c3659b2badaa623","extensions":[]}],[28700001,{"previous":"01b5ed602a1a479d6c9a733b0b36a0c9bcd299a8","timestamp":"2018-07-13T22:06:09","witness":"1.6.101","transaction_merkle_root":"413143c0a9fafdce230e110cee6ed7ff268d9c21","extensions":[]}]]}

get_block

get_block(uint32_t block_num)
ブロック情報を取得します。
パラメータ block_num: ブロック高
返り値 ブロックに含まれるすべての情報。
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_block", "params": [17000000], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"previous":"0103663f00f4cad407c708588195b143f9ce5e35","timestamp":"2017-05-31T01:06:00","witness":"1.6.45","transaction_merkle_root":"d06ad7fef35e8e18d906318fa85e6de37d73caac","extensions":[],"witness_signature":"202de34955d021e9bf5e8e026a1e961d53ce9fe5484c47524c29fd4752b86450265d82364bfba722bf3b620bebd19f08e649b8b1563bcb2226a6e753a0a0dbe326","transactions":[{"ref_block_num":26174,"ref_block_prefix":3101301777,"expiration":"2017-06-01T01:04:17","operations":[[2,{"fee":{"amount":725,"asset_id":"1.3.0"},"fee_paying_account":"1.2.155562","order":"1.7.8376078","extensions":[]}],[1,{"fee":{"amount":7256,"asset_id":"1.3.0"},"seller":"1.2.155562","amount_to_sell":{"amount":4512099,"asset_id":"1.3.0"},"min_to_receive":{"amount":131884,"asset_id":"1.3.861"},"expiration":"1963-11-25T17:31:44","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["1f590733f1a0f60886a571c200a5b42408e6e424598607db6e5ad831811af601955bd4271b2c7d41525bcb153d909417fe7b8c5bb30a21ce8972eb07b26665db02"],"operation_results":[[2,{"amount":4512757,"asset_id":"1.3.0"}],[1,"1.7.8376308"]]},{"ref_block_num":26175,"ref_block_prefix":3570070528,"expiration":"2017-05-31T01:06:27","operations":[[2,{"fee":{"amount":725,"asset_id":"1.3.0"},"fee_paying_account":"1.2.126225","order":"1.7.8376220","extensions":[]}]],"extensions":[],"signatures":["1f7d7ffec06a803afa53179937fd3ce34c67fa85d90697a38fd9d2691c0bbf49534c2a191faccfbad5b2e68e631c9d286a5e8159138bb43893f095889baa461313"],"operation_results":[[2,{"amount":10000000,"asset_id":"1.3.1068"}]]},{"ref_block_num":26175,"ref_block_prefix":3570070528,"expiration":"2017-05-31T01:06:27","operations":[[1,{"fee":{"amount":7256,"asset_id":"1.3.0"},"seller":"1.2.126225","amount_to_sell":{"amount":10000000,"asset_id":"1.3.1068"},"min_to_receive":{"amount":22974486,"asset_id":"1.3.0"},"expiration":"2022-05-30T01:05:44","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["20553bba78122dfde40658c619ea0b0d828b2ad37932f3cd38e305f4be09b762174b81aef1bee4a3e5dfb2f187027d34921dd54e183bd632c7f105a01a96f5a53d"],"operation_results":[[1,"1.7.8376309"]]}]}}

get_transaction

get_transaction(uint32_t block_num, uint32_t trx_in_block)
ここのトランザクションを取得します。
パラメータ block_num: ブロック高 / trx_in_block: トランザクション番号 (ブロックの1つ目のトランザクションを参照する場合は0、2つ目のトランザクションの場合は1)
返り値 トランザクションのrawデータ。
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_transaction", "params": [17000000, 0], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"ref_block_num":26174,"ref_block_prefix":3101301777,"expiration":"2017-06-01T01:04:17","operations":[[2,{"fee":{"amount":725,"asset_id":"1.3.0"},"fee_paying_account":"1.2.155562","order":"1.7.8376078","extensions":[]}],[1,{"fee":{"amount":7256,"asset_id":"1.3.0"},"seller":"1.2.155562","amount_to_sell":{"amount":4512099,"asset_id":"1.3.0"},"min_to_receive":{"amount":131884,"asset_id":"1.3.861"},"expiration":"1963-11-25T17:31:44","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["1f590733f1a0f60886a571c200a5b42408e6e424598607db6e5ad831811af601955bd4271b2c7d41525bcb153d909417fe7b8c5bb30a21ce8972eb07b26665db02"],"operation_results":[[2,{"amount":4512757,"asset_id":"1.3.0"}],[1,"1.7.8376308"]]}}

get_recent_transaction_by_id

get_recent_transaction_by_id(const transaction_id_type &id)
指定したIDの最近のトランザクションを取得します。参照できるのは有効期限が切れていないものに限ります。通常のトランザクションの有効期限は数十秒です。
パラメータ id: トランザクションID
返り値 トランザクションのrawデータ
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_recent_transaction_by_id", "params": ["239a5f08e3963eed7b67033cdc88e01fa289e8b7"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"ref_block_num":15687,"ref_block_prefix":89764907,"expiration":"2018-07-14T15:13:06","operations":[[1,{"fee":{"amount":578,"asset_id":"1.3.0"},"seller":"1.2.1024413","amount_to_sell":{"amount":10000,"asset_id":"1.3.1570"},"min_to_receive":{"amount":10000000,"asset_id":"1.3.1564"},"expiration":"2019-07-14T15:12:36","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["1f07b11eb9bb42ff280e9dff61a429831e33a5e4c2f06a4379d2a5607c0f6f47386803f78d965f673ce1ca14f61fbe068e68c6d04348cce473c866d1f69d4093a5"]}}

全般

get_chain_properties

get_chain_properties()
チェーンのプロパティを取得します。
パラメータ なし
返り値 チェーンIDと不変パラメータ
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_chain_properties", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"id":"2.11.0","chain_id":"4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8","immutable_parameters":{"min_committee_member_count":11,"min_witness_count":11,"num_special_accounts":100,"num_special_assets":100}}}

get_global_properties

get_global_properties()
ネットワーク全体のプロパティを取得します。
パラメータ なし
返り値 手数料や各最大・最小値、アクティブな委員 (committee) ・証人 (witness) などのパラメータ
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_global_properties", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"id":"2.0.0","parameters":{"current_fees":{"parameters":[[0,{"fee":10420,"price_per_kbyte":5789}],[1,{"fee":578}],[2,{"fee":57}],[3,{"fee":578}],[4,{}],[5,{"basic_fee":57891,"premium_fee":2894592,"price_per_kbyte":4052}],[6,{"fee":578,"price_per_kbyte":4052}],[7,{"fee":57891}],[8,{"membership_annual_fee":"57312931034482","membership_lifetime_fee":69470219}],[9,{"fee":2894592}],[10,{"symbol3":"4631347962","symbol4":1157836990,"long_symbol":28945924,"price_per_kbyte":5789}],[11,{"fee":1157836,"price_per_kbyte":4052}],[12,{"fee":2894592}],[13,{"fee":2894592}],[14,{"fee":10420,"price_per_kbyte":5789}],[15,{"fee":578}],[16,{"fee":289459}],[17,{"fee":28945}],[18,{"fee":2894592}],[19,{"fee":57}],[20,{"fee":28945924}],[21,{"fee":5789}],[22,{"fee":86837,"price_per_kbyte":28945}],[23,{"fee":2894,"price_per_kbyte":4052}],[24,{"fee":0}],[25,{"fee":86837}],[26,{"fee":5789}],[27,{"fee":8336,"price_per_kbyte":4052}],[28,{"fee":0}],[29,{"fee":2894592}],[30,{"fee":5789184}],[31,{"fee":0}],[32,{"fee":578918}],[33,{"fee":1157836}],[34,{"fee":28945924}],[35,{"fee":5789,"price_per_kbyte":28945}],[36,{"fee":289459}],[37,{}],[38,{"fee":578918,"price_per_kbyte":4052}],[39,{"fee":121572,"price_per_output":40524}],[41,{"fee":121572}],[43,{"fee":578918}]],"scale":10000},"block_interval":3,"maintenance_interval":3600,"maintenance_skip_slots":3,"committee_proposal_review_period":3600,"maximum_transaction_size":98304,"maximum_block_size":2000000,"maximum_time_until_expiration":86400,"maximum_proposal_lifetime":2419200,"maximum_asset_whitelist_authorities":10,"maximum_asset_feed_publishers":25,"maximum_witness_count":1001,"maximum_committee_count":1001,"maximum_authority_membership":10,"reserve_percent_of_fee":2000,"network_percent_of_fee":2000,"lifetime_referrer_percent_of_fee":3000,"cashback_vesting_period_seconds":7776000,"cashback_vesting_threshold":10000000,"count_non_member_votes":true,"allow_non_member_whitelists":false,"witness_pay_per_block":100000,"worker_budget_per_day":"50000000000","max_predicate_opcode":1,"fee_liquidation_threshold":10000000,"accounts_per_fee_scale":1000,"account_fee_scale_bitshifts":0,"max_authority_depth":2,"extensions":[]},"next_available_vote_id":392,"active_committee_members":["1.5.15","1.5.25","1.5.16","1.5.37","1.5.40","1.5.33","1.5.30","1.5.27","1.5.23","1.5.20","1.5.13"],"active_witnesses":["1.6.16","1.6.17","1.6.20","1.6.22","1.6.26","1.6.28","1.6.34","1.6.35","1.6.45","1.6.59","1.6.63","1.6.64","1.6.65","1.6.69","1.6.71","1.6.73","1.6.74","1.6.75","1.6.76","1.6.84","1.6.98","1.6.101","1.6.105","1.6.110","1.6.116","1.6.117","1.6.120"]}}

get_config

get_config()
コンパイル時の定数を取得します。
パラメータ なし
返り値 コンパイル時の定数
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_config", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"GRAPHENE_SYMBOL":"BTS","GRAPHENE_ADDRESS_PREFIX":"BTS","GRAPHENE_MIN_ACCOUNT_NAME_LENGTH":1,"GRAPHENE_MAX_ACCOUNT_NAME_LENGTH":63,"GRAPHENE_MIN_ASSET_SYMBOL_LENGTH":3,"GRAPHENE_MAX_ASSET_SYMBOL_LENGTH":16,"GRAPHENE_MAX_SHARE_SUPPLY":"1000000000000000","GRAPHENE_MAX_PAY_RATE":10000,"GRAPHENE_MAX_SIG_CHECK_DEPTH":2,"GRAPHENE_MIN_TRANSACTION_SIZE_LIMIT":1024,"GRAPHENE_MIN_BLOCK_INTERVAL":1,"GRAPHENE_MAX_BLOCK_INTERVAL":30,"GRAPHENE_DEFAULT_BLOCK_INTERVAL":5,"GRAPHENE_DEFAULT_MAX_TRANSACTION_SIZE":2048,"GRAPHENE_DEFAULT_MAX_BLOCK_SIZE":2000000,"GRAPHENE_DEFAULT_MAX_TIME_UNTIL_EXPIRATION":86400,"GRAPHENE_DEFAULT_MAINTENANCE_INTERVAL":86400,"GRAPHENE_DEFAULT_MAINTENANCE_SKIP_SLOTS":3,"GRAPHENE_MIN_UNDO_HISTORY":10,"GRAPHENE_MAX_UNDO_HISTORY":10000,"GRAPHENE_MIN_BLOCK_SIZE_LIMIT":5120,"GRAPHENE_MIN_TRANSACTION_EXPIRATION_LIMIT":150,"GRAPHENE_BLOCKCHAIN_PRECISION":100000,"GRAPHENE_BLOCKCHAIN_PRECISION_DIGITS":5,"GRAPHENE_DEFAULT_TRANSFER_FEE":100000,"GRAPHENE_MAX_INSTANCE_ID":"281474976710655","GRAPHENE_100_PERCENT":10000,"GRAPHENE_1_PERCENT":100,"GRAPHENE_MAX_MARKET_FEE_PERCENT":10000,"GRAPHENE_DEFAULT_FORCE_SETTLEMENT_DELAY":86400,"GRAPHENE_DEFAULT_FORCE_SETTLEMENT_OFFSET":0,"GRAPHENE_DEFAULT_FORCE_SETTLEMENT_MAX_VOLUME":2000,"GRAPHENE_DEFAULT_PRICE_FEED_LIFETIME":86400,"GRAPHENE_MAX_FEED_PRODUCERS":200,"GRAPHENE_DEFAULT_MAX_AUTHORITY_MEMBERSHIP":10,"GRAPHENE_DEFAULT_MAX_ASSET_WHITELIST_AUTHORITIES":10,"GRAPHENE_DEFAULT_MAX_ASSET_FEED_PUBLISHERS":10,"GRAPHENE_COLLATERAL_RATIO_DENOM":1000,"GRAPHENE_MIN_COLLATERAL_RATIO":1001,"GRAPHENE_MAX_COLLATERAL_RATIO":32000,"GRAPHENE_DEFAULT_MAINTENANCE_COLLATERAL_RATIO":1750,"GRAPHENE_DEFAULT_MAX_SHORT_SQUEEZE_RATIO":1500,"GRAPHENE_DEFAULT_MARGIN_PERIOD_SEC":2592000,"GRAPHENE_DEFAULT_MAX_WITNESSES":1001,"GRAPHENE_DEFAULT_MAX_COMMITTEE":1001,"GRAPHENE_DEFAULT_MAX_PROPOSAL_LIFETIME_SEC":2419200,"GRAPHENE_DEFAULT_COMMITTEE_PROPOSAL_REVIEW_PERIOD_SEC":1209600,"GRAPHENE_DEFAULT_NETWORK_PERCENT_OF_FEE":2000,"GRAPHENE_DEFAULT_LIFETIME_REFERRER_PERCENT_OF_FEE":3000,"GRAPHENE_DEFAULT_MAX_BULK_DISCOUNT_PERCENT":5000,"GRAPHENE_DEFAULT_BULK_DISCOUNT_THRESHOLD_MIN":100000000,"GRAPHENE_DEFAULT_BULK_DISCOUNT_THRESHOLD_MAX":"10000000000","GRAPHENE_DEFAULT_CASHBACK_VESTING_PERIOD_SEC":31536000,"GRAPHENE_DEFAULT_CASHBACK_VESTING_THRESHOLD":10000000,"GRAPHENE_DEFAULT_BURN_PERCENT_OF_FEE":2000,"GRAPHENE_WITNESS_PAY_PERCENT_PRECISION":1000000000,"GRAPHENE_DEFAULT_MAX_ASSERT_OPCODE":1,"GRAPHENE_DEFAULT_FEE_LIQUIDATION_THRESHOLD":10000000,"GRAPHENE_DEFAULT_ACCOUNTS_PER_FEE_SCALE":1000,"GRAPHENE_DEFAULT_ACCOUNT_FEE_SCALE_BITSHIFTS":4,"GRAPHENE_MAX_WORKER_NAME_LENGTH":63,"GRAPHENE_MAX_URL_LENGTH":127,"GRAPHENE_NEAR_SCHEDULE_CTR_IV":"7640891576956012808","GRAPHENE_FAR_SCHEDULE_CTR_IV":"13503953896175478587","GRAPHENE_CORE_ASSET_CYCLE_RATE":17,"GRAPHENE_CORE_ASSET_CYCLE_RATE_BITS":32,"GRAPHENE_DEFAULT_WITNESS_PAY_PER_BLOCK":1000000,"GRAPHENE_DEFAULT_WITNESS_PAY_VESTING_SECONDS":86400,"GRAPHENE_DEFAULT_WORKER_BUDGET_PER_DAY":"50000000000","GRAPHENE_MAX_INTEREST_APR":10000,"GRAPHENE_COMMITTEE_ACCOUNT":"1.2.0","GRAPHENE_WITNESS_ACCOUNT":"1.2.1","GRAPHENE_RELAXED_COMMITTEE_ACCOUNT":"1.2.2","GRAPHENE_NULL_ACCOUNT":"1.2.3","GRAPHENE_TEMP_ACCOUNT":"1.2.4"}}

get_chain_id

get_chain_id()
チェーンIDを取得します。
パラメータ なし
返り値 チェーンID
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_chain_id", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":"4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8"}

get_dynamic_global_properties

get_dynamic_global_properties()
動的に変化するパラメータを取得します。
パラメータ なし
返り値 ブロック高、タイムスタンプ、現在の証人 (witness) など動的に変化するパラメータ
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_dynamic_global_properties", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"id":"2.1.0","head_block_number":28723533,"head_block_id":"01b6494d8c5996a6aed64cfba8dc2370f99c1acd","time":"2018-07-14T17:47:03","current_witness":"1.6.98","next_maintenance_time":"2018-07-14T18:00:00","last_budget_time":"2018-07-14T17:00:00","witness_budget":26200000,"accounts_registered_this_interval":17,"recently_missed_count":0,"current_aslot":28877396,"recent_slots_filled":"340282366920938463463374607431768211455","dynamic_flags":0,"last_irreversible_block_num":28723508}}

キー

get_key_references

get_key_references(vector<public_key_type> key)
公開鍵に関連付けられているアカウントを検索します。
パラメータ key: アクティブまたはオーナー公開鍵 (複数指定可)
返り値 アカウントID
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_key_references", "params": [["BTS6hwPVwVEXti1pLMahzisGA7vJ1c4SiZvcLtZwNbZfy4HfHQjP8", "BTS7rdxzo9QLQEn9RKVmaUQZ5nhn7D3F9iKCZhqakmP8SERAXuU9K"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[["1.2.1024413"],["1.2.882982"]]}

is_public_key_registered

is_public_key_registered(string public_key)
公開鍵が登録済みかどうかを調べます。
パラメータ public_key: 公開鍵
返り値 登録済みであればtrue、なければfalse。
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "is_public_key_registered", "params": ["BTS6hwPVwVEXti1pLMahzisGA7vJ1c4SiZvcLtZwNbZfy4HfHQjP8"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":true}

アカウント

get_accounts

get_accounts(const vector<account_id_type> &account_ids)
アカウントの定義情報の取得に限定したget_objectsです。
パラメータ account_ids: アカウントID (複数指定可)
返り値 アカウントの定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_accounts", "params": [["1.2.0"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.2.0","membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":131674,"account_auths":[["1.2.121",33060],["1.2.159",20266],["1.2.282",20674],["1.2.12376",27926],["1.2.21106",18313],["1.2.25010",27171],["1.2.97845",20096],["1.2.125824",26793],["1.2.130258",21131],["1.2.158781",21069],["1.2.711128",26848]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"BTS1111111111111111111111111111111114T1Anm","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.6.0","whitelisting_accounts":[],"blacklisting_accounts":["1.2.979278"],"whitelisted_accounts":[],"blacklisted_accounts":[],"owner_special_authority":[0,{}],"active_special_authority":[0,{}],"top_n_control_flags":0}]}

get_full_accounts

get_full_accounts(const vector<string> &names_or_ids, bool subscribe)
アカウントに関係するすべてのオブジェクトを取得します。
パラメータ names_or_ids: アカウント名またはアカウントID (複数指定可) / subscribe: RPCでは使用しない。trueまたはfalse。
返り値 アカウントに関連するすべての情報。

$curl --data '{"jsonrpc": "2.0", "method": "get_full_accounts", "params": [["1.2.0"], true], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[["1.2.0",{"account":{"id":"1.2.0","membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":131692,"account_auths":[["1.2.121",33065],["1.2.159",20271],["1.2.282",20677],["1.2.12376",27931],["1.2.21106",18311],["1.2.25010",27173],["1.2.97845",20098],["1.2.125824",26798],["1.2.130258",21135],["1.2.158781",21074],["1.2.711128",26849]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"BTS1111111111111111111111111111111114T1Anm","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.6.0","whitelisting_accounts":[],"blacklisting_accounts":["1.2.979278"],"whitelisted_accounts":[],"blacklisted_accounts":[],"owner_special_authority":[0,{}],"active_special_authority":[0,{}],"top_n_control_flags":0},"statistics":{"id":"2.6.0","owner":"1.2.0","most_recent_op":"2.9.299615411","total_ops":444,"removed_ops":344,"total_core_in_orders":19059719,"lifetime_fees_paid":"6697727443","pending_fees":0,"pending_vested_fees":0},"registrar_name":"committee-account","referrer_name":"committee-account","lifetime_referrer_name":"committee-account","votes":[],"balances":[{"id":"2.5.0","owner":"1.2.0","asset_type":"1.3.0","balance":1802555265},{"id":"2.5.10401","owner":"1.2.0","asset_type":"1.3.103","balance":1},{"id":"2.5.10399","owner":"1.2.0","asset_type":"1.3.105","balance":0},{"id":"2.5.10398","owner":"1.2.0","asset_type":"1.3.106","balance":0},{"id":"2.5.10400","owner":"1.2.0","asset_type":"1.3.113","balance":0},{"id":"2.5.10397","owner":"1.2.0","asset_type":"1.3.120","balance":0},{"id":"2.5.10396","owner":"1.2.0","asset_type":"1.3.121","balance":0},{"id":"2.5.56905","owner":"1.2.0","asset_type":"1.3.721","balance":0},{"id":"2.5.47580","owner":"1.2.0","asset_type":"1.3.1165","balance":100000},{"id":"2.5.1353878","owner":"1.2.0","asset_type":"1.3.1325","balance":0},{"id":"2.5.152318","owner":"1.2.0","asset_type":"1.3.2107","balance":10000000},{"id":"2.5.161936","owner":"1.2.0","asset_type":"1.3.2220","balance":31030},{"id":"2.5.173611","owner":"1.2.0","asset_type":"1.3.2236","balance":18500000},{"id":"2.5.233480","owner":"1.2.0","asset_type":"1.3.2482","balance":800000000},{"id":"2.5.802800","owner":"1.2.0","asset_type":"1.3.2574","balance":500000000},{"id":"2.5.260274","owner":"1.2.0","asset_type":"1.3.2617","balance":78523100},{"id":"2.5.361365","owner":"1.2.0","asset_type":"1.3.2673","balance":5000000},{"id":"2.5.546578","owner":"1.2.0","asset_type":"1.3.2931","balance":10000},{"id":"2.5.583668","owner":"1.2.0","asset_type":"1.3.3007","balance":2},{"id":"2.5.601504","owner":"1.2.0","asset_type":"1.3.3033","balance":20},{"id":"2.5.608961","owner":"1.2.0","asset_type":"1.3.3044","balance":4},{"id":"2.5.782714","owner":"1.2.0","asset_type":"1.3.3046","balance":290},{"id":"2.5.815485","owner":"1.2.0","asset_type":"1.3.3128","balance":202},{"id":"2.5.1983126","owner":"1.2.0","asset_type":"1.3.3139","balance":2000000},{"id":"2.5.1079661","owner":"1.2.0","asset_type":"1.3.3193","balance":1000},{"id":"2.5.790001","owner":"1.2.0","asset_type":"1.3.3211","balance":"10000000000000"},{"id":"2.5.1069387","owner":"1.2.0","asset_type":"1.3.3306","balance":1000000},{"id":"2.5.1073140","owner":"1.2.0","asset_type":"1.3.3314","balance":100000000},{"id":"2.5.1119713","owner":"1.2.0","asset_type":"1.3.3380","balance":"10000000000"},{"id":"2.5.1235543","owner":"1.2.0","asset_type":"1.3.3431","balance":10000},{"id":"2.5.1675738","owner":"1.2.0","asset_type":"1.3.3550","balance":100000000},{"id":"2.5.1771338","owner":"1.2.0","asset_type":"1.3.3714","balance":15500000},{"id":"2.5.2139550","owner":"1.2.0","asset_type":"1.3.3839","balance":1},{"id":"2.5.2171530","owner":"1.2.0","asset_type":"1.3.4038","balance":"234512380000"}],"vesting_balances":[{"id":"1.13.13777","owner":"1.2.0","balance":{"amount":"80032637913","asset_id":"1.3.0"},"policy":[1,{"vesting_seconds":0,"start_claim":"1970-01-01T00:00:00","coin_seconds_earned":"79199304580","coin_seconds_earned_last_update":"2018-07-14T19:00:00"}]}],"limit_orders":[],"call_orders":[{"id":"1.8.15079","borrower":"1.2.0","collateral":8556320,"debt":55609997,"call_price":{"base":{"amount":34225280,"asset_id":"1.3.0"},"quote":{"amount":389269979,"asset_id":"1.3.102"}}},{"id":"1.8.15070","borrower":"1.2.0","collateral":7599276,"debt":10000,"call_price":{"base":{"amount":1899819,"asset_id":"1.3.0"},"quote":{"amount":4375,"asset_id":"1.3.111"}}},{"id":"1.8.15067","borrower":"1.2.0","collateral":2904123,"debt":25000,"call_price":{"base":{"amount":2904123,"asset_id":"1.3.0"},"quote":{"amount":43750,"asset_id":"1.3.112"}}}],"settle_orders":[],"proposals":[],"assets":["1.3.100","1.3.101","1.3.102","1.3.103","1.3.104","1.3.105","1.3.106","1.3.107","1.3.108","1.3.109","1.3.110","1.3.111","1.3.112","1.3.113","1.3.114","1.3.115","1.3.116","1.3.117","1.3.118","1.3.119","1.3.120","1.3.121","1.3.160","1.3.205","1.3.244","1.3.279","1.3.392","1.3.427","1.3.473","1.3.474","1.3.475","1.3.523","1.3.524","1.3.1017","1.3.1325","1.3.2650","1.3.1362"],"withdraws":[]}]]}

get_account_by_name

get_account_by_name(string name)
アカウント名からアカウント情報を取得します。
パラメータ name: アカウント名
返り値 アカウントの定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_account_by_name", "params": ["committee-account"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"id":"1.2.0","membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":131692,"account_auths":[["1.2.121",33065],["1.2.159",20271],["1.2.282",20677],["1.2.12376",27931],["1.2.21106",18311],["1.2.25010",27173],["1.2.97845",20098],["1.2.125824",26798],["1.2.130258",21135],["1.2.158781",21074],["1.2.711128",26849]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"BTS1111111111111111111111111111111114T1Anm","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.6.0","whitelisting_accounts":[],"blacklisting_accounts":["1.2.979278"],"whitelisted_accounts":[],"blacklisted_accounts":[],"owner_special_authority":[0,{}],"active_special_authority":[0,{}],"top_n_control_flags":0}}

get_account_references

get_account_references(account_id_type account_id)
指定したアカウントをオーナーまたはアクティブ権限で参照しているアカウントを取得します。指定アカウントは結果で得られたアカウントのオーナーまたはアクティブ権限の一部 (または全部) を持っています。
パラメータ account_id: アカウントID
返り値 パラメータで指定したアカウントをオーナーまたはアクティブ権限で参照しているアカウントのID
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_account_references", "params": ["1.2.0"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":["1.2.31489","1.2.100876","1.2.100886","1.2.152829","1.2.154380","1.2.364315","1.2.450921","1.2.805079","1.2.840071","1.2.1019038"]}

lookup_account_names

lookup_account_names(const vector<string> &account_names)
アカウント名で検索するget_accounts
パラメータ account_names: アカウント名 (複数指定可)
返り値 アカウントの定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "lookup_account_names", "params": [["committee-account", "witness-account"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.2.0","membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.0","referrer":"1.2.0","lifetime_referrer":"1.2.0","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"committee-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":131692,"account_auths":[["1.2.121",33065],["1.2.159",20271],["1.2.282",20677],["1.2.12376",27931],["1.2.21106",18311],["1.2.25010",27173],["1.2.97845",20098],["1.2.125824",26798],["1.2.130258",21135],["1.2.158781",21074],["1.2.711128",26849]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"BTS1111111111111111111111111111111114T1Anm","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.6.0","whitelisting_accounts":[],"blacklisting_accounts":["1.2.979278"],"whitelisted_accounts":[],"blacklisted_accounts":[],"owner_special_authority":[0,{}],"active_special_authority":[0,{}],"top_n_control_flags":0},{"id":"1.2.1","membership_expiration_date":"1969-12-31T23:59:59","registrar":"1.2.1","referrer":"1.2.1","lifetime_referrer":"1.2.1","network_fee_percentage":2000,"lifetime_referrer_fee_percentage":8000,"referrer_rewards_percentage":0,"name":"witness-account","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[],"address_auths":[]},"active":{"weight_threshold":398478,"account_auths":[["1.2.167",32034],["1.2.369",28739],["1.2.564",32416],["1.2.2850",32831],["1.2.4952",33788],["1.2.14035",32176],["1.2.23043",19032],["1.2.25010",34467],["1.2.30889",32678],["1.2.31359",28921],["1.2.31489",32611],["1.2.31810",32410],["1.2.35248",35698],["1.2.91787",33807],["1.2.130210",32517],["1.2.130258",32813],["1.2.133999",33416],["1.2.152739",30870],["1.2.157641",32269],["1.2.158783",26841],["1.2.551261",20990],["1.2.632515",21281],["1.2.661381",24252],["1.2.711128",20481],["1.2.768841",27642],["1.2.814541",28089],["1.2.862994",23885]],"key_auths":[],"address_auths":[]},"options":{"memo_key":"BTS1111111111111111111111111111111114T1Anm","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":[],"extensions":[]},"statistics":"2.6.1","whitelisting_accounts":[],"blacklisting_accounts":[],"whitelisted_accounts":[],"blacklisted_accounts":[],"owner_special_authority":[0,{}],"active_special_authority":[0,{}],"top_n_control_flags":0}]}

lookup_accounts

lookup_accounts(const string &lower_bound_name, uint32_t limit)
アカウント名を前方一致で検索します。limitで指定したアカウント数を見つけるまで検索し、一致するアカウント名をすべて見つけた場合は、(1) 検索ワードの末尾を次の数字・アルファベットにして検索、(2) (1)をzまで繰り返したら末尾から1文字削って検索、の手順をlimitまで繰り返します。
パラメータ lower_bound_name: 検索ワード / limit: 検索結果数 (1000以下)
返り値 一致するアカウント名とアカウントIDのリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "lookup_accounts", "params": ["cbwiki", 10], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[["cbwiki-info","1.2.1024413"],["cbwj","1.2.198289"],["cbwk","1.2.198292"],["cbwl","1.2.198294"],["cbwm","1.2.198297"],["cbwn","1.2.198300"],["cbwp","1.2.198303"],["cbwq","1.2.198305"],["cbwr","1.2.198308"],["cbws","1.2.198313"]]}

get_account_count

get_account_count()
アカウント総数を取得します。
パラメータ なし
返り値 ネットワーク上にあるアカウントの総数
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_account_count", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":1032554}

残高

get_account_balances

get_account_balances(account_id_type id, const flat_set<asset_id_type> &assets)
アカウントの指定したアセットの残高を取得します。
パラメータ id: アカウントID / assets: アセットID (複数指定可)
返り値 各アセットごとの残高 (小数点なしに注意)
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_account_balances", "params": ["1.2.0", ["1.3.0", "1.3.103"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"amount":1802555265,"asset_id":"1.3.0"},{"amount":1,"asset_id":"1.3.103"}]}

get_named_account_balances

get_named_account_balances(const std::string &name, const flat_set<asset_id_type> &assets)
IDの代わりにアカウント名を指定するget_account_balances。アセットの指定はIDであることに注意。
パラメータ name: アカウント名 / assets: アセットID (複数指定可)
返り値 各アセットごとの残高 (小数点なしに注意)
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_named_account_balances", "params": ["committee-account", ["1.3.0", "1.3.103"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"amount":1802555265,"asset_id":"1.3.0"},{"amount":1,"asset_id":"1.3.103"}]}

get_vesting_balances

get_vesting_balances(account_id_type account_id)
アカウントの権利確定残高 (vesting balance) を取得します。権利確定残高は引き出すのに一定期間の経過を待つ必要がある残高です。終身会員のキャッシュバック、BCOステーキングポジションなど。
パラメータ account_id: アカウントID
返り値 アカウントの権利確定残高
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_vesting_balances", "params": ["1.2.0"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.13.13777","owner":"1.2.0","balance":{"amount":"89199304575","asset_id":"1.3.0"},"policy":[1,{"vesting_seconds":0,"start_claim":"1970-01-01T00:00:00","coin_seconds_earned":"88365971242","coin_seconds_earned_last_update":"2018-07-15T06:00:00"}]}]}

アセット

get_assets

get_assets(const vector<asset_id_type> &asset_ids)
アセットの定義情報の取得に限定したget_objectsです。
パラメータ asset_ids: アセットID (複数指定可)
返り値 アセットの定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_assets", "params": [["1.3.0"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.3.0","symbol":"BTS","precision":5,"issuer":"1.2.3","options":{"max_supply":"360057050210207","market_fee_percent":0,"max_market_fee":"1000000000000000","issuer_permissions":0,"flags":0,"core_exchange_rate":{"base":{"amount":1,"asset_id":"1.3.0"},"quote":{"amount":1,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"","extensions":[]},"dynamic_asset_data_id":"2.3.0"}]}

list_assets

list_assets(const string &lower_bound_symbol, uint32_t limit)
アセットを前方一致で検索します。検索のルールはlookup_accountsと同じです。
パラメータ lower_bound_symbol: 検索ワード / limit: 検索結果数 (100以下)
返り値 一致するアセットとその定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "list_assets", "params": ["BRIDGE.BTC", 5], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.3.1570","symbol":"BRIDGE.BTC","precision":8,"issuer":"1.2.374566","options":{"max_supply":"1000000000000000","market_fee_percent":20,"max_market_fee":"100000000000","issuer_permissions":69,"flags":5,"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":9700,"asset_id":"1.3.1570"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":["1.3.3756"],"description":"{\"main\":\"Bitcoin\",\"market\":\"\"}","extensions":[]},"dynamic_asset_data_id":"2.3.1570"},{"id":"1.3.3992","symbol":"BRIDGE.BTCC","precision":7,"issuer":"1.2.374566","options":{"max_supply":"210000000000000","market_fee_percent":20,"max_market_fee":"500000000000","issuer_permissions":5,"flags":5,"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":10000000,"asset_id":"1.3.3992"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"{\"main\":\"Bitcoin Core\",\"short_name\":\"BTCC\",\"market\":\"\"}","extensions":[]},"dynamic_asset_data_id":"2.3.3992"},{"id":"1.3.2623","symbol":"BRIDGE.BTCZ","precision":4,"issuer":"1.2.374566","options":{"max_supply":"210000000000000","market_fee_percent":20,"max_market_fee":100000000,"issuer_permissions":5,"flags":5,"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":1410000,"asset_id":"1.3.2623"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"{\"main\":\"BitcoinZ\",\"short_name\":\"BTCZ\",\"market\":\"\"}","extensions":[]},"dynamic_asset_data_id":"2.3.2623"},{"id":"1.3.3820","symbol":"BRIDGE.BTDX","precision":7,"issuer":"1.2.374566","options":{"max_supply":"420000000000000","market_fee_percent":20,"max_market_fee":"1000000000000","issuer_permissions":5,"flags":5,"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":100000000,"asset_id":"1.3.3820"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"{\"main\":\"BitCloud\",\"short_name\":\"BTDX\",\"market\":\"BRIDGE.BTC\"}","extensions":[]},"dynamic_asset_data_id":"2.3.3820"},{"id":"1.3.3338","symbol":"BRIDGE.BTX","precision":7,"issuer":"1.2.374566","options":{"max_supply":"210000000000000","market_fee_percent":20,"max_market_fee":"10000000000000","issuer_permissions":5,"flags":5,"core_exchange_rate":{"base":{"amount":100000,"asset_id":"1.3.0"},"quote":{"amount":2500000,"asset_id":"1.3.3338"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"{\"main\":\"BitCore Coin\",\"short_name\":\"BTX\",\"market\":\"\"}","extensions":[]},"dynamic_asset_data_id":"2.3.3338"}]}

lookup_asset_symbols

lookup_asset_symbols(const vector<string> &symbols_or_ids)
アセット名からアセット定義情報を取得します。
パラメータ symbols_or_ids: アセット名またはアセットID (複数指定可)
返り値 アセットの定義情報

$ curl --data '{"jsonrpc": "2.0", "method": "lookup_asset_symbols", "params": [["1.3.0", "CNY"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.3.0","symbol":"BTS","precision":5,"issuer":"1.2.3","options":{"max_supply":"360057050210207","market_fee_percent":0,"max_market_fee":"1000000000000000","issuer_permissions":0,"flags":0,"core_exchange_rate":{"base":{"amount":1,"asset_id":"1.3.0"},"quote":{"amount":1,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"","extensions":[]},"dynamic_asset_data_id":"2.3.0"},{"id":"1.3.113","symbol":"CNY","precision":4,"issuer":"1.2.0","options":{"max_supply":"1000000000000000","market_fee_percent":10,"max_market_fee":"1000000000000000","issuer_permissions":511,"flags":129,"core_exchange_rate":{"base":{"amount":4987,"asset_id":"1.3.113"},"quote":{"amount":35261,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":[],"blacklist_markets":[],"description":"{\"main\":\"1 Chinese yuan\",\"market\":\"\"}","extensions":[]},"dynamic_asset_data_id":"2.3.113","bitasset_data_id":"2.4.13"}]}

マーケット/フィード

get_limit_orders

get_limit_orders(asset_id_type a, asset_id_type b, uint32_t limit)
指値注文のリストを優先度の高いものからlimitの数だけ取得します。
パラメータ a: ベースアセットID / b: 相手アセットID / limit: 取得数の上限。
返り値 注文のリスト。for_saleはベースアセットの残り売り枚数を表し、sell_price以下のbaseとquoteは注文時の枚数を表す。quote amount/base amountで注文価格を得られる。
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_limit_orders", "params": ["1.3.0", "1.3.113", 5], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.7.112322439","expiration":"2018-07-15T11:54:23","seller":"1.2.625280","for_sale":20000000,"sell_price":{"base":{"amount":20000000,"asset_id":"1.3.0"},"quote":{"amount":2322976,"asset_id":"1.3.113"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112322392","expiration":"2019-07-15T10:54:17","seller":"1.2.466315","for_sale":1257507712,"sell_price":{"base":{"amount":1835714837,"asset_id":"1.3.0"},"quote":{"amount":213218614,"asset_id":"1.3.113"}},"deferred_fee":0,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112322491","expiration":"2023-07-15T10:53:28","seller":"1.2.551687","for_sale":110474672,"sell_price":{"base":{"amount":110474672,"asset_id":"1.3.0"},"quote":{"amount":12832747,"asset_id":"1.3.113"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112319398","expiration":"2023-07-15T10:52:50","seller":"1.2.24979","for_sale":9808772,"sell_price":{"base":{"amount":347173876,"asset_id":"1.3.0"},"quote":{"amount":40337078,"asset_id":"1.3.113"}},"deferred_fee":0,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112318980","expiration":"2019-07-15T10:52:03","seller":"1.2.921832","for_sale":49997110,"sell_price":{"base":{"amount":49997110,"asset_id":"1.3.0"},"quote":{"amount":5809500,"asset_id":"1.3.113"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112321182","expiration":"2019-07-15T10:53:30","seller":"1.2.462247","for_sale":100000000,"sell_price":{"base":{"amount":100000000,"asset_id":"1.3.113"},"quote":{"amount":862812770,"asset_id":"1.3.0"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112320768","expiration":"2019-07-15T10:53:10","seller":"1.2.433189","for_sale":57936233,"sell_price":{"base":{"amount":57936233,"asset_id":"1.3.113"},"quote":{"amount":500000000,"asset_id":"1.3.0"}},"deferred_fee":582,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112320471","expiration":"2019-07-15T10:53:03","seller":"1.2.405894","for_sale":50000000,"sell_price":{"base":{"amount":50000000,"asset_id":"1.3.113"},"quote":{"amount":431778929,"asset_id":"1.3.0"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112320146","expiration":"2019-07-15T10:52:50","seller":"1.2.856377","for_sale":260000000,"sell_price":{"base":{"amount":260000000,"asset_id":"1.3.113"},"quote":{"amount":"2246802627","asset_id":"1.3.0"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}},{"id":"1.7.112314484","expiration":"2019-07-15T10:49:05","seller":"1.2.488557","for_sale":5000000,"sell_price":{"base":{"amount":5000000,"asset_id":"1.3.113"},"quote":{"amount":43214977,"asset_id":"1.3.0"}},"deferred_fee":578,"deferred_paid_fee":{"amount":0,"asset_id":"1.3.0"}}]}

get_call_orders

get_call_orders(asset_id_type a, uint32_t limit)
スマートコインのコールオーダーのリストを取得します。ユーザー発行アセットを指定した場合はエラーとなります。
パラメータ a: アセットID (スマートコインに限る) / limit: 取得数の上限。
返り値 マージンポジションをコール価格の高いものから並べたリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_call_orders", "params": ["1.3.113", 5], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.8.84850","borrower":"1.2.916258","collateral":"115374000000","debt":"7800000000","call_price":{"base":{"amount":2747,"asset_id":"1.3.0"},"quote":{"amount":325,"asset_id":"1.3.113"}}},{"id":"1.8.84627","borrower":"1.2.893680","collateral":1185951420,"debt":79890000,"call_price":{"base":{"amount":19765857,"asset_id":"1.3.0"},"quote":{"amount":2330125,"asset_id":"1.3.113"}}},{"id":"1.8.86350","borrower":"1.2.1028442","collateral":258300000,"debt":17370000,"call_price":{"base":{"amount":1640,"asset_id":"1.3.0"},"quote":{"amount":193,"asset_id":"1.3.113"}}},{"id":"1.8.86291","borrower":"1.2.520835","collateral":1417589440,"debt":95100000,"call_price":{"base":{"amount":35439736,"asset_id":"1.3.0"},"quote":{"amount":4160625,"asset_id":"1.3.113"}}},{"id":"1.8.86007","borrower":"1.2.548395","collateral":"22751491900","debt":1525000000,"call_price":{"base":{"amount":227514919,"asset_id":"1.3.0"},"quote":{"amount":26687500,"asset_id":"1.3.113"}}}]}

get_settle_orders

get_settle_orders(asset_id_type a, uint32_t limit)
スマートコインの強制決済注文のリストを取得します。ユーザー発行アセットを指定した場合はエラーとなります。
パラメータ a: アセットID (スマートコインに限る) / limit: 取得数の上限。
返り値 マージンポジションの強制決済注文のリスト。
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_settle_orders", "params": ["1.3.113", 5], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.4.4995","owner":"1.2.1030338","balance":{"amount":2000000,"asset_id":"1.3.113"},"settlement_date":"2018-07-15T18:54:45"},{"id":"1.4.4997","owner":"1.2.685918","balance":{"amount":75000000,"asset_id":"1.3.113"},"settlement_date":"2018-07-16T02:05:06"}]}

get_margin_positions

get_margin_positions(const account_id_type &id)
アカウントのマージンポジションを取得します。
パラメータ id: アカウントID
返り値 マージンポジションのリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_margin_positions", "params": ["1.2.0"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.8.15079","borrower":"1.2.0","collateral":8556320,"debt":55609997,"call_price":{"base":{"amount":34225280,"asset_id":"1.3.0"},"quote":{"amount":389269979,"asset_id":"1.3.102"}}},{"id":"1.8.15070","borrower":"1.2.0","collateral":7599276,"debt":10000,"call_price":{"base":{"amount":1899819,"asset_id":"1.3.0"},"quote":{"amount":4375,"asset_id":"1.3.111"}}},{"id":"1.8.15067","borrower":"1.2.0","collateral":2904123,"debt":25000,"call_price":{"base":{"amount":2904123,"asset_id":"1.3.0"},"quote":{"amount":43750,"asset_id":"1.3.112"}}}]}

get_ticker

get_ticker(const string &base, const string &quote)
マーケットの最新価格、最大買値、最小売値、24時間変化率、24時間出来高を取得します (ティッカー)。
パラメータ base: ベースアセット名 / quote: 相手アセット名
返り値 現在時刻 (ノード基準)、マーケットの最新価格、最大買値、最小売値、24時間変化率、24時間出来高

$ curl --data '{"jsonrpc": "2.0", "method": "get_ticker", "params": ["BTS", "CNY"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"time":"2018-07-15T11:38:57","base":"BTS","quote":"CNY","latest":"0.85997215144979331528","lowest_ask":"0.8616646351628414496","highest_bid":"0.85997215144979331528","percent_change":"-12.62","base_volume":"26098000.57133","quote_volume":"28753684.1136"}}

get_24_volume

get_24_volume(const string &base, const string &quote)
マーケットの過去24時間の出来高を取得します。
パラメータ base: ベースアセット名 / quote: 相手アセット名
返り値 現在時刻 (ノード基準)、24時間出来高
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_24_volume", "params": ["BTS", "CNY"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"time":"2018-07-15T11:45:33","base":"BTS","quote":"CNY","base_volume":"26140463.10733","quote_volume":"28803093.2769"}}

get_order_book

get_order_book(const string &base, const string &quote, unsigned limit = 50)
オーダーブックを取得します。
パラメータ base: ベースのアセット名 / quote: 相手のアセット名 / limit: 取得する深さ (最大50)。買いと売りの両方をそれぞれ優先度の高いものからlimitの数だけ取得します。
返り値 オーダーブックの情報。注文データは価格、ベースアセットの数量、相手アセットの数量で表されます。
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_order_book", "params": ["BTS", "CNY", 10], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"base":"BTS","quote":"CNY","bids":[{"price":"0.86654858652104724415","quote":"2977.1571","base":"2579.85128"},{"price":"0.86648955620137910477","quote":"57.7041","base":"50"},{"price":"0.86524644220756681707","quote":"11.5240","base":"9.97110"},{"price":"0.86519560342202165065","quote":"57.7904","base":"50"},{"price":"0.8650588239845560443","quote":"25.8483","base":"22.36030"},{"price":"0.86482975881974343117","quote":"230.1059","base":"199.00243"},{"price":"0.86480930634815596192","quote":"30.5254","base":"26.39865"},{"price":"0.86439336790821939336","quote":"114.5340","base":"99.00243"},{"price":"0.86430423509075194468","quote":"1157","base":"1000"},{"price":"0.86426815841584158415","quote":"505","base":"436.45542"}],"asks":[{"price":"0.86654858835750582257","quote":"9102.9621","base":"7888.15895"},{"price":"0.87039083314203830074","quote":"57.5028","base":"50.04991"},{"price":"0.87104516241648800709","quote":"570.5917","base":"497.01114"},{"price":"0.87201450462320027537","quote":"50.5494","base":"44.07981"},{"price":"0.8720592285240134611","quote":"1146.7110","base":"999.99991"},{"price":"0.8720592285240134611","quote":"1146.7110","base":"999.99991"},{"price":"0.87205924160490306624","quote":"1376.0532","base":"1199.99991"},{"price":"0.87205930525976138177","quote":"1915.2770","base":"1670.23513"},{"price":"0.87206006861063464837","quote":"3498","base":"3050.46612"},{"price":"0.87210265689951556504","quote":"4468.9797","base":"3897.40907"}]}}

get_top_markets

get_top_markets(uint32_t limit)
トップマーケットのリストを取得しますが、並び順の基準が不明です。
パラメータ limit: 最大取得件数 (100以下)
返り値 トップマーケットの出来高
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_top_markets", "params": [10], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"time":"2018-07-15T14:52:14","base":"BTS","quote":"CNY","base_volume":"28338356.90989","quote_volume":"31407990.6983"},{"time":"2018-07-15T14:52:14","base":"BTS","quote":"USD","base_volume":"1596253.10239","quote_volume":"261816.5455"},{"time":"2018-07-15T14:52:14","base":"EPESO","quote":"BTCCORE","base_volume":"12960383.2501","quote_volume":"336.531184"},{"time":"2018-07-15T14:52:14","base":"BRIDGE.XVG","quote":"BRIDGE.RVN","base_volume":"1017.91351649","quote_volume":"3021.9926"},{"time":"2018-07-15T14:52:14","base":"BTS","quote":"OPEN.BTC","base_volume":"825238.67391","quote_volume":"21.24660242"},{"time":"2018-07-15T14:52:14","base":"BRIDGE.BCO","quote":"BRIDGE.BTC","base_volume":"6358.900761","quote_volume":"1.07415425"},{"time":"2018-07-15T14:52:14","base":"BTS","quote":"GDEX.BTC","base_volume":"304771.30502","quote_volume":"8.09371577"},{"time":"2018-07-15T14:52:14","base":"XBTSX.STH","quote":"XBTSX.DOGE","base_volume":"24543.433355","quote_volume":"40189.29383"},{"time":"2018-07-15T14:52:14","base":"BRIDGE.ZNY","quote":"BRIDGE.MONA","base_volume":"23469.09194","quote_volume":"95.669654"},{"time":"2018-07-15T14:52:14","base":"BRIDGE.XP","quote":"BRIDGE.SHND","base_volume":"211556.05996","quote_volume":"37237065.302"}]}

get_trade_history

get_trade_history(const string &base, const string &quote, fc::time_point_sec start, fc::time_point_sec stop, unsigned limit = 100)
指定した期間内のマーケットの売買履歴を取得します。日時はstart (新しい) からstop (古い)まででYYYY-MM-DDThh:mm:ssの形式でUTCで指定し、最新のものから履歴を取得します。
パラメータ base: ベースのアセット名 / quote: 相手のアセット名 / start: 取得範囲の開始日時 / stop: 取得範囲の終了日時 / limit: 最大取得件数 (100以下)
返り値 マーケット履歴を指定期間の中で最新のものからlimitまで
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_trade_history", "params": ["USD", "BTS", "2018-08-04T12:00:00", "2018-08-04T11:00:00", 10], "id": 1}' http://127.0.0.1:8090/rpc
 {"id":1,"jsonrpc":"2.0","result":[{"sequence":6524619,"date":"2018-08-04T11:58:12","price":"0.156319","amount":"43.45281","value":"6.7925","side1_account_id":"1.2.896148","side2_account_id":"1.2.539130"},{"sequence":6524617,"date":"2018-08-04T11:42:42","price":"0.156319","amount":"11.58080","value":"1.8103","side1_account_id":"1.2.896148","side2_account_id":"1.2.550836"},{"sequence":6524615,"date":"2018-08-04T11:42:42","price":"0.156319","amount":"31.70056","value":"4.9554","side1_account_id":"1.2.896148","side2_account_id":"1.2.658223"},{"sequence":6524613,"date":"2018-08-04T11:39:27","price":"0.155642","amount":"21.74413","value":"3.3843","side1_account_id":"1.2.879926","side2_account_id":"1.2.539130"},{"sequence":6524611,"date":"2018-08-04T11:39:27","price":"0.15564","amount":"200","value":"31.1280","side1_account_id":"1.2.725690","side2_account_id":"1.2.916316"},{"sequence":6524609,"date":"2018-08-04T11:35:39","price":"0.155642","amount":"75.59013","value":"11.7650","side1_account_id":"1.2.879926","side2_account_id":"1.2.539130"},{"sequence":6524607,"date":"2018-08-04T11:21:12","price":"0.15564","amount":"1.70971","value":"0.2661","side1_account_id":"1.2.725690","side2_account_id":"1.2.318837"},{"sequence":6524605,"date":"2018-08-04T11:21:09","price":"0.155642","amount":"2.62204","value":"0.4081","side1_account_id":"1.2.879926","side2_account_id":"1.2.162847"},{"sequence":6524603,"date":"2018-08-04T11:21:06","price":"0.154559505409582689","amount":"118.21467","value":"18.2712","side1_account_id":"1.2.384119","side2_account_id":"1.2.264860"},{"sequence":6524601,"date":"2018-08-04T11:21:06","price":"0.154598676436206674","amount":"50.30056","value":"7.7764","side1_account_id":"1.2.475780","side2_account_id":"1.2.264860"}]}

get_trade_history_by_sequence

get_trade_history_by_sequence( const string& base, const string& quote, int64_t start, fc::time_point_sec stop, unsigned limit = 100)
指定したシーケンス番号のトレードから指定日時までのマーケットの売買履歴を取得します。日時はYYYY-MM-DDThh:mm:ssの形式でUTCで指定します。
パラメータ base: ベースのアセット名 / quote: 相手のアセット名 / start: 取得を開始するシーケンス番号 / stop: 取得範囲の終了日時 / limit: 最大取得件数 (100以下)
返り値 マーケット履歴を指定したシーケンス番号に近いものからlimitまで
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_trade_history_by_sequence", "params": ["USD", "BTS", 6524619, "2018-08-04T11:00:00", 10], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"sequence":6524617,"date":"2018-08-04T11:42:42","price":"0.156319","amount":"11.58080","value":"1.8103","side1_account_id":"1.2.896148","side2_account_id":"1.2.550836"},{"sequence":6524615,"date":"2018-08-04T11:42:42","price":"0.156319","amount":"31.70056","value":"4.9554","side1_account_id":"1.2.896148","side2_account_id":"1.2.658223"},{"sequence":6524613,"date":"2018-08-04T11:39:27","price":"0.155642","amount":"21.74413","value":"3.3843","side1_account_id":"1.2.879926","side2_account_id":"1.2.539130"},{"sequence":6524611,"date":"2018-08-04T11:39:27","price":"0.15564","amount":"200","value":"31.1280","side1_account_id":"1.2.725690","side2_account_id":"1.2.916316"},{"sequence":6524609,"date":"2018-08-04T11:35:39","price":"0.155642","amount":"75.59013","value":"11.7650","side1_account_id":"1.2.879926","side2_account_id":"1.2.539130"},{"sequence":6524607,"date":"2018-08-04T11:21:12","price":"0.15564","amount":"1.70971","value":"0.2661","side1_account_id":"1.2.725690","side2_account_id":"1.2.318837"},{"sequence":6524605,"date":"2018-08-04T11:21:09","price":"0.155642","amount":"2.62204","value":"0.4081","side1_account_id":"1.2.879926","side2_account_id":"1.2.162847"},{"sequence":6524603,"date":"2018-08-04T11:21:06","price":"0.154559505409582689","amount":"118.21467","value":"18.2712","side1_account_id":"1.2.384119","side2_account_id":"1.2.264860"},{"sequence":6524601,"date":"2018-08-04T11:21:06","price":"0.154598676436206674","amount":"50.30056","value":"7.7764","side1_account_id":"1.2.475780","side2_account_id":"1.2.264860"},{"sequence":6524599,"date":"2018-08-04T11:21:06","price":"0.154604180003050531","amount":"51.59757","value":"7.9772","side1_account_id":"1.2.602724","side2_account_id":"1.2.264860"}]}
 

証人 (witness)

get_witnesses

get_witnesses(const vector<witness_id_type> &witness_ids)
証人の定義情報の取得に限定したget_objectsです。
パラメータ witness_ids: 証人ID (複数指定可)
返り値 証人の定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_witnesses", "params": [["1.6.76"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.6.76","witness_account":"1.2.158783","last_aslot":28899396,"signing_key":"BTS8cg3sngEoPAR35BMr67zQUiYBBBMADvAqKpnqLaDuqao6N1zio","pay_vb":"1.13.1304","vote_id":"1:218","total_votes":"57539597879981","url":"https://bitsharestalk.org/index.php/topic,23992.0.html","total_missed":804,"last_confirmed_block_num":28745525}]}

get_witness_by_account

get_witness_by_account(account_id_type account)
アカウントが運用している証人を取得します。
パラメータ account: アカウントID
返り値 証人の定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_witness_by_account", "params": ["1.2.158783"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"id":"1.6.76","witness_account":"1.2.158783","last_aslot":28899438,"signing_key":"BTS8cg3sngEoPAR35BMr67zQUiYBBBMADvAqKpnqLaDuqao6N1zio","pay_vb":"1.13.1304","vote_id":"1:218","total_votes":"57539597879981","url":"https://bitsharestalk.org/index.php/topic,23992.0.html","total_missed":804,"last_confirmed_block_num":28745567}}

lookup_witness_accounts

lookup_witness_accounts(const string &lower_bound_name, uint32_t limit)
登録済みの証人を前方一致で検索します。検索のルールはlookup_accountsと同じです。
パラメータ lower_bound_name: 検索ワード / limit: 検索結果数 (1000以下)
返り値 一致する証人のアカウント名と証人IDのリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "lookup_witness_accounts", "params": ["witness", 100], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[["witness.hiblockchain","1.6.105"],["witness.still","1.6.69"],["witness.yao","1.6.71"],["xeldal","1.6.22"],["xman","1.6.64"],["xn-delegate","1.6.59"],["zeneet3","1.6.102"]]}

get_witness_count

get_witness_count()
登録済みの証人の数を取得します。
パラメータ なし
返り値 登録済み証人数
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_witness_count", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":128}

委員会 (committee)

get_committee_members

get_committee_members(const vector<committee_member_id_type> &committee_member_ids)
委員の定義情報の取得に限定したget_objectsです。
パラメータ committee_member_ids: 委員ID (複数指定可)
返り値 委員の定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_committee_members", "params": [["1.5.30"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.5.30","committee_member_account":"1.2.158781","vote_id":"0:213","total_votes":"45115136222329","url":"https://bitsharestalk.org/index.php/topic,23931.0.html"}]}

get_committee_member_by_account

get_committee_member_by_account(account_id_type account)
アカウントが運用している委員を取得します。
パラメータ account: アカウントID
返り値 委員の定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_committee_member_by_account", "params": ["1.2.158781"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":{"id":"1.5.30","committee_member_account":"1.2.158781","vote_id":"0:213","total_votes":"45115136222329","url":"https://bitsharestalk.org/index.php/topic,23931.0.html"}}

lookup_committee_member_accounts

lookup_committee_member_accounts(const string &lower_bound_name, uint32_t limit)
登録済みの委員を前方一致で検索します。検索のルールはlookup_accountsと同じです。
パラメータ lower_bound_name: 検索ワード / limit: 検索結果数 (1000以下)
返り値 一致する委員のアカウント名と証人IDのリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "lookup_committee_member_accounts", "params": ["open", 10], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[["openledgerdc","1.5.30"],["roelandp","1.5.31"],["skye","1.5.39"],["witness.still","1.5.33"],["xeroc","1.5.27"]]}

get_committee_count

get_committee_count()
登録済みの委員の数を取得します。
パラメータ なし
返り値 登録済み委員数
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_committee_count", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":42}

ワーカー

get_all_workers

get_all_workers()
登録済みのワーカーのリストを取得します。
パラメータ なし
返り値 登録済みワーカーの定義情報のリスト (期限切れのものも含む)
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_all_workers", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.14.0","worker_account":"1.2.90742","work_begin_date":"2015-10-20T17:30:00","work_end_date":"2035-12-31T00:00:00","daily_pay":"40000000000","worker":[0,{"total_burned":"20904928885627"}],"vote_for":"2:65","vote_against":"2:66","total_votes_for":"20699818696129","total_votes_against":0,"name":"refund400k","url":""},{"id":"1.14.1","worker_account":"1.2.22517","work_begin_date":"2015-10-23T00:00:00","work_end_date":"2015-11-23T00:00:00","daily_pay":10000,"worker":[1,{"balance":"1.13.232"}],"vote_for":"2:67","vote_against":"2:68","total_votes_for":"16007275057","total_votes_against":0,"name":"mindphlux-bitasset-poolfund","url":""},{"id":"1.14.2","worker_account":"1.2.22517","work_begin_date":"2015-10-23T00:00:00","work_end_date":"2015-11-23T00:00:00","daily_pay":1000000000,"worker":[1,{"balance":"1.13.233"}],"vote_for":"2:69","vote_against":"2:70","total_votes_for":0,"total_votes_against":0,"name":"mindphlux-bitasset-poolfund","url":""},{"id":"1.14.3","worker_account":"1.2.22517","work_begin_date":"2015-10-23T00:00:00","work_end_date":"2015-11-23T00:00:00","daily_pay":1000000000,"worker":[1,{"balance":"1.13.234"}],"vote_for":"2:71","vote_against":"2:72","total_votes_for":0,"total_votes_against":0,"name":"mindphlux-bitasset-poolfund","url":"https://bitsharestalk.org/index.php/topic,19317.0.html"},{"id":"1.14.4","worker_account":"1.2.22517","work_begin_date":"2015-10-21T11:00:00","work_end_date":"2015-11-21T11:00:00","daily_pay":1000000000,"worker":[1,{"balance":"1.13.235"}],"vote_for":"2:73","vote_against":"2:74","total_votes_for":"42657183199","total_votes_against":0,"name":"bitasset-fund-pool","url":"https://bitsharestalk.org/index.php/topic,19317.0.html"},{"id":"1.14.5","worker_account":"1.2.6004","work_begin_date":"2015-10-28T00:00:00","work_end_date":"2016-01-31T00:00:00","daily_pay":3966,"worker":[1,{"balance":"1.13.278"}],"vote_for":"2:78","vote_against":"2:79","total_votes_for":45229673,"total_votes_against":0,"name":"Debian/Ubuntu-based PPA","url":"https://bitsharestalk.org/index.php/topic,19485.msg250031.html"},{"id":"1.14.6","worker_account":"1.2.6004","work_begin_date":"2015-10-28T00:00:00","work_end_date":"2016-01-31T00:00:00","daily_pay":396600000,"worker":[1,{"balance":"1.13.279"}],"vote_for":"2:80","vote_against":"2:81","total_votes_for":400255229,"total_votes_against":0,"name":"Debian/Ubuntu-based PPA","url":"https://bitsharestalk.org/index.php/topic,19485.msg250031.html"},{"id":"1.14.7","worker_account":"1.2.97845","work_begin_date":"2015-11-21T00:00:00","work_end_date":"2015-12-30T00:00:00","daily_pay":"5000000000","worker":[1,{"balance":"1.13.385"}],"vote_for":"2:92","vote_against":"2:93","total_votes_for":"22472213199","total_votes_against":0,"name":"Refund Create Order Fees on Cancel","url":"https://github.com/cryptonomex/graphene/issues/445"},{"id":"1.14.8","worker_account":"1.2.21594","work_begin_date":"2015-11-21T00:00:00","work_end_date":"2016-02-21T00:00:00","daily_pay":500000000,"worker":[1,{"balance":"1.13.398"}],"vote_for":"2:94","vote_against":"2:95","total_votes_for":282893867,"total_votes_against":0,"name":"Bitshares UI Project Manager","url":"https://docs.google.com/document/d/14d9bBAyUoB9wcBpFnYoGpE1MF0RnOwMKpF2Z8eh0QkI/edit?usp=sharing"},{"id":"1.14.9","worker_account":"1.2.21594","work_begin_date":"2015-11-24T00:00:00","work_end_date":"2016-02-24T00:00:00","daily_pay":500000000,"worker":[1,{"balance":"1.13.402"}],"vote_for":"2:96","vote_against":"2:97","total_votes_for":"12924462455","total_votes_against":0,"name":"Bitshares UI Project Coordinator","url":"https://docs.google.com/document/d/14d9bBAyUoB9wcBpFnYoGpE1MF0RnOwMKpF2Z8eh0QkI/edit?usp=sharing"},{"id":"1.14.10","worker_account":"1.2.98347","work_begin_date":"2015-12-01T00:00:00","work_end_date":"2016-03-01T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.415"}],"vote_for":"2:99","vote_against":"2:100","total_votes_for":83692993,"total_votes_against":0,"name":"BTS Cryptoexchange worker 1","url":"https://bitsharestalk.org/index.php/topic,19351.0.html"},{"id":"1.14.11","worker_account":"1.2.98347","work_begin_date":"2015-12-01T00:00:00","work_end_date":"2016-03-01T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.417"}],"vote_for":"2:101","vote_against":"2:102","total_votes_for":83692993,"total_votes_against":0,"name":"BTS Cryptoexchange worker 2","url":"https://bitsharestalk.org/index.php/topic,19351.0.html"},{"id":"1.14.12","worker_account":"1.2.98347","work_begin_date":"2015-12-01T00:00:00","work_end_date":"2016-03-01T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.418"}],"vote_for":"2:103","vote_against":"2:104","total_votes_for":83692993,"total_votes_against":0,"name":"BTS Cryptoexchange worker 3","url":"https://bitsharestalk.org/index.php/topic,19351.0.html"},{"id":"1.14.13","worker_account":"1.2.98347","work_begin_date":"2015-12-01T00:00:00","work_end_date":"2016-03-01T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.419"}],"vote_for":"2:105","vote_against":"2:106","total_votes_for":83692993,"total_votes_against":0,"name":"BTS Cryptoexchange worker 4","url":"https://bitsharestalk.org/index.php/topic,19351.0.html"},{"id":"1.14.14","worker_account":"1.2.98347","work_begin_date":"2015-12-01T00:00:00","work_end_date":"2016-03-01T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.420"}],"vote_for":"2:107","vote_against":"2:108","total_votes_for":77808447,"total_votes_against":0,"name":"BTS Cryptoexchange worker 5","url":"https://bitsharestalk.org/index.php/topic,19351.0.html"},{"id":"1.14.15","worker_account":"1.2.98347","work_begin_date":"2015-12-01T00:00:00","work_end_date":"2016-03-01T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.421"}],"vote_for":"2:109","vote_against":"2:110","total_votes_for":83692993,"total_votes_against":0,"name":"BTS Cryptoexchange worker 6","url":"https://bitsharestalk.org/index.php/topic,19351.0.html"},{"id":"1.14.16","worker_account":"1.2.30665","work_begin_date":"2015-12-21T00:00:00","work_end_date":"2016-03-21T00:00:00","daily_pay":1904761904,"worker":[1,{"balance":"1.13.481"}],"vote_for":"2:115","vote_against":"2:116","total_votes_for":"341103190052","total_votes_against":0,"name":"GUI Development and Maintenance by svk","url":"https://docs.google.com/document/d/1c4acxn0BAAln2EPd9WcE6cU3fqpxbeyOTL0JrfMbT7E/edit?usp=sharing"},{"id":"1.14.17","worker_account":"1.2.282","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-02-29T00:00:00","daily_pay":"2950000000","worker":[1,{"balance":"1.13.486"}],"vote_for":"2:117","vote_against":"2:118","total_votes_for":"340984471388","total_votes_against":0,"name":"Documentation/Technical Support/Python+UI Development","url":"https://github.com/xeroc/worker-proposals"},{"id":"1.14.18","worker_account":"1.2.282","work_begin_date":"2015-12-19T00:00:00","work_end_date":"2016-01-18T00:00:00","daily_pay":333333333,"worker":[1,{"balance":"1.13.490"}],"vote_for":"2:119","vote_against":"2:120","total_votes_for":"314993775346","total_votes_against":0,"name":"STEALTH","url":"https://github.com/bitshares/bsips/blob/master/bsip-0008.md"},{"id":"1.14.19","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":"122732380621"}],"vote_for":"2:121","vote_against":"2:122","total_votes_for":"175151650421","total_votes_against":0,"name":"burn-100k-1","url":"http://bitshares.org"},{"id":"1.14.20","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":"178461895990"}],"vote_for":"2:123","vote_against":"2:124","total_votes_for":"175151657007","total_votes_against":0,"name":"burn-100k-2","url":"http://bitshares.org"},{"id":"1.14.21","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":0}],"vote_for":"2:125","vote_against":"2:126","total_votes_for":"151258376940","total_votes_against":0,"name":"burn-100k-3","url":"http://bitshares.org"},{"id":"1.14.22","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":0}],"vote_for":"2:127","vote_against":"2:128","total_votes_for":"173197963872","total_votes_against":0,"name":"burn-100k-4","url":"http://bitshares.org"},{"id":"1.14.23","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"393930723211"}],"vote_for":"2:129","vote_against":"2:130","total_votes_for":"272840553523","total_votes_against":0,"name":"refund-100k-1","url":"http://bitshares.org"},{"id":"1.14.24","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"119518070348"}],"vote_for":"2:131","vote_against":"2:132","total_votes_for":"272841417196","total_votes_against":0,"name":"refund-100k-2","url":"http://bitshares.org"},{"id":"1.14.25","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"315013012780"}],"vote_for":"2:133","vote_against":"2:134","total_votes_for":"274579909281","total_votes_against":0,"name":"refund-100k-3","url":"http://bitshares.org"},{"id":"1.14.26","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"137699763557"}],"vote_for":"2:135","vote_against":"2:136","total_votes_for":"272840653524","total_votes_against":0,"name":"refund-100k-4","url":"http://bitshares.org"},{"id":"1.14.27","worker_account":"1.2.5178","work_begin_date":"2016-01-15T00:00:00","work_end_date":"2016-04-15T00:00:00","daily_pay":2124000000,"worker":[1,{"balance":"1.13.510"}],"vote_for":"2:137","vote_against":"2:138","total_votes_for":"12736786623","total_votes_against":0,"name":"Graphic Design / UI/UX Design / Web Development","url":"https://github.com/cassiopaia/worker-proposals-bts"},{"id":"1.14.28","worker_account":"1.2.5178","work_begin_date":"2016-01-15T00:00:00","work_end_date":"2016-04-15T00:00:00","daily_pay":"2730700000","worker":[1,{"balance":"1.13.511"}],"vote_for":"2:139","vote_against":"2:140","total_votes_for":"75560281507","total_votes_against":0,"name":"Graphic Design / UI/UX Design / Web Development","url":"https://github.com/cassiopaia/worker-proposals-bts"},{"id":"1.14.29","worker_account":"1.2.100886","work_begin_date":"2016-02-15T00:00:00","work_end_date":"2016-05-15T00:00:00","daily_pay":"5000000000","worker":[1,{"balance":"1.13.558"}],"vote_for":"2:145","vote_against":"2:146","total_votes_for":"291840973864","total_votes_against":0,"name":"[BSIP10] Percentage-based transfer fee solution based on CER","url":"https://github.com/bitshares/bsips/blob/master/bsip-0010.md"},{"id":"1.14.30","worker_account":"1.2.8284","work_begin_date":"2016-02-08T00:00:00","work_end_date":"2016-08-31T23:59:59","daily_pay":"6000000000","worker":[1,{"balance":"1.13.582"}],"vote_for":"2:148","vote_against":"2:149","total_votes_for":"353010877380","total_votes_against":0,"name":"Blockchain maintenance developer","url":"https://bitsharestalk.org/index.php/topic,21296.msg276680.html#msg276680"},{"id":"1.14.31","worker_account":"1.2.100665","work_begin_date":"2016-03-01T00:00:00","work_end_date":"2016-06-30T00:00:00","daily_pay":2146666666,"worker":[1,{"balance":"1.13.586"}],"vote_for":"2:150","vote_against":"2:151","total_votes_for":"334559354372","total_votes_against":0,"name":"Python Library and Applications","url":"https://github.com/xeroc/worker-proposals"},{"id":"1.14.32","worker_account":"1.2.100665","work_begin_date":"2016-03-01T00:00:00","work_end_date":"2016-06-30T00:00:00","daily_pay":1073333333,"worker":[1,{"balance":"1.13.587"}],"vote_for":"2:152","vote_against":"2:153","total_votes_for":"333315890156","total_votes_against":0,"name":"Documentation and Technical Support","url":"https://github.com/xeroc/worker-proposals"},{"id":"1.14.33","worker_account":"1.2.31890","work_begin_date":"2016-03-01T00:00:00","work_end_date":"2016-05-31T23:59:59","daily_pay":"3000000000","worker":[1,{"balance":"1.13.607"}],"vote_for":"2:154","vote_against":"2:155","total_votes_for":"312693916713","total_votes_against":0,"name":"Blockchain Explorer and API Development","url":"https://bitsharestalk.org/index.php/topic,21532.0.html"},{"id":"1.14.34","worker_account":"1.2.30665","work_begin_date":"2016-03-21T00:00:00","work_end_date":"2016-05-21T00:00:00","daily_pay":"2500000000","worker":[1,{"balance":"1.13.650"}],"vote_for":"2:156","vote_against":"2:157","total_votes_for":"311513477999","total_votes_against":0,"name":"svk - Bitshares GUI Development and Maintenance #2","url":"https://docs.google.com/document/d/1c4acxn0BAAln2EPd9WcE6cU3fqpxbeyOTL0JrfMbT7E/edit?usp=sharing"},{"id":"1.14.35","worker_account":"1.2.666","work_begin_date":"2016-03-25T00:00:00","work_end_date":"2032-12-31T00:00:00","daily_pay":"200000000000","worker":[1,{"balance":"1.13.685"}],"vote_for":"2:158","vote_against":"2:159","total_votes_for":"395750606977","total_votes_against":0,"name":"Fund to pay dividend","url":"https://bitsharestalk.org/index.php/topic,22041.new.html#new"},{"id":"1.14.36","worker_account":"1.2.666","work_begin_date":"2016-03-26T00:00:00","work_end_date":"2032-12-31T00:00:00","daily_pay":"18000000000","worker":[1,{"balance":"1.13.687"}],"vote_for":"2:160","vote_against":"2:161","total_votes_for":"372440148922","total_votes_against":0,"name":"Fund to pay dividend","url":"https://bitsharestalk.org/index.php/topic,22041.new.html#new"},{"id":"1.14.37","worker_account":"1.2.31489","work_begin_date":"2016-05-01T00:00:00","work_end_date":"2016-05-12T00:00:00","daily_pay":"10000000000","worker":[1,{"balance":"1.13.779"}],"vote_for":"2:167","vote_against":"2:168","total_votes_for":2878073990,"total_votes_against":0,"name":"bitARS smartcoin creation","url":"https://bitsharestalk.org/index.php/topic,22231.0.html"},{"id":"1.14.38","worker_account":"1.2.110851","work_begin_date":"2016-06-01T00:00:00","work_end_date":"2016-08-31T00:00:00","daily_pay":1666600000,"worker":[1,{"balance":"1.13.824"}],"vote_for":"2:171","vote_against":"2:172","total_votes_for":"26811737115","total_votes_against":0,"name":"Chronos Crypto Videos","url":"https://bitsharestalk.org/index.php/topic,22487.0.html"},{"id":"1.14.39","worker_account":"1.2.121","work_begin_date":"2016-05-24T10:00:00","work_end_date":"2016-06-01T00:00:00","daily_pay":1,"worker":[1,{"balance":"1.13.830"}],"vote_for":"2:174","vote_against":"2:175","total_votes_for":"44615259020","total_votes_against":0,"name":"to optimize the force settlement parameter of bitCNY","url":"https://bitsharestalk.org/index.php/topic,22416.0.html"},{"id":"1.14.40","worker_account":"1.2.282","work_begin_date":"2016-05-27T14:00:00","work_end_date":"2016-06-01T00:00:00","daily_pay":1,"worker":[0,{"total_burned":0}],"vote_for":"2:177","vote_against":"2:178","total_votes_for":250701472,"total_votes_against":0,"name":"NO changes to bitCNY force settlement","url":"https://bitsharestalk.org/index.php/topic,22416.0.html"},{"id":"1.14.41","worker_account":"1.2.30665","work_begin_date":"2016-06-12T00:00:00","work_end_date":"2016-09-12T00:00:00","daily_pay":"3500000000","worker":[1,{"balance":"1.13.850"}],"vote_for":"2:179","vote_against":"2:180","total_votes_for":"24029975139","total_votes_against":0,"name":"Bitshares GUI Development and Maintenance","url":"https://docs.google.com/document/d/1c4acxn0BAAln2EPd9WcE6cU3fqpxbeyOTL0JrfMbT7E/edit?usp=sharing"},{"id":"1.14.42","worker_account":"1.2.111880","work_begin_date":"2016-07-07T00:00:00","work_end_date":"2016-10-10T00:00:00","daily_pay":2000000000,"worker":[1,{"balance":"1.13.878"}],"vote_for":"2:181","vote_against":"2:182","total_votes_for":"81458798600","total_votes_against":0,"name":"Ripple Gateway","url":"https://ripplefox.com/bts/worker"},{"id":"1.14.43","worker_account":"1.2.35939","work_begin_date":"2016-07-19T00:00:00","work_end_date":"2016-07-31T00:00:00","daily_pay":"2525252525","worker":[1,{"balance":"1.13.901"}],"vote_for":"2:183","vote_against":"2:184","total_votes_for":2599805362,"total_votes_against":0,"name":"BitShares Website Mockup","url":"https://bitsharestalk.org/index.php/topic,22828.0.html"},{"id":"1.14.44","worker_account":"1.2.110851","work_begin_date":"2016-09-12T00:00:00","work_end_date":"2017-03-31T00:00:00","daily_pay":16666,"worker":[1,{"balance":"1.13.1012"}],"vote_for":"2:186","vote_against":"2:187","total_votes_for":"304953685187","total_votes_against":0,"name":"Chronos Crypto Videos","url":"https://bitsharestalk.org/index.php/topic,23291.0.html"},{"id":"1.14.45","worker_account":"1.2.110851","work_begin_date":"2016-09-12T00:00:00","work_end_date":"2017-03-31T00:00:00","daily_pay":1666600000,"worker":[1,{"balance":"1.13.1013"}],"vote_for":"2:188","vote_against":"2:189","total_votes_for":"646713931700","total_votes_against":0,"name":"Chronos Crypto Videos","url":"https://bitsharestalk.org/index.php/topic,23291.0.html"},{"id":"1.14.46","worker_account":"1.2.138721","work_begin_date":"2016-11-09T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":1000000000,"worker":[1,{"balance":"1.13.1089"}],"vote_for":"2:192","vote_against":"2:193","total_votes_for":1023818,"total_votes_against":0,"name":"Project administration & essential maintenance","url":"https://bitsharestalk.org/index.php/topic,23495.0.html"},{"id":"1.14.47","worker_account":"1.2.138721","work_begin_date":"2016-11-09T00:00:00","work_end_date":"2017-12-31T23:59:59","daily_pay":1000000000,"worker":[1,{"balance":"1.13.1090"}],"vote_for":"2:194","vote_against":"2:195","total_votes_for":"107224730559","total_votes_against":0,"name":"Project administration & essential maintenance","url":"https://bitsharestalk.org/index.php/topic,23495.0.html"},{"id":"1.14.48","worker_account":"1.2.30665","work_begin_date":"2017-01-09T00:00:00","work_end_date":"2017-04-09T00:00:00","daily_pay":"5000000000","worker":[1,{"balance":"1.13.1152"}],"vote_for":"2:197","vote_against":"2:198","total_votes_for":"355585805733","total_votes_against":0,"name":"GUI Development - svk","url":"https://docs.google.com/document/d/1c4acxn0BAAln2EPd9WcE6cU3fqpxbeyOTL0JrfMbT7E/edit?usp=sharing"},{"id":"1.14.49","worker_account":"1.2.117601","work_begin_date":"2017-01-23T00:00:00","work_end_date":"2017-07-24T00:00:00","daily_pay":896063333,"worker":[1,{"balance":"1.13.1166"}],"vote_for":"2:200","vote_against":"2:201","total_votes_for":"253743198942","total_votes_against":0,"name":"Alfredo Garcia, Bitshares Core Dev","url":"https://bitsharestalk.org/index.php/topic,23698.0.html"},{"id":"1.14.50","worker_account":"1.2.121","work_begin_date":"2017-02-02T00:00:00","work_end_date":"2017-02-17T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.1186"}],"vote_for":"2:202","vote_against":"2:203","total_votes_for":"1115119717442","total_votes_against":0,"name":"agree to increase witness payment to 4BTS/block","url":"https://github.com/bitshares/bsips/issues/22"},{"id":"1.14.51","worker_account":"1.2.121","work_begin_date":"2017-02-02T00:00:00","work_end_date":"2017-02-17T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.1187"}],"vote_for":"2:204","vote_against":"2:205","total_votes_for":"7466280911","total_votes_against":0,"name":"object to increase witness payment to 4BTS/block","url":"https://github.com/bitshares/bsips/issues/22"},{"id":"1.14.52","worker_account":"1.2.154380","work_begin_date":"2017-02-15T00:00:00","work_end_date":"2017-05-15T00:00:00","daily_pay":"9000000000","worker":[1,{"balance":"1.13.1188"}],"vote_for":"2:206","vote_against":"2:207","total_votes_for":"242344482273","total_votes_against":0,"name":"Python-steem and uptick","url":"https://github.com/xeroc/worker-proposals"},{"id":"1.14.53","worker_account":"1.2.964","work_begin_date":"2017-02-07T14:00:00","work_end_date":"2017-02-17T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.1191"}],"vote_for":"2:208","vote_against":"2:209","total_votes_for":2277538,"total_votes_against":0,"name":"agree to increase witness payment to 3BTS/block","url":"https://github.com/bitshares/bsips/issues/22"},{"id":"1.14.54","worker_account":"1.2.964","work_begin_date":"2017-02-20T00:00:00","work_end_date":"2017-03-22T00:00:00","daily_pay":840000000,"worker":[1,{"balance":"1.13.1194"}],"vote_for":"2:210","vote_against":"2:211","total_votes_for":"59115446417","total_votes_against":0,"name":"Advertisement on 8btc.com","url":"https://bitsharestalk.org/index.php/topic,23785.msg302608"},{"id":"1.14.55","worker_account":"1.2.356589","work_begin_date":"2017-07-12T00:00:00","work_end_date":"2018-01-08T00:00:00","daily_pay":218700000,"worker":[1,{"balance":"1.13.1608"}],"vote_for":"2:224","vote_against":"2:225","total_votes_for":"1473391435979","total_votes_against":0,"name":"Alfredo Garcia - Core Developer for the second half of 2017","url":"https://github.com/oxarbitrage/worker-proposals/blob/master/bitshares2017.md"},{"id":"1.14.56","worker_account":"1.2.364315","work_begin_date":"2017-07-15T00:00:00","work_end_date":"2017-10-31T00:00:00","daily_pay":640000000,"worker":[1,{"balance":"1.13.1661"}],"vote_for":"2:228","vote_against":"2:229","total_votes_for":"529307812419","total_votes_against":0,"name":"201707-bsip18","url":"http://www.bitshares.foundation/workers/2017-07-peter-conrad"},{"id":"1.14.57","worker_account":"1.2.100665","work_begin_date":"2017-08-03T12:47:20","work_end_date":"2035-12-31T00:00:00","daily_pay":"10000000000","worker":[0,{"total_burned":"60258170076"}],"vote_for":"2:231","vote_against":"2:232","total_votes_for":"26068799704459","total_votes_against":0,"name":"refund100k","url":""},{"id":"1.14.58","worker_account":"1.2.364315","work_begin_date":"2017-08-15T00:00:00","work_end_date":"2018-02-15T00:00:00","daily_pay":1400000000,"worker":[1,{"balance":"1.13.1737"}],"vote_for":"2:233","vote_against":"2:234","total_votes_for":"3010751009759","total_votes_against":0,"name":"201708-bitsharesui","url":"http://www.bitshares.foundation/workers/2017-08-bill-butler"},{"id":"1.14.59","worker_account":"1.2.364315","work_begin_date":"2017-09-20T00:00:00","work_end_date":"2017-10-20T00:00:00","daily_pay":450000000,"worker":[1,{"balance":"1.13.1862"}],"vote_for":"2:240","vote_against":"2:241","total_votes_for":"70961441110","total_votes_against":0,"name":"201709-steemfest","url":"http://www.bitshares.foundation/workers/2017-09-steemfest"},{"id":"1.14.60","worker_account":"1.2.364315","work_begin_date":"2017-10-18T00:00:00","work_end_date":"2018-12-31T00:00:00","daily_pay":400000000,"worker":[1,{"balance":"1.13.2114"}],"vote_for":"2:244","vote_against":"2:245","total_votes_for":"43644089927657","total_votes_against":0,"name":"201710-compliance","url":"None"},{"id":"1.14.61","worker_account":"1.2.364315","work_begin_date":"2017-10-18T00:00:00","work_end_date":"2018-12-31T00:00:00","daily_pay":450000000,"worker":[1,{"balance":"1.13.2115"}],"vote_for":"2:246","vote_against":"2:247","total_votes_for":"56054774998098","total_votes_against":0,"name":"201710-spokesperson","url":"None"},{"id":"1.14.62","worker_account":"1.2.127117","work_begin_date":"2017-10-22T00:00:00","work_end_date":"2017-10-23T00:00:00","daily_pay":30300000,"worker":[1,{"balance":"1.13.2150"}],"vote_for":"2:249","vote_against":"2:250","total_votes_for":0,"total_votes_against":0,"name":"\"elmato\" witness feed out of date - 2 days old!","url":"https://roelandp.nl/bitshareswitnesslog/"},{"id":"1.14.63","worker_account":"1.2.449675","work_begin_date":"2017-11-01T00:00:00","work_end_date":"2018-05-01T00:00:00","daily_pay":939200000,"worker":[1,{"balance":"1.13.2198"}],"vote_for":"2:251","vote_against":"2:252","total_votes_for":"9864373848212","total_votes_against":0,"name":"BitShares Greater China Representative","url":"https://steemit.com/bitshares/@lzmlam/bts-greater-china-representative-worker-proposal-bilingual"},{"id":"1.14.64","worker_account":"1.2.457684","work_begin_date":"2017-11-10T00:00:00","work_end_date":"2017-12-10T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.2272"}],"vote_for":"2:254","vote_against":"2:255","total_votes_for":1142971,"total_votes_against":0,"name":"Joint Marketing Campaign of Exchanges WP","url":"https://steemit.com/cn/@lzmlam/bts-bts-joint-marketing-campaign-of-exchanges-wp-bilingual"},{"id":"1.14.65","worker_account":"1.2.457684","work_begin_date":"2017-11-24T00:00:00","work_end_date":"2017-12-24T00:00:00","daily_pay":"6000000000","worker":[1,{"balance":"1.13.2282"}],"vote_for":"2:256","vote_against":"2:257","total_votes_for":"198954166834","total_votes_against":0,"name":"Joint Marketing Campaign of Exchanges WP","url":"https://steemit.com/cn/@lzmlam/bts-bts-joint-marketing-campaign-of-exchanges-wp-bilingual"},{"id":"1.14.66","worker_account":"1.2.459901","work_begin_date":"2017-12-01T00:00:00","work_end_date":"2018-03-31T23:59:00","daily_pay":206000000,"worker":[1,{"balance":"1.13.2299"}],"vote_for":"2:258","vote_against":"2:259","total_votes_for":"17602220854105","total_votes_against":0,"name":"Abit - Core Developer - 201712~201803","url":"https://github.com/abitmore/bts-worker-proposals/blob/master/abit-worker-201712-201803.md"},{"id":"1.14.67","worker_account":"1.2.364315","work_begin_date":"2017-12-01T00:00:00","work_end_date":"2018-05-31T00:00:00","daily_pay":270000000,"worker":[1,{"balance":"1.13.2307"}],"vote_for":"2:260","vote_against":"2:261","total_votes_for":"18648222472531","total_votes_against":0,"name":"201712-infrastructure","url":"http://www.bitshares.foundation/workers/2017-12-infrastructure"},{"id":"1.14.68","worker_account":"1.2.364315","work_begin_date":"2017-12-01T00:00:00","work_end_date":"2018-05-31T00:00:00","daily_pay":250000000,"worker":[1,{"balance":"1.13.2325"}],"vote_for":"2:262","vote_against":"2:263","total_votes_for":"5094068247103","total_votes_against":0,"name":"2017-12-blockchainacademy","url":"http://www.bitshares.foundation/workers/2017-12-blockchainacademy"},{"id":"1.14.69","worker_account":"1.2.12376","work_begin_date":"2018-01-01T00:00:00","work_end_date":"2018-05-01T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.2355"}],"vote_for":"2:264","vote_against":"2:265","total_votes_for":"16342438527567","total_votes_against":0,"name":"Poll - BSIP26 - Refund Original Order Creation Fee on Cancel","url":"https://github.com/bitshares/bsips/blob/master/bsip-0026.md"},{"id":"1.14.70","worker_account":"1.2.12376","work_begin_date":"2018-01-01T00:00:00","work_end_date":"2018-05-01T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.2356"}],"vote_for":"2:266","vote_against":"2:267","total_votes_for":"16234784473552","total_votes_against":0,"name":"Poll - BSIP27 - Asset Issuer Reclaim Fee Pool Funds","url":"https://github.com/bitshares/bsips/blob/master/bsip-0027.md"},{"id":"1.14.71","worker_account":"1.2.364315","work_begin_date":"2018-01-01T00:00:00","work_end_date":"2018-06-30T00:00:00","daily_pay":35000000,"worker":[1,{"balance":"1.13.2826"}],"vote_for":"2:269","vote_against":"2:270","total_votes_for":"21225062124051","total_votes_against":0,"name":"201801-budget-chinese-translations","url":"http://www.bitshares.foundation/worker/budget/2018-01-budget-chinese-translations"},{"id":"1.14.72","worker_account":"1.2.438065","work_begin_date":"2017-12-30T00:00:00","work_end_date":"2018-05-05T00:00:00","daily_pay":200000000,"worker":[1,{"balance":"1.13.3608"}],"vote_for":"2:275","vote_against":"2:276","total_votes_for":"73086304767","total_votes_against":0,"name":"Crypto-Solutions","url":"http://www.cryptosolutons.uk"},{"id":"1.14.73","worker_account":"1.2.522699","work_begin_date":"2018-01-01T00:00:00","work_end_date":"2018-12-31T00:00:00","daily_pay":660000000,"worker":[1,{"balance":"1.13.3609"}],"vote_for":"2:277","vote_against":"2:278","total_votes_for":"44846038287340","total_votes_against":0,"name":"DEXBot - User Friendly BitShares Market Making Bots ($660/d)","url":"https://docs.google.com/document/d/1frX-I1JeQxDNDZ270clEQei2LT15ncGYW5n1Lx8xkeY/edit?usp=sharing"},{"id":"1.14.74","worker_account":"1.2.522699","work_begin_date":"2018-01-01T00:00:00","work_end_date":"2018-12-31T00:00:00","daily_pay":660000000,"worker":[1,{"balance":"1.13.3614"}],"vote_for":"2:279","vote_against":"2:280","total_votes_for":"8201302978111","total_votes_against":0,"name":"DEXBot - User Friendly BitShares Market Making Software","url":"https://docs.google.com/document/d/1frX-I1JeQxDNDZ270clEQei2LT15ncGYW5n1Lx8xkeY/edit?usp=sharing"},{"id":"1.14.75","worker_account":"1.2.356589","work_begin_date":"2018-01-22T00:00:00","work_end_date":"2018-07-22T00:00:00","daily_pay":71500000,"worker":[1,{"balance":"1.13.4839"}],"vote_for":"2:283","vote_against":"2:284","total_votes_for":"63148896522259","total_votes_against":0,"name":"Alfredo Garcia - Bitshares core developer","url":"https://github.com/oxarbitrage/worker-proposals/blob/master/bitshares2018_1.md"},{"id":"1.14.76","worker_account":"1.2.476486","work_begin_date":"2018-01-15T00:00:00","work_end_date":"2018-12-31T00:00:00","daily_pay":200000000,"worker":[1,{"balance":"1.13.5457"}],"vote_for":"2:285","vote_against":"2:286","total_votes_for":"886463143507","total_votes_against":0,"name":"NeoWorker - neoreel-1","url":"http://www.neoreel.com/bitshares_e.html"},{"id":"1.14.77","worker_account":"1.2.16003","work_begin_date":"2018-01-16T00:00:00","work_end_date":"2018-01-17T00:00:00","daily_pay":"50000000000","worker":[1,{"balance":"1.13.5641"}],"vote_for":"2:287","vote_against":"2:288","total_votes_for":"632502248301","total_votes_against":0,"name":"Acquire Bitshares.com Domain - Cryptonomex","url":"https://steemit.com/bitshares/@michaelx/draft-or-worker-proposal-to-secure-bitshares-com-domain-name-for-the-community"},{"id":"1.14.78","worker_account":"1.2.564221","work_begin_date":"2018-01-18T00:00:00","work_end_date":"2018-01-21T00:00:00","daily_pay":10000000,"worker":[1,{"balance":"1.13.7274"}],"vote_for":"2:293","vote_against":"2:294","total_votes_for":0,"total_votes_against":0,"name":"Worker Kano123 - like bitshares ","url":"http://"},{"id":"1.14.79","worker_account":"1.2.305887","work_begin_date":"2018-01-22T00:00:00","work_end_date":"2019-01-01T00:00:00","daily_pay":10000000,"worker":[1,{"balance":"1.13.7995"}],"vote_for":"2:295","vote_against":"2:296","total_votes_for":9284665,"total_votes_against":0,"name":"soak45","url":"http://"},{"id":"1.14.80","worker_account":"1.2.364315","work_begin_date":"2018-02-01T00:00:00","work_end_date":"2018-08-30T00:00:00","daily_pay":650000000,"worker":[1,{"balance":"1.13.9528"}],"vote_for":"2:299","vote_against":"2:300","total_votes_for":"49332912471800","total_votes_against":0,"name":"201802-legal-bts","url":"http://www.bitshares.foundation/worker/budget/2018-02-legal-council-bts"},{"id":"1.14.81","worker_account":"1.2.364315","work_begin_date":"2018-02-01T00:00:00","work_end_date":"2018-03-30T00:00:00","daily_pay":2000000,"worker":[1,{"balance":"1.13.9531"}],"vote_for":"2:301","vote_against":"2:302","total_votes_for":"14902979432365","total_votes_against":0,"name":"201802-bsip29","url":"https://github.com/bitshares/bsips/blob/master/bsip-0029.md"},{"id":"1.14.82","worker_account":"1.2.364315","work_begin_date":"2018-02-15T00:00:00","work_end_date":"2018-06-15T00:00:00","daily_pay":2000000,"worker":[1,{"balance":"1.13.9640"}],"vote_for":"2:303","vote_against":"2:304","total_votes_for":"2760663878160","total_votes_against":0,"name":"2018-02-bitsharesui","url":"http://www.bitshares.foundation/worker/budget/2018-02-bitshares-ui"},{"id":"1.14.83","worker_account":"1.2.364315","work_begin_date":"2018-02-15T00:00:00","work_end_date":"2018-06-15T00:00:00","daily_pay":420000000,"worker":[1,{"balance":"1.13.9642"}],"vote_for":"2:305","vote_against":"2:306","total_votes_for":"19277592002738","total_votes_against":0,"name":"2018-02-bitsharesui","url":"http://www.bitshares.foundation/worker/budget/2018-02-bitshares-ui"},{"id":"1.14.84","worker_account":"1.2.364315","work_begin_date":"2018-02-15T00:00:00","work_end_date":"2019-02-28T00:00:00","daily_pay":85000000,"worker":[1,{"balance":"1.13.9785"}],"vote_for":"2:307","vote_against":"2:308","total_votes_for":"46931077076517","total_votes_against":0,"name":"201802-documentation","url":"http://www.bitshares.foundation/worker/budget/2018-02-documentation"},{"id":"1.14.85","worker_account":"1.2.522339","work_begin_date":"2018-02-05T00:00:00","work_end_date":"2019-02-04T00:00:00","daily_pay":1000000000,"worker":[1,{"balance":"1.13.10158"}],"vote_for":"2:312","vote_against":"2:313","total_votes_for":17704224,"total_votes_against":0,"name":"Worker Purpose - trantienthucvn","url":"http://"},{"id":"1.14.86","worker_account":"1.2.701299","work_begin_date":"2018-02-10T00:00:00","work_end_date":"2018-06-29T00:00:00","daily_pay":15000000,"worker":[1,{"balance":"1.13.10223"}],"vote_for":"2:314","vote_against":"2:315","total_votes_for":75273109,"total_votes_against":0,"name":"data center burstcoin miner ecologe","url":"http://"},{"id":"1.14.87","worker_account":"1.2.695362","work_begin_date":"2018-02-14T00:00:00","work_end_date":"2018-06-08T00:00:00","daily_pay":10000000,"worker":[1,{"balance":"1.13.10249"}],"vote_for":"2:316","vote_against":"2:317","total_votes_for":9284665,"total_votes_against":0,"name":"btcminer1984","url":"steemit/weldmaster"},{"id":"1.14.88","worker_account":"1.2.701299","work_begin_date":"2018-06-30T00:00:00","work_end_date":"2019-06-30T00:00:00","daily_pay":150000000,"worker":[1,{"balance":"1.13.10675"}],"vote_for":"2:318","vote_against":"2:319","total_votes_for":23960818,"total_votes_against":0,"name":"etheriumbank cloud mining","url":"http://"},{"id":"1.14.89","worker_account":"1.2.438065","work_begin_date":"2018-02-26T00:00:00","work_end_date":"2019-02-28T00:00:00","daily_pay":"100000000000","worker":[1,{"balance":"1.13.11598"}],"vote_for":"2:323","vote_against":"2:324","total_votes_for":"238185618988","total_votes_against":0,"name":"zephyr-bot","url":"http://crypto-solutions.uk/"},{"id":"1.14.90","worker_account":"1.2.634099","work_begin_date":"2018-03-07T00:00:00","work_end_date":"2018-07-07T00:00:00","daily_pay":500000000,"worker":[1,{"balance":"1.13.12250"}],"vote_for":"2:329","vote_against":"2:330","total_votes_for":121852464,"total_votes_against":0,"name":"Stanec#8742-Decentral-ALQO/BCO/CYBEX.io-Development ","url":"https://dex.cybex.io/ledger"},{"id":"1.14.91","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12293"}],"vote_for":"2:331","vote_against":"2:332","total_votes_for":"61010214810224","total_votes_against":0,"name":"201803-bsip30","url":"https://github.com/bitshares/bsips/blob/master/bsip-0030.md"},{"id":"1.14.92","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12294"}],"vote_for":"2:333","vote_against":"2:334","total_votes_for":"61006368722195","total_votes_against":0,"name":"201803-bsip31","url":"https://github.com/bitshares/bsips/blob/master/bsip-0031.md"},{"id":"1.14.93","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12295"}],"vote_for":"2:335","vote_against":"2:336","total_votes_for":"61057577983446","total_votes_against":0,"name":"201803-bsip32","url":"https://github.com/bitshares/bsips/blob/master/bsip-0032.md"},{"id":"1.14.94","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12296"}],"vote_for":"2:337","vote_against":"2:338","total_votes_for":"61007643673731","total_votes_against":0,"name":"201803-bsip33","url":"https://github.com/bitshares/bsips/blob/master/bsip-0033.md"},{"id":"1.14.95","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12297"}],"vote_for":"2:339","vote_against":"2:340","total_votes_for":"61006910838361","total_votes_against":0,"name":"201803-bsip34","url":"https://github.com/bitshares/bsips/blob/master/bsip-0034.md"},{"id":"1.14.96","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12298"}],"vote_for":"2:341","vote_against":"2:342","total_votes_for":"61006623723498","total_votes_against":0,"name":"201803-bsip35","url":"https://github.com/bitshares/bsips/blob/master/bsip-0035.md"},{"id":"1.14.97","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12299"}],"vote_for":"2:343","vote_against":"2:344","total_votes_for":"61006369765541","total_votes_against":0,"name":"201803-bsip36","url":"https://github.com/bitshares/bsips/blob/master/bsip-0036.md"},{"id":"1.14.98","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":1000000,"worker":[1,{"balance":"1.13.12300"}],"vote_for":"2:345","vote_against":"2:346","total_votes_for":"61006402312887","total_votes_against":0,"name":"201803-bsip37","url":"https://github.com/bitshares/bsips/blob/master/bsip-0037.md"},{"id":"1.14.99","worker_account":"1.2.364315","work_begin_date":"2018-03-02T00:00:00","work_end_date":"2018-12-31T00:00:00","daily_pay":"2719600000","worker":[1,{"balance":"1.13.12313"}],"vote_for":"2:347","vote_against":"2:348","total_votes_for":"51971147812347","total_votes_against":0,"name":"201803-bitshares-core","url":"http://www.bitshares.foundation/worker/budget/2018-03-bitshares-core"},{"id":"1.14.100","worker_account":"1.2.364315","work_begin_date":"2018-03-20T00:00:00","work_end_date":"2018-09-30T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.13648"}],"vote_for":"2:357","vote_against":"2:358","total_votes_for":"35260099081867","total_votes_against":0,"name":"201803-bsip38","url":"https://github.com/bitshares/bsips/blob/master/bsip-0038.md"},{"id":"1.14.101","worker_account":"1.2.364315","work_begin_date":"2018-04-01T00:00:00","work_end_date":"2018-10-31T00:00:00","daily_pay":420000000,"worker":[1,{"balance":"1.13.13729"}],"vote_for":"2:361","vote_against":"2:362","total_votes_for":"44712717192924","total_votes_against":0,"name":"201804-general-presentation","url":"http://www.bitshares.foundation/workers/2018-04-general-presentation"},{"id":"1.14.102","worker_account":"1.2.0","work_begin_date":"2018-04-01T00:00:00","work_end_date":"2035-12-31T00:00:00","daily_pay":"20000000000","worker":[1,{"balance":"1.13.13777"}],"vote_for":"2:363","vote_against":"2:364","total_votes_for":"47799517392164","total_votes_against":0,"name":"committee controlled open market operation fund","url":"https://bitsharestalk.org/index.php?topic=26107.0"},{"id":"1.14.103","worker_account":"1.2.364315","work_begin_date":"2018-04-04T00:00:00","work_end_date":"2018-10-30T00:00:00","daily_pay":200000000,"worker":[1,{"balance":"1.13.14278"}],"vote_for":"2:366","vote_against":"2:367","total_votes_for":"47808722474524","total_votes_against":0,"name":"201804-bitfest","url":"http://www.bitshares.foundation/workers/2018-04-03-bitfest"},{"id":"1.14.104","worker_account":"1.2.393767","work_begin_date":"2018-07-02T00:00:00","work_end_date":"2021-07-01T00:00:00","daily_pay":600000000,"worker":[1,{"balance":"1.13.16115"}],"vote_for":"2:374","vote_against":"2:375","total_votes_for":"23277053121","total_votes_against":0,"name":"Bitshares X Moonshot","url":"https://steemit.com/bts/@matle85/bitshares-x-moonshot-reward-fund"},{"id":"1.14.105","worker_account":"1.2.974760","work_begin_date":"2018-06-29T00:00:00","work_end_date":"2018-06-30T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.17175"}],"vote_for":"2:379","vote_against":"2:380","total_votes_for":0,"total_votes_against":0,"name":"test","url":"google.com"},{"id":"1.14.106","worker_account":"1.2.974760","work_begin_date":"2018-06-29T00:00:00","work_end_date":"2018-06-30T00:00:00","daily_pay":100000,"worker":[1,{"balance":"1.13.17176"}],"vote_for":"2:381","vote_against":"2:382","total_votes_for":0,"total_votes_against":0,"name":"test2","url":"https://www.google.in"},{"id":"1.14.107","worker_account":"1.2.1005652","work_begin_date":"2018-07-09T00:00:00","work_end_date":"2018-12-08T00:00:00","daily_pay":"3575200000","worker":[1,{"balance":"1.13.17216"}],"vote_for":"2:383","vote_against":"2:384","total_votes_for":"17019202790","total_votes_against":0,"name":"Reinvention of Bitshares look and feel","url":"https://bitshares.scorum.com/uxui/"},{"id":"1.14.108","worker_account":"1.2.364315","work_begin_date":"2018-07-08T00:00:00","work_end_date":"2019-01-31T00:00:00","daily_pay":290000000,"worker":[1,{"balance":"1.13.17634"}],"vote_for":"2:386","vote_against":"2:387","total_votes_for":"22327358430977","total_votes_against":0,"name":"201807-infrastructure","url":"http://www.bitshares.foundation/workers/2018-07-infrastructure"},{"id":"1.14.109","worker_account":"1.2.364315","work_begin_date":"2018-07-15T00:00:00","work_end_date":"2019-01-27T00:00:00","daily_pay":"2170000000","worker":[1,{"balance":"1.13.17737"}],"vote_for":"2:388","vote_against":"2:389","total_votes_for":"18520751835132","total_votes_against":0,"name":"201807-hackthedex","url":"https://www.bitshares.foundation/workers/2018-07-hackthedex"},{"id":"1.14.110","worker_account":"1.2.356589","work_begin_date":"2018-07-15T00:00:00","work_end_date":"2018-07-20T00:00:00","daily_pay":2000000000,"worker":[1,{"balance":"1.13.17756"}],"vote_for":"2:390","vote_against":"2:391","total_votes_for":"28922731182775","total_votes_against":0,"name":"Alfredo Garcia supplement worker","url":"https://github.com/oxarbitrage/worker-proposals/blob/master/supplement.md"}]}

get_workers_by_account

get_workers_by_account(account_id_type account)
アカウントが運用しているワーカーを取得します。
パラメータ account: アカウントID
返り値 アカウントが運用しているワーカーのリスト (期限切れのものも含む)
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_workers_by_account", "params": ["1.2.0"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.14.19","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":"122732380621"}],"vote_for":"2:121","vote_against":"2:122","total_votes_for":"175151650421","total_votes_against":0,"name":"burn-100k-1","url":"http://bitshares.org"},{"id":"1.14.20","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":"178461895990"}],"vote_for":"2:123","vote_against":"2:124","total_votes_for":"175151657007","total_votes_against":0,"name":"burn-100k-2","url":"http://bitshares.org"},{"id":"1.14.21","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":0}],"vote_for":"2:125","vote_against":"2:126","total_votes_for":"151258376940","total_votes_against":0,"name":"burn-100k-3","url":"http://bitshares.org"},{"id":"1.14.22","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[2,{"total_burned":0}],"vote_for":"2:127","vote_against":"2:128","total_votes_for":"173197963872","total_votes_against":0,"name":"burn-100k-4","url":"http://bitshares.org"},{"id":"1.14.23","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"393930723211"}],"vote_for":"2:129","vote_against":"2:130","total_votes_for":"272840553523","total_votes_against":0,"name":"refund-100k-1","url":"http://bitshares.org"},{"id":"1.14.24","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"119518070348"}],"vote_for":"2:131","vote_against":"2:132","total_votes_for":"272841417196","total_votes_against":0,"name":"refund-100k-2","url":"http://bitshares.org"},{"id":"1.14.25","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"315013012780"}],"vote_for":"2:133","vote_against":"2:134","total_votes_for":"274579909281","total_votes_against":0,"name":"refund-100k-3","url":"http://bitshares.org"},{"id":"1.14.26","worker_account":"1.2.0","work_begin_date":"2016-01-01T00:00:00","work_end_date":"2016-12-31T23:59:59","daily_pay":"10000000000","worker":[0,{"total_burned":"137699763557"}],"vote_for":"2:135","vote_against":"2:136","total_votes_for":"272840653524","total_votes_against":0,"name":"refund-100k-4","url":"http://bitshares.org"},{"id":"1.14.102","worker_account":"1.2.0","work_begin_date":"2018-04-01T00:00:00","work_end_date":"2035-12-31T00:00:00","daily_pay":"20000000000","worker":[1,{"balance":"1.13.13777"}],"vote_for":"2:363","vote_against":"2:364","total_votes_for":"47799517392164","total_votes_against":0,"name":"committee controlled open market operation fund","url":"https://bitsharestalk.org/index.php?topic=26107.0"}]}

get_worker_count

get_worker_count()
登録済みのワーカーの数を取得します。
パラメータ なし
返り値 登録済みワーカー数
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_worker_count", "params": [], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":111}

投票

lookup_vote_ids

lookup_vote_ids(const vector<vote_id_type> &votes)
投票IDから対応する証人、委員、ワーカーを取得します。投票IDは0:xxが委員、1:xxが証人、2:xxがワーカーに対応します。
パラメータ votes: 投票ID
返り値 対応する証人、委員、ワーカーの定義情報
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "lookup_vote_ids", "params": [["0:213", "1:212", "2:363"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.5.30","committee_member_account":"1.2.158781","vote_id":"0:213","total_votes":"45121067234810","url":"https://bitsharestalk.org/index.php/topic,23931.0.html"},{"id":"1.6.73","witness_account":"1.2.157641","last_aslot":28900435,"signing_key":"BTS8VFTiHDVS795xhumfhPHJZABCaFhDdotj5uByVytze1his8BeP","pay_vb":"1.13.1275","vote_id":"1:212","total_votes":"69182027899107","url":"https://bitsharestalk.org/index.php/topic,23996.0.html","total_missed":1461,"last_confirmed_block_num":28746563},{"id":"1.14.102","worker_account":"1.2.0","work_begin_date":"2018-04-01T00:00:00","work_end_date":"2035-12-31T00:00:00","daily_pay":"20000000000","worker":[1,{"balance":"1.13.13777"}],"vote_for":"2:363","vote_against":"2:364","total_votes_for":"47823968709228","total_votes_against":0,"name":"committee controlled open market operation fund","url":"https://bitsharestalk.org/index.php?topic=26107.0"}]}

権限と検証

get_transaction_hex

get_transaction_hex(const signed_transaction &trx)
トランザクションの16進数表現を取得します。
パラメータ trx: トランザクション。以下の形式をとります。

{
	"ref_block_num": 0,
	"ref_block_prefix": 0,
	"expiration": "1970-01-01T00:00:00",
	"operations": [],
	"extensions": [],
	"signatures": [""]
}

返り値 トランザクションの16進数表現
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_transaction_hex", "params": [{"ref_block_num": 0,"ref_block_prefix": 0,"expiration": "1970-01-01T00:00:00","operations": [],"extensions": [],"signatures": [""]}], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":"000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}

get_required_signatures

get_required_signatures(const signed_transaction &trx, const flat_set<public_key_type> &available_keys)
マルチシグアカウントのトランザクションにおいて、部分的に署名されたトランザクションと署名した公開鍵の組み合わせから、必要な残りの公開鍵の組み合わせを取得します。出力結果は必ずしも最小の組み合わせとは限りません。既に必要な署名が与えられている場合は空を返します (使用例)。
パラメータ trx: トランザクション / available_keys: 署名済みの公開鍵 (1つまたは複数)
返り値 トランザクションを実行するのに必要な残りの公開鍵のリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_required_signatures", "params": [{"ref_block_num":15687,"ref_block_prefix":89764907,"expiration":"2018-07-14T15:13:06","operations":[[1,{"fee":{"amount":578,"asset_id":"1.3.0"},"seller":"1.2.1024413","amount_to_sell":{"amount":10000,"asset_id":"1.3.1570"},"min_to_receive":{"amount":10000000,"asset_id":"1.3.1564"},"expiration":"2019-07-14T15:12:36","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["1f07b11eb9bb42ff280e9dff61a429831e33a5e4c2f06a4379d2a5607c0f6f47386803f78d965f673ce1ca14f61fbe068e68c6d04348cce473c866d1f69d4093a5"]}, ["BTS5xSSiDRWKX96ZXjqT7UaknRJzNhkr1SeW79adUyUxr4DyKm4Zs"]], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[]}

get_potential_signatures

get_potential_signatures(const signed_transaction &trx)
署名済みのトランザクションから、そのトランザクションに署名した可能性のある公開鍵のリストを取得します。
パラメータ trx: トランザクション
返り値 トランザクションに署名した可能性のある公開鍵のリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_potential_signatures", "params": [{"ref_block_num":15687,"ref_block_prefix":89764907,"expiration":"2018-07-14T15:13:06","operations":[[1,{"fee":{"amount":578,"asset_id":"1.3.0"},"seller":"1.2.1024413","amount_to_sell":{"amount":10000,"asset_id":"1.3.1570"},"min_to_receive":{"amount":10000000,"asset_id":"1.3.1564"},"expiration":"2019-07-14T15:12:36","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["1f07b11eb9bb42ff280e9dff61a429831e33a5e4c2f06a4379d2a5607c0f6f47386803f78d965f673ce1ca14f61fbe068e68c6d04348cce473c866d1f69d4093a5"]}], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":["BTS5xSSiDRWKX96ZXjqT7UaknRJzNhkr1SeW79adUyUxr4DyKm4Zs"]}

verify_authority

verify_authority(const signed_transaction &trx)
トランザクションの実行に必要な署名が与えられているかどうかを判定します。
パラメータ trx: トランザクション
返り値 必要な署名が与えられていればtrue、なければエラーを返します
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "verify_authority", "params": [{"ref_block_num":15687,"ref_block_prefix":89764907,"expiration":"2018-07-14T15:13:06","operations":[[1,{"fee":{"amount":578,"asset_id":"1.3.0"},"seller":"1.2.1024413","amount_to_sell":{"amount":10000,"asset_id":"1.3.1570"},"min_to_receive":{"amount":10000000,"asset_id":"1.3.1564"},"expiration":"2019-07-14T15:12:36","fill_or_kill":false,"extensions":[]}]],"extensions":[],"signatures":["1f07b11eb9bb42ff280e9dff61a429831e33a5e4c2f06a4379d2a5607c0f6f47386803f78d965f673ce1ca14f61fbe068e68c6d04348cce473c866d1f69d4093a5"]}], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":true}

get_required_fees

get_required_fees(const vector<operation> &ops, asset_id_type id)
オペレーションに対して必要な手数料を、指定したアセットで計算します。
パラメータ ops: オペレーション / id: アセットID
返り値 手数料
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_required_fees", "params": [[[1,{"seller":"1.2.1024413","amount_to_sell":{"amount":10000,"asset_id":"1.3.1570"},"min_to_receive":{"amount":10000000,"asset_id":"1.3.1564"},"expiration":"2019-07-14T15:12:36","fill_or_kill":false,"extensions":[]}]], "1.3.0"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"amount":578,"asset_id":"1.3.0"}]}

提案

get_proposed_transactions

get_proposed_transactions(account_id_type id)
アカウントに提案されたトランザクションを取得します。
パラメータ id: アカウントID
返り値 アカウントに提案されたトランザクションのリスト
使用例:

$ curl --data '{"jsonrpc": "2.0", "method": "get_proposed_transactions", "params": ["1.2.0"], "id": 1}' http://127.0.0.1:8090/rpc
{"id":1,"jsonrpc":"2.0","result":[{"id":"1.10.11991","expiration_time":"2018-07-17T20:55:00","review_period_time":"2018-07-17T19:55:00","proposed_transaction":{"ref_block_num":0,"ref_block_prefix":0,"expiration":"2018-07-17T20:55:00","operations":[[11,{"fee":{"amount":1158089,"asset_id":"1.3.0"},"issuer":"1.2.0","asset_to_update":"1.3.1362","new_issuer":"1.2.167072","new_options":{"max_supply":"1000000000000","market_fee_percent":0,"max_market_fee":0,"issuer_permissions":511,"flags":2,"core_exchange_rate":{"base":{"amount":259058,"asset_id":"1.3.1362"},"quote":{"amount":80000000,"asset_id":"1.3.0"}},"whitelist_authorities":[],"blacklist_authorities":[],"whitelist_markets":["1.3.0","1.3.121","1.3.1362"],"blacklist_markets":[],"description":"","extensions":[]},"extensions":[]}]],"extensions":[]},"required_active_approvals":["1.2.0"],"available_active_approvals":["1.2.121","1.2.282","1.2.21106","1.2.25010","1.2.97845","1.2.158781","1.2.711128"],"required_owner_approvals":[],"available_owner_approvals":[],"available_key_approvals":[],"proposer":"1.2.25010"}]}