Authority
Represents permission authority on the Hive blockchain. Each account has three authority types: owner, active, and posting.number
Minimum combined weight required to authorize an action. Typically set to 1 for single-signature accounts.
Array<[string, number]>
Array of account authorizations. Each entry is a tuple of
[accountName, weight]. Allows other accounts to authorize actions.Array<[string | PublicKey, number]>
Array of key authorizations. Each entry is a tuple of
[publicKey, weight]. These keys can sign transactions for this authority.Authority Structure Example
Multi-Signature Examples
Using in Account Creation
Beneficiary
Defines a reward beneficiary for post payouts.string
Beneficiary account name that will receive a portion of post rewards
number
Percentage of rewards in basis points (0-10000, where 10000 = 100%)
Beneficiary Examples
Beneficiary Rules
- Total beneficiary weight cannot exceed 8000 (80%)
- Author must receive at least 20% of rewards
- Beneficiaries must be sorted alphabetically by account name
- Maximum of 8 beneficiaries per post
Price
Represents an exchange rate between two assets.Asset | string
Base asset in the exchange rate (e.g., “1.000 HBD”)
Asset | string
Quote asset in the exchange rate (e.g., “3.000 HIVE”)
Price Examples
Using in Feed Publish
Using in Limit Orders
ChainProperties
Defines blockchain consensus parameters proposed by witnesses.Asset | string
Fee required to create a new account (e.g., “3.000 HIVE”)
number
Maximum block size in bytes
number
Annual interest rate for HBD in savings (in basis points, e.g., 1000 = 10%)
ChainProperties Example
WitnessProps
Extended witness properties forwitness_set_properties operation.
Asset | string
Proposed account creation fee
number
Account subsidy budget
number
Account subsidy decay rate
string | PublicKey
Block signing public key
number
Proposed maximum block size
string | PublicKey | null
New block signing key (null to disable witness)
Price
HBD exchange rate price feed
number
Proposed HBD interest rate
string
Witness announcement URL
WitnessProps Example
AssetSymbol
Valid asset symbols on the Hive blockchain.Asset Symbol Usage
HIVE: Main blockchain tokenHBD: Hive-Backed Dollar (stablecoin)VESTS: Vesting shares (powered-up HIVE)STEEM,SBD: Legacy symbols (pre-fork compatibility)TESTS,TBD: Testnet tokens