Returns one or more account history objects for account operations
The account to fetch
The starting index
The maximum number of results to return
Optionaloperation_bitmask: (null | number)[]Generated by utils.makeBitMaskFilter() - see example below (not yet usable)
import { utils } from "@beblurt/dblurt"
const op = dblurt.utils.operationOrders
const operationsBitmask = dblurt.utils.makeBitMaskFilter([
op.vote,
op.comment,
op.delete_comment,
op.comment_options,
op.claim_reward_balance,
op.author_reward,
op.curation_reward,
op.comment_reward,
op.producer_reward,
])
const accountHistory = await client.condenser.getAccountHistory('beblurt', -1, 10, operationsBitmask)
Return Layer 1 account state for one or more account names.
Backing JSON-RPC method: condenser_api.get_accounts.
Use this when exact account balances, authorities or chain state matter.
For Nexus profile metadata, use client.nexus.getProfile instead.
Account names to fetch.
Account objects in the same order as requested names when found.
Return active Layer 1 votes for a post or comment.
Backing JSON-RPC method: condenser_api.get_active_votes.
Post/comment author.
Post/comment permlink.
Active vote entries known by the RPC node.
Return block blockNum.
Return header for blockNum.
Return median chain properties decided by witness.
Return server config. See: https://gitlab.com/blurt/blurt/-/blob/master/libraries/protocol/include/blurt/protocol/config.hpp
Return a Layer 1 content object for a post or comment.
Backing JSON-RPC method: condenser_api.get_content.
This reads the chain content object. If you need social/indexed ranking, discovery or community context, use Nexus helpers first and then read the Layer 1 object with this method when exact chain content matters.
Post/comment author.
Post/comment permlink.
The content object returned by the RPC node.
Return array of discussions (a.k.a. posts).
The type of sorting for the discussions, valid options are:
active blog cashout children comments created
feed hot promoted trending votes. Note that
for blog and feed the tag is set to a username.
Return current Layer 1 dynamic global properties.
Backing JSON-RPC method: condenser_api.get_dynamic_global_properties.
This is the usual source for head block number, last irreversible block, time and other current chain-level values.
return the count of followers/following for an account
Return applied operations in a Layer 1 block.
Backing JSON-RPC method: condenser_api.get_ops_in_block.
Operation order is the order reported by the node for that block. Use an irreversible block number when building examples or replay tools that must avoid reversible chain state.
Block number to inspect.
When true, return only virtual operations.
Applied operations for the requested block.
Returns an array of proposals filtered by the specified parameters.
Depends on order (see below)
The maximum number of proposals to return (max 1000).
can be one of:
The direction in which to order the results. Can be ascending or descending
The status of proposals to return.
A Promise that resolves to an array of Proposal objects.
Returns all proposal votes, starting with the specified voter or proposal.id.
Depends on order (see below)
The maximum number of proposals to return (max 1000).
can be one of:
The direction in which to order the results. Can be ascending or descending
The status of proposals to return.
A Promise that resolves to an array of ProposalVote objects.
Returns information about the current reward funds
Returns the details of a transaction based on a transaction id.
Get list of delegations made by account.
Account delegating
Delegatee start offset, used for paging.
Number of results, max 1000.
Return Layer 1 witness information for an account.
Backing JSON-RPC method: condenser_api.get_witness_by_account.
Not every account is a witness. Use getActiveWitnesses or
getWitnessesByVote when you need to discover witness accounts first.
Witness account name.
Returns the current witness schedule
Validate whether a public/private key satisfies an account's Layer 1 posting authority.
This helper reads the account through condenser_api.get_accounts, follows
delegated account authorities through their posting authorities, and returns
an explanatory result without broadcasting or signing anything.
Verify signed transaction.
Convenience for calling
condenser_api.