Structs§
- Asset
Info - Encoding of an asset type identifier
- Coinbase
Payload - A coinbase commits to 32 bytes of control-plane information
- Miner
Reward - A record of a coin reward for a miner. There will be at most two of these for a miner: one for the coinbase + block-txs + confirmed-mblock-txs, and one for the produced-mblock-txs. The latter reward only stores the produced-mblock-txs, and is only ever stored if the microblocks are ever confirmed.
- Miner
Reward Info - Multisig
Spending Condition - A structure that encodes enough state to authenticate a transaction’s execution against a Stacks address. public_keys + signatures_required determines the Principal. nonce is the “check number” for the Principal.
- Singlesig
Spending Condition - Stacks
Block - A block that contains blockchain-anchored data (corresponding to a LeaderBlockCommitOp)
- Stacks
Block Header - The header for an on-chain-anchored Stacks block
- Stacks
Header Info - Stacks
Microblock - A microblock that contains non-blockchain-anchored data, but is tied to an on-chain block
- Stacks
Microblock Header - Header structure for a microblock
- Stacks
Public KeyBuffer - A container for public keys (compressed secp256k1 public keys)
- Stacks
String - printable-ASCII-only string, but encodable. Note that it cannot be longer than ARRAY_MAX_LEN (4.1 billion bytes)
- Stacks
Transaction - Stacks
Transaction Signer - Tenure
Change Payload - A transaction from Stackers to signal new mining tenure
- Threshold
Signature - Schnorr threshold signature using types from
wsts - Token
Transfer Memo - Transaction
Contract Call - A transaction that calls into a smart contract
- Transaction
Smart Contract - A transaction that instantiates a smart contract
- Txid
Enums§
- Asset
InfoID - numeric wire-format ID of an asset info type variant
- Fungible
Condition Code - Multisig
Hash Mode - Nonfungible
Condition Code - Post
Condition Principal - Post-condition principal.
- Post
Condition PrincipalID - Singlesig
Hash Mode - Tenure
Change Cause - Cause of change in mining tenure Depending on cause, tenure can be ended or extended
- Transaction
Anchor Mode - How a transaction may be appended to the Stacks blockchain
- Transaction
Auth - Types of transaction authorizations
- Transaction
Auth Field - Transaction
Auth FieldID - Transaction signatures are validated by calculating the public key from the signature, and verifying that all public keys hash to the signing account’s hash. To do so, we must preserve enough information in the auth structure to recover each public key’s bytes.
- Transaction
Auth Flags - Transaction
Payload - Transaction
PayloadID - Transaction
Post Condition - Post-condition on a transaction
- Transaction
Post Condition Mode - Post-condition modes for unspecified assets
- Transaction
Public KeyEncoding - Transaction
Spending Condition - Transaction
Version - Stacks transaction versions
Constants§
- MAX_
BLOCK_ LEN - MAX_
EPOCH_ SIZE - MAX_
MICROBLOCK_ SIZE - MAX_
TRANSACTION_ LEN - MINER_
BLOCK_ CONSENSUS_ HASH - MINER_
BLOCK_ HEADER_ HASH
Traits§
- Stacks
Message Codec - Helper trait for various primitive types that make up Stacks messages