/
/Stacks 3.0+ RPC API
ChangesDocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 2h ago · Updated 2w ago
Accounts1
Atlas2
Blocks20
  • getGet Nakamoto block by ID
  • getFetch a Nakamoto block by its height and optional tip
  • getFetch metadata about the ongoing Nakamoto tenure
  • getFetch a sequence of Nakamoto blocks in a tenure
  • getGet the list of Stacks blocks in a tenure
  • getGet latest sortition information
  • getGet latest and last winning sortitions
  • getGet sortition by consensus hash
  • getGet sortition by burn header hash
  • getGet sortition by burn block height
  • getGet number of blocks signed by signer during a given reward cycle
  • getGet stream of confirmed microblocks (Epoch 2.x)
  • getGet a stream of microblocks beginning with the given microblock (Epoch 2.x).
  • getGet stream of unconfirmed microblocks (Epoch 2.x)
  • postSubmit a microblock (Epoch 2.x)
  • getGet recent 2.x block headers
  • getGet Stacks 2.x block by ID
  • getGet tenure fork information
  • getGet tenure tip
  • postUpload a Nakamoto block
Fees2
Info4
Mining2
Signers1
Smart Contracts10
StackerDB5
Transactions4
    Blocks
    Microblocks

    Submit a microblock (Epoch 2.x)

    Submit a microblock to the node for validation and relay. The body must be the SIP-003 binary serialization of a Microblock and sent with Content-Type: application/octet-stream.

    post/v2/microblocks

    Response

    Index-block hash of the accepted microblock

    string required

    32-byte block-header hash (hex)

    Changes