diff --git a/_data/apidefinitions/wallet_bridge_api.yml b/_data/apidefinitions/wallet_bridge_api.yml index db26f4bb790587d665634603e991bd780ffdb963..3b26d3451ab1bb670e7204e975629fa9e5964886 100644 --- a/_data/apidefinitions/wallet_bridge_api.yml +++ b/_data/apidefinitions/wallet_bridge_api.yml @@ -2,145 +2,186 @@ # See: https://git.io/vx5CY --- - name: :wallet_bridge_api - description: + since: HF26 + description: | + Required for `cli_wallet` interactions. Remember that you need to add + `plugin = wallet_bridge_api` in your `config.ini` file if you are going to + use `cli_wallet`. + + See: [Hive HardFork 26 Jump Starter Kit](https://hive.blog/hive-160391/@gtg/hive-hardfork-26-jump-starter-kit) methods: - api_method: wallet_bridge_api.broadcast_transaction + since: HF26 purpose: parameter_json: 'null' expected_response_json: "{}" - api_method: wallet_bridge_api.broadcast_transaction_synchronous + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"id":"0000000000000000000000000000000000000000","block_num":0,"trx_num":0,"expired":false}' - api_method: wallet_bridge_api.find_proposals + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"proposals":[]}' - api_method: wallet_bridge_api.find_rc_accounts + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.find_recurrent_transfers + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_account + since: HF26 purpose: parameter_json: 'null' expected_response_json: 'null' - api_method: wallet_bridge_api.get_account_history + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_accounts + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_active_witnesses + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"witnesses":[]}' - api_method: wallet_bridge_api.get_block + since: HF26 purpose: parameter_json: 'null' expected_response_json: "{}" - api_method: wallet_bridge_api.get_chain_properties + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"account_creation_fee":{"amount":"1","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000,"account_subsidy_budget":797,"account_subsidy_decay":347321}' - api_method: wallet_bridge_api.get_collateralized_conversion_requests + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_conversion_requests + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_current_median_history_price + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"base":{"amount":"0","precision":3,"nai":"@@000000021"},"quote":{"amount":"0","precision":3,"nai":"@@000000021"}}' - api_method: wallet_bridge_api.get_dynamic_global_properties + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"id":0,"head_block_number":0,"head_block_id":"0000000000000000000000000000000000000000","time":"1970-01-01T00:00:00","current_witness":"","total_pow":0,"num_pow_witnesses":0,"virtual_supply":{"amount":"0","precision":3,"nai":"@@000000021"},"current_supply":{"amount":"0","precision":3,"nai":"@@000000021"},"init_hbd_supply":{"amount":"0","precision":3,"nai":"@@000000021"},"current_hbd_supply":{"amount":"0","precision":3,"nai":"@@000000021"},"total_vesting_fund_hive":{"amount":"0","precision":3,"nai":"@@000000021"},"total_vesting_shares":{"amount":"0","precision":3,"nai":"@@000000021"},"total_reward_fund_hive":{"amount":"0","precision":3,"nai":"@@000000021"},"total_reward_shares2":"0","pending_rewarded_vesting_shares":{"amount":"0","precision":3,"nai":"@@000000021"},"pending_rewarded_vesting_hive":{"amount":"0","precision":3,"nai":"@@000000021"},"hbd_interest_rate":0,"hbd_print_rate":0,"maximum_block_size":0,"required_actions_partition_percent":0,"current_aslot":0,"recent_slots_filled":"0","participation_count":0,"last_irreversible_block_num":0,"vote_power_reserve_rate":0,"delegation_return_period":0,"reverse_auction_seconds":0,"available_account_subsidies":0,"hbd_stop_percent":0,"hbd_start_percent":0,"next_maintenance_time":"1970-01-01T00:00:00","last_budget_time":"1970-01-01T00:00:00","next_daily_maintenance_time":"1970-01-01T00:00:00","content_reward_percent":0,"vesting_reward_percent":0,"proposal_fund_percent":0,"dhf_interval_ledger":{"amount":"0","precision":3,"nai":"@@000000021"},"downvote_pool_percent":0,"current_remove_threshold":0,"early_voting_seconds":0,"mid_voting_seconds":0,"max_consecutive_recurrent_transfer_failures":10,"max_recurrent_transfer_end_date":730,"min_recurrent_transfers_recurrence":24,"max_open_recurrent_transfers":255}' - api_method: wallet_bridge_api.get_feed_history + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"id":0,"current_median_history":{"base":{"amount":"0","precision":3,"nai":"@@000000021"},"quote":{"amount":"0","precision":3,"nai":"@@000000021"}},"market_median_history":{"base":{"amount":"0","precision":3,"nai":"@@000000021"},"quote":{"amount":"0","precision":3,"nai":"@@000000021"}},"current_min_history":{"base":{"amount":"0","precision":3,"nai":"@@000000021"},"quote":{"amount":"0","precision":3,"nai":"@@000000021"}},"current_max_history":{"base":{"amount":"0","precision":3,"nai":"@@000000021"},"quote":{"amount":"0","precision":3,"nai":"@@000000021"}},"price_history":[]}' - api_method: wallet_bridge_api.get_hardfork_version + since: HF26 purpose: parameter_json: 'null' expected_response_json: '"0.0.0"' - api_method: wallet_bridge_api.get_open_orders + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_ops_in_block + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"ops":[]}' - api_method: wallet_bridge_api.get_order_book + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"bids":[],"asks":[]}' - api_method: wallet_bridge_api.get_owner_history + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"owner_auths":[]}' - api_method: wallet_bridge_api.get_reward_fund + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"id":0,"name":"","reward_balance":{"amount":"0","precision":3,"nai":"@@000000021"},"recent_claims":"0","last_update":"1970-01-01T00:00:00","content_constant":"0","percent_curation_rewards":0,"percent_content_rewards":0,"author_reward_curve":"quadratic","curation_reward_curve":"quadratic"}' - api_method: wallet_bridge_api.get_transaction + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"ref_block_num":0,"ref_block_prefix":0,"expiration":"1970-01-01T00:00:00","operations":[],"extensions":[],"signatures":[],"transaction_id":"0000000000000000000000000000000000000000","block_num":0,"transaction_num":0}' - api_method: wallet_bridge_api.get_version + since: HF26 purpose: parameter_json: 'null' expected_response_json: "{}" - api_method: wallet_bridge_api.get_withdraw_routes + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.get_witness + since: HF26 purpose: parameter_json: 'null' expected_response_json: 'null' - api_method: wallet_bridge_api.get_witness_schedule + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"id":0,"current_virtual_time":"0","next_shuffle_block_num":944743200,"current_shuffled_witnesses":[],"num_scheduled_witnesses":8,"elected_weight":226,"timeshare_weight":142,"miner_weight":10,"witness_pay_normalization_factor":32765,"median_props":{"account_creation_fee":{"amount":"1","precision":3,"nai":"@@000000021"},"maximum_block_size":131072,"hbd_interest_rate":1000,"account_subsidy_budget":797,"account_subsidy_decay":347321},"majority_version":"0.0.0","max_voted_witnesses":32,"max_miner_witnesses":41,"max_runner_witnesses":203,"hardfork_required_witnesses":52,"account_subsidy_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"account_subsidy_witness_rd":{"resource_unit":0,"budget_per_time_unit":0,"pool_eq":0,"max_pool_size":0,"decay_params":{"decay_per_time_unit":0,"decay_per_time_unit_denom_shift":0},"min_decay":0},"min_witness_account_subsidy_decay":0}' - api_method: wallet_bridge_api.is_known_transaction + since: HF26 purpose: parameter_json: 'null' expected_response_json: 'false' - api_method: wallet_bridge_api.list_accounts + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.list_my_accounts + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.list_proposal_votes + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"proposal_votes":[]}' - api_method: wallet_bridge_api.list_proposals + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"proposals":[]}' - api_method: wallet_bridge_api.list_rc_accounts + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.list_rc_direct_delegations + since: HF26 purpose: parameter_json: 'null' expected_response_json: "[]" - api_method: wallet_bridge_api.list_witnesses + since: HF26 purpose: parameter_json: 'null' expected_response_json: '{"witnesses":[]}'