Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stacks/stacks-blockchain-api-types

Package Overview
Dependencies
Maintainers
4
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacks/stacks-blockchain-api-types - npm Package Compare versions

Comparing version 7.4.0-nakamoto.3 to 7.4.0-nakamoto.4

api/blocks/get-nakamoto-blocks.example.json

16

entities/transactions/transaction-7-tenure-change-metadata.schema.json

@@ -15,4 +15,16 @@ {

"additionalProperties": false,
"required": ["previous_tenure_end", "previous_tenure_blocks", "cause", "pubkey_hash", "signature", "signers"],
"required": ["tenure_consensus_hash", "prev_tenure_consensus_hash", "burn_view_consensus_hash", "previous_tenure_end", "previous_tenure_blocks", "cause", "pubkey_hash", "signature", "signers"],
"properties": {
"tenure_consensus_hash": {
"type": "string",
"description": "Consensus hash of this tenure. Corresponds to the sortition in which the miner of this block was chosen."
},
"prev_tenure_consensus_hash": {
"type": "string",
"description": "Consensus hash of the previous tenure. Corresponds to the sortition of the previous winning block-commit."
},
"burn_view_consensus_hash": {
"type": "string",
"description": "Current consensus hash on the underlying burnchain. Corresponds to the last-seen sortition."
},
"previous_tenure_end": {

@@ -28,3 +40,3 @@ "type": "string",

"type": "string",
"enum": ["block_found", "no_block_found", "null_miner"],
"enum": ["block_found", "extended"],
"description": "Cause of change in mining tenure. Depending on cause, tenure can be ended or extended."

@@ -31,0 +43,0 @@ },

2

package.json
{
"name": "@stacks/stacks-blockchain-api-types",
"version": "7.4.0-nakamoto.3",
"version": "7.4.0-nakamoto.4",
"access": "public",

@@ -5,0 +5,0 @@ "description": "TypeScript descriptions of Stacks 2.0 blockchain API entities",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc