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

@defichain/jellyfish-api-core

Package Overview
Dependencies
Maintainers
2
Versions
294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defichain/jellyfish-api-core - npm Package Compare versions

Comparing version 0.0.24 to 0.1.0

13

dist/category/blockchain.d.ts

@@ -71,2 +71,9 @@ import BigNumber from 'bignumber.js';

/**
* Return information about all known tips in the block tree
* including the main chain as well as orphaned branches.
*
* @return {Promise<ChainTip[]>}
*/
getChainTips(): Promise<ChainTip[]>;
/**
* Get details of unspent transaction output (UTXO).

@@ -202,2 +209,8 @@ *

}
export interface ChainTip {
height: number;
hash: string;
branchlen: number;
status: string;
}
export interface MempoolTx {

@@ -204,0 +217,0 @@ [key: string]: {

@@ -68,2 +68,13 @@ "use strict";

/**
* Return information about all known tips in the block tree
* including the main chain as well as orphaned branches.
*
* @return {Promise<ChainTip[]>}
*/
getChainTips() {
return __awaiter(this, void 0, void 0, function* () {
return yield this.client.call('getchaintips', [], 'number');
});
}
/**
* Get details of unspent transaction output (UTXO).

@@ -70,0 +81,0 @@ *

6

package.json
{
"private": false,
"name": "@defichain/jellyfish-api-core",
"version": "0.0.24",
"version": "0.1.0",
"description": "A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance on Bitcoin",

@@ -38,7 +38,7 @@ "keywords": [

"dependencies": {
"@defichain/jellyfish-json": "^0.0.24"
"@defichain/jellyfish-json": "^0.1.0"
},
"devDependencies": {
"@defichain/testcontainers": "^0.0.24"
"@defichain/testcontainers": "^0.1.0"
}
}
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