Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
devportal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
devportal
Commits
6da5f75e
Commit
6da5f75e
authored
2 years ago
by
inertia
Browse files
Options
Downloads
Patches
Plain Diff
initial wallet bridge api details
parent
af4f99e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!126
HF26 Changes
,
!125
HF26 Changes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_data/apidefinitions/wallet_bridge_api.yml
+42
-1
42 additions, 1 deletion
_data/apidefinitions/wallet_bridge_api.yml
with
42 additions
and
1 deletion
_data/apidefinitions/wallet_bridge_api.yml
+
42
−
1
View file @
6da5f75e
...
@@ -2,145 +2,186 @@
...
@@ -2,145 +2,186 @@
# See: https://git.io/vx5CY
# See: https://git.io/vx5CY
---
---
-
name
:
:wallet_bridge_api
-
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
:
methods
:
-
api_method
:
wallet_bridge_api.broadcast_transaction
-
api_method
:
wallet_bridge_api.broadcast_transaction
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
{}"
expected_response_json
:
"
{}"
-
api_method
:
wallet_bridge_api.broadcast_transaction_synchronous
-
api_method
:
wallet_bridge_api.broadcast_transaction_synchronous
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"id":"0000000000000000000000000000000000000000","block_num":0,"trx_num":0,"expired":false}'
expected_response_json
:
'
{"id":"0000000000000000000000000000000000000000","block_num":0,"trx_num":0,"expired":false}'
-
api_method
:
wallet_bridge_api.find_proposals
-
api_method
:
wallet_bridge_api.find_proposals
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"proposals":[]}'
expected_response_json
:
'
{"proposals":[]}'
-
api_method
:
wallet_bridge_api.find_rc_accounts
-
api_method
:
wallet_bridge_api.find_rc_accounts
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.find_recurrent_transfers
-
api_method
:
wallet_bridge_api.find_recurrent_transfers
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_account
-
api_method
:
wallet_bridge_api.get_account
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
null'
expected_response_json
:
'
null'
-
api_method
:
wallet_bridge_api.get_account_history
-
api_method
:
wallet_bridge_api.get_account_history
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_accounts
-
api_method
:
wallet_bridge_api.get_accounts
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_active_witnesses
-
api_method
:
wallet_bridge_api.get_active_witnesses
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"witnesses":[]}'
expected_response_json
:
'
{"witnesses":[]}'
-
api_method
:
wallet_bridge_api.get_block
-
api_method
:
wallet_bridge_api.get_block
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
{}"
expected_response_json
:
"
{}"
-
api_method
:
wallet_bridge_api.get_chain_properties
-
api_method
:
wallet_bridge_api.get_chain_properties
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
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}'
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
-
api_method
:
wallet_bridge_api.get_collateralized_conversion_requests
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_conversion_requests
-
api_method
:
wallet_bridge_api.get_conversion_requests
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_current_median_history_price
-
api_method
:
wallet_bridge_api.get_current_median_history_price
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"base":{"amount":"0","precision":3,"nai":"@@000000021"},"quote":{"amount":"0","precision":3,"nai":"@@000000021"}}'
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
-
api_method
:
wallet_bridge_api.get_dynamic_global_properties
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
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}'
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
-
api_method
:
wallet_bridge_api.get_feed_history
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
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":[]}'
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
-
api_method
:
wallet_bridge_api.get_hardfork_version
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
"0.0.0"'
expected_response_json
:
'
"0.0.0"'
-
api_method
:
wallet_bridge_api.get_open_orders
-
api_method
:
wallet_bridge_api.get_open_orders
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_ops_in_block
-
api_method
:
wallet_bridge_api.get_ops_in_block
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"ops":[]}'
expected_response_json
:
'
{"ops":[]}'
-
api_method
:
wallet_bridge_api.get_order_book
-
api_method
:
wallet_bridge_api.get_order_book
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"bids":[],"asks":[]}'
expected_response_json
:
'
{"bids":[],"asks":[]}'
-
api_method
:
wallet_bridge_api.get_owner_history
-
api_method
:
wallet_bridge_api.get_owner_history
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"owner_auths":[]}'
expected_response_json
:
'
{"owner_auths":[]}'
-
api_method
:
wallet_bridge_api.get_reward_fund
-
api_method
:
wallet_bridge_api.get_reward_fund
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
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"}'
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
-
api_method
:
wallet_bridge_api.get_transaction
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
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}'
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
-
api_method
:
wallet_bridge_api.get_version
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
{}"
expected_response_json
:
"
{}"
-
api_method
:
wallet_bridge_api.get_withdraw_routes
-
api_method
:
wallet_bridge_api.get_withdraw_routes
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.get_witness
-
api_method
:
wallet_bridge_api.get_witness
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
null'
expected_response_json
:
'
null'
-
api_method
:
wallet_bridge_api.get_witness_schedule
-
api_method
:
wallet_bridge_api.get_witness_schedule
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
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}'
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
-
api_method
:
wallet_bridge_api.is_known_transaction
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
false'
expected_response_json
:
'
false'
-
api_method
:
wallet_bridge_api.list_accounts
-
api_method
:
wallet_bridge_api.list_accounts
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.list_my_accounts
-
api_method
:
wallet_bridge_api.list_my_accounts
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.list_proposal_votes
-
api_method
:
wallet_bridge_api.list_proposal_votes
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"proposal_votes":[]}'
expected_response_json
:
'
{"proposal_votes":[]}'
-
api_method
:
wallet_bridge_api.list_proposals
-
api_method
:
wallet_bridge_api.list_proposals
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"proposals":[]}'
expected_response_json
:
'
{"proposals":[]}'
-
api_method
:
wallet_bridge_api.list_rc_accounts
-
api_method
:
wallet_bridge_api.list_rc_accounts
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.list_rc_direct_delegations
-
api_method
:
wallet_bridge_api.list_rc_direct_delegations
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
"
[]"
expected_response_json
:
"
[]"
-
api_method
:
wallet_bridge_api.list_witnesses
-
api_method
:
wallet_bridge_api.list_witnesses
since
:
HF26
purpose
:
purpose
:
parameter_json
:
'
null'
parameter_json
:
'
null'
expected_response_json
:
'
{"witnesses":[]}'
expected_response_json
:
'
{"witnesses":[]}'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment