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
8
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 0.68.0 to 0.69.0

42

entities/blocks/block.schema.json

@@ -6,3 +6,23 @@ {

"type": "object",
"required": ["canonical", "height", "hash", "parent_block_hash", "txs", "burn_block_time", "burn_block_time_iso", "burn_block_hash", "burn_block_height", "miner_txid", "parent_microblock_hash", "parent_microblock_sequence", "microblocks_accepted", "microblocks_streamed"],
"required": [
"canonical",
"height",
"hash",
"parent_block_hash",
"txs",
"burn_block_time",
"burn_block_time_iso",
"burn_block_hash",
"burn_block_height",
"miner_txid",
"parent_microblock_hash",
"parent_microblock_sequence",
"microblocks_accepted",
"microblocks_streamed",
"execution_cost_read_count",
"execution_cost_read_length",
"execution_cost_runtime",
"execution_cost_write_count",
"execution_cost_write_length"
],
"properties": {

@@ -76,4 +96,24 @@ "canonical": {

}
},
"execution_cost_read_count": {
"type": "integer",
"description": "Execution cost read count."
},
"execution_cost_read_length": {
"type": "integer",
"description": "Execution cost read length."
},
"execution_cost_runtime": {
"type": "integer",
"description": "Execution cost runtime."
},
"execution_cost_write_count": {
"type": "integer",
"description": "Execution cost write count."
},
"execution_cost_write_length": {
"type": "integer",
"description": "Execution cost write length."
}
}
}

2

package.json
{
"name": "@stacks/stacks-blockchain-api-types",
"version": "0.68.0",
"version": "0.69.0",
"access": "public",

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

@@ -1,6 +0,6 @@

import type { AddressStxBalanceResponse, AddressTransactionWithTransfers, Block, MempoolTransaction } from '..';
import type { AddressStxBalanceResponse, AddressTransactionWithTransfers, Block, Microblock, MempoolTransaction } from '..';
export type AddressTransactionTopic = `address-transaction:${string}`;
export type AddressStxBalanceTopic = `address-stx-balance:${string}`;
export type Topic = 'block' | 'mempool' | AddressTransactionTopic | AddressStxBalanceTopic;
export type Topic = 'block' | 'microblock' | 'mempool' | AddressTransactionTopic | AddressStxBalanceTopic;

@@ -14,2 +14,3 @@ export interface ClientToServerMessages {

block: (block: Block) => void;
microblock: (microblock: Microblock) => void;
mempool: (transaction: MempoolTransaction) => void;

@@ -16,0 +17,0 @@

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