package
0.4.0
Repository: https://github.com/smallnest/rpc.git
Documentation: pkg.go.dev

# README

Database API

This package adds support for database_api.

State

The following subsections document the API completion. The method names are taken from database_api.hpp in steemit/steem.

Subscriptions

TODO: Is this actually callable over the RPC endpoint? It is a bit confusing to see set_ prefix. Needs research.

   (set_subscribe_callback)
   (set_pending_transaction_callback)
   (set_block_applied_callback)
   (cancel_all_subscriptions)

Tags

Method NameRaw VersionFull Version
get_trending_tagsDONE
get_discussions_by_trendingDONE
get_discussions_by_createdDONE
get_discussions_by_activeDONE
get_discussions_by_cashoutDONE
get_discussions_by_payoutDONE
get_discussions_by_votesDONE
get_discussions_by_childrenDONE
get_discussions_by_hotDONE
get_recommended_forDONE

Blocks and Transactions

Method NameRaw VersionFull Version
get_block_headerDONE
get_blockDONEPARTIALLY DONE
get_stateDONE
get_trending_categoriesDONE
get_best_categoriesDONE
get_active_categoriesDONE
get_recent_categoriesDONE

Globals

Method NameRaw VersionFull Version
get_configDONEPARTIALLY DONE
get_dynamic_global_propertiesDONEDONE
get_chain_propertiesDONE
get_feed_historyDONE
get_current_median_history_priceDONE
get_witness_scheduleDONE
get_hardfork_versionDONEDONE
get_next_scheduled_hardforkDONE

Keys

Method NameRaw VersionFull Version
get_key_reference

Accounts

Method NameRaw VersionFull Version
get_accountsDONE
get_account_references
lookup_account_namesDONE
lookup_accountsDONE
get_account_countDONE
get_conversation_requestsDONE
get_account_historyDONE

Market

Method NameRaw VersionFull Version
get_order_book
get_open_orders

Authority / Validation

Method NameRaw VersionFull Version
get_transaction_hex
get_transaction
get_required_signatures
get_potential_signatures
verify_authority
verity_account_authority

Votes

Method NameRaw VersionFull Version
get_active_votesDONEDONE
get_account_votesDONE

Cotent

Method NameRaw VersionFull Version
get_contentDONEPARTIALLY DONE
get_content_repliesDONEPARTIALLY DONE
get_discussions_by_author_before_date
get_replies_by_last_updateDONE

Witnesses

Method NameRaw VersionFull Version
get_witnesses
get_witness_by_account
get_witnesses_by_vote
lookup_witness_accounts
get_witness_count
get_active_witnesses
get_miner_queue

License

MIT, see the LICENSE file.