Enumeration AnchorMode

How a transaction should get appended to the Stacks blockchain.

In the Stacks blockchain, there are two kinds of blocks: anchored blocks and streaming microblocks. A transactions AnchorMode specifies which kind of block it should be included in.

For more information about the kinds of Stacks blocks and the various AnchorModes, check out SIP 001 and SIP 005

Enumeration Members

Enumeration Members

Any: 3

The leader can choose where to include the transaction (anchored block or microblock)

OffChainOnly: 2

The transaction MUST be included in a microblock

OnChainOnly: 1

The transaction MUST be included in an anchored block

Generated using TypeDoc