Hive Developers logo

Hive Developer Portal

Methods:

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

wallet_bridge_api.broadcast_transaction

Query Parameters JSON
null
Expected Response JSON
{}

wallet_bridge_api.broadcast_transaction_synchronous

Query Parameters JSON
null
Expected Response JSON
{
  "id": "0000000000000000000000000000000000000000",
  "block_num": 0,
  "trx_num": 0,
  "expired": false
}

wallet_bridge_api.find_proposals

Query Parameters JSON
null
Expected Response JSON
{"proposals": []}

wallet_bridge_api.find_rc_accounts

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.find_recurrent_transfers

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_account

Query Parameters JSON
null
Expected Response JSON
null

wallet_bridge_api.get_account_history

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_accounts

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_active_witnesses

Query Parameters JSON
null
Expected Response JSON
{"witnesses": []}

wallet_bridge_api.get_block

Query Parameters JSON
null
Expected Response JSON
{}

wallet_bridge_api.get_chain_properties

Query Parameters 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
}

wallet_bridge_api.get_collateralized_conversion_requests

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_conversion_requests

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_current_median_history_price

Query Parameters JSON
null
Expected Response JSON
{
  "base": {
    "amount": "0",
    "precision": 3,
    "nai": "@@000000021"
  },
  "quote": {
    "amount": "0",
    "precision": 3,
    "nai": "@@000000021"
  }
}

wallet_bridge_api.get_dynamic_global_properties

Query Parameters 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
}

wallet_bridge_api.get_feed_history

Query Parameters 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": []
}

wallet_bridge_api.get_hardfork_version

Query Parameters JSON
null
Expected Response JSON
"0.0.0"

wallet_bridge_api.get_open_orders

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_ops_in_block

Query Parameters JSON
null
Expected Response JSON
{"ops": []}

wallet_bridge_api.get_order_book

Query Parameters JSON
null
Expected Response JSON
{"bids": [], "asks": []}

wallet_bridge_api.get_owner_history

Query Parameters JSON
null
Expected Response JSON
{"owner_auths": []}

wallet_bridge_api.get_reward_fund

Query Parameters 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"
}

wallet_bridge_api.get_transaction

Query Parameters 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
}

wallet_bridge_api.get_version

Query Parameters JSON
null
Expected Response JSON
{}

wallet_bridge_api.get_withdraw_routes

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.get_witness

Query Parameters JSON
null
Expected Response JSON
null

wallet_bridge_api.get_witness_schedule

Query Parameters 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
}

wallet_bridge_api.is_known_transaction

Query Parameters JSON
null
Expected Response JSON
false

wallet_bridge_api.list_accounts

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.list_my_accounts

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.list_proposal_votes

Query Parameters JSON
null
Expected Response JSON
{"proposal_votes": []}

wallet_bridge_api.list_proposals

Query Parameters JSON
null
Expected Response JSON
{"proposals": []}

wallet_bridge_api.list_rc_accounts

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.list_rc_direct_delegations

Query Parameters JSON
null
Expected Response JSON
[]

wallet_bridge_api.list_witnesses

Query Parameters JSON
null
Expected Response JSON
{"witnesses": []}