Type aliases
AssetSymbol
AssetSymbol: "HIVE" | "VESTS" | "HBD" | "TESTS" | "TBD" | "STEEM" | "SBD"
Bignum
Bignum: string
DiscussionQueryCategory
DiscussionQueryCategory: "active" | "blog" | "cashout" | "children" | "comments" | "feed" | "hot" | "promoted" | "trending" | "votes" | "created"
KeyRole
KeyRole: "owner" | "active" | "posting" | "memo"
OperationName
OperationName: "account_create" | "account_create_with_delegation" | "account_update" | "account_update2" | "account_witness_proxy" | "account_witness_vote" | "cancel_transfer_from_savings" | "change_recovery_account" | "claim_account" | "claim_reward_balance" | "create_proposal" | "comment" | "comment_options" | "convert" | "create_claimed_account" | "custom" | "custom_binary" | "custom_json" | "decline_voting_rights" | "delegate_vesting_shares" | "delete_comment" | "escrow_approve" | "escrow_dispute" | "escrow_release" | "escrow_transfer" | "feed_publish" | "limit_order_cancel" | "limit_order_create" | "limit_order_create2" | "pow" | "pow2" | "recover_account" | "remove_proposal" | "report_over_production" | "request_account_recovery" | "reset_account" | "set_reset_account" | "set_withdraw_vesting_route" | "transfer" | "transfer_from_savings" | "transfer_to_savings" | "transfer_to_vesting" | "update_proposal_votes" | "vote" | "withdraw_vesting" | "witness_set_properties" | "witness_update"
PriceType
Serializer
Serializer: (buffer: ByteBuffer, data: any) => void
Type declaration
-
- (buffer: ByteBuffer, data: any): void
-
Parameters
-
buffer: ByteBuffer
-
data: any
Returns void
VirtualOperationName
VirtualOperationName: "author_reward" | "comment_benefactor_reward" | "comment_payout_update" | "comment_reward" | "curation_reward" | "fill_convert_request" | "fill_order" | "fill_transfer_from_savings" | "fill_vesting_withdraw" | "hardfork" | "interest" | "liquidity_reward" | "return_vesting_delegation" | "shutdown_witness"
Variables
Const AuthoritySerializer
AuthoritySerializer: (Anonymous function) = ObjectSerializer([['weight_threshold', UInt32Serializer],['account_auths', FlatMapSerializer(StringSerializer, UInt16Serializer)],['key_auths', FlatMapSerializer(PublicKeySerializer, UInt16Serializer)]])
Const BeneficiarySerializer
BeneficiarySerializer: (Anonymous function) = ObjectSerializer([['account', StringSerializer],['weight', UInt16Serializer]])
Const ChainPropertiesSerializer
ChainPropertiesSerializer: (Anonymous function) = ObjectSerializer([['account_creation_fee', AssetSerializer],['maximum_block_size', UInt32Serializer],[(rebrandedApiGlobal ? 'hbd' : 'sbd') + '_interest_rate', UInt16Serializer]])
Const DEFAULT_ADDRESS_PREFIX
DEFAULT_ADDRESS_PREFIX: "STM" = "STM"
Const DEFAULT_CHAIN_ID
DEFAULT_CHAIN_ID: Buffer = Buffer.from('beeab0de00000000000000000000000000000000000000000000000000000000','hex')
Const HF23_CHAIN_ID
HF23_CHAIN_ID: "0000000000000000000000000000000000000000000000000000000000000000" = "0000000000000000000000000000000000000000000000000000000000000000"
Const HF24_CHAIN_ID
HF24_CHAIN_ID: "beeab0de00000000000000000000000000000000000000000000000000000000" = "beeab0de00000000000000000000000000000000000000000000000000000000"
Const NETWORK_ID
NETWORK_ID: Buffer = Buffer.from([0x80])
Const OperationSerializers
OperationSerializers: {}
Const PriceSerializer
PriceSerializer: (Anonymous function) = ObjectSerializer([['base', AssetSerializer],['quote', AssetSerializer]])
Const SignedBlockHeaderSerializer
SignedBlockHeaderSerializer: (Anonymous function) = ObjectSerializer([['previous', BinarySerializer(20)],['timestamp', DateSerializer],['witness', StringSerializer],['transaction_merkle_root', BinarySerializer(20)],['extensions', ArraySerializer(VoidSerializer)],['witness_signature', BinarySerializer(65)]])
Const TransactionSerializer
TransactionSerializer: (Anonymous function) = ObjectSerializer([['ref_block_num', UInt16Serializer],['ref_block_prefix', UInt32Serializer],['expiration', DateSerializer],['operations', ArraySerializer(OperationSerializer)],['extensions', ArraySerializer(StringSerializer)]])
Const VERSION
VERSION: string = packageVersion
Const VariableBinarySerializer
VariableBinarySerializer: (Anonymous function) = BinarySerializer()
Let rebrandedApiGlobal
rebrandedApiGlobal: any
Const timeoutErrors
timeoutErrors: string[] = ['request-timeout', 'ENOTFOUND', 'ECONNREFUSED', 'Unable to acquire database lock']
Asset symbol string.