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

@zilliqa-js/blockchain

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zilliqa-js/blockchain - npm Package Compare versions

Comparing version 0.2.1-next.20181113 to 0.2.1-next.20181114

dist/aes-js.d.ts

9

dist/chain.d.ts

@@ -184,3 +184,12 @@ import { Transaction, Wallet } from '@zilliqa-js/account';

getNumTxnsDSEpoch(epoch: number): Promise<any>;
/**
* getBalance
*
* Gets the balance of an account by address
*
* @param {string} address
* @returns {Promise<RPCResponse<any, string>>}
*/
getBalance(address: string): Promise<RPCResponse<any, string>>;
}
//# sourceMappingURL=chain.d.ts.map

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

};
/**
* getBalance
*
* Gets the balance of an account by address
*
* @param {string} address
* @returns {Promise<RPCResponse<any, string>>}
*/
Blockchain.prototype.getBalance = function (address) {
return this.provider.send("GetBalance" /* GetBalance */, address);
};
tslib_1.__decorate([

@@ -271,0 +282,0 @@ core_1.sign,

8

package.json
{
"name": "@zilliqa-js/blockchain",
"version": "0.2.1-next.20181113",
"version": "0.2.1-next.20181114",
"description": "Class(es) for interacting with the Zilliqa blockchain.",

@@ -22,7 +22,7 @@ "main": "dist/index.umd.js",

"dependencies": {
"@zilliqa-js/account": "0.2.1-next.20181113",
"@zilliqa-js/core": "0.2.1-next.20181113",
"@zilliqa-js/account": "0.2.1-next.20181114",
"@zilliqa-js/core": "0.2.1-next.20181114",
"bn.js": "^4.11.8"
},
"gitHead": "4c540e6820c698163fef0eafc7a9f98a097792f9"
"gitHead": "f634257991c5857968320ee9f674e011dbe99232"
}

@@ -292,2 +292,14 @@ import { Transaction, Wallet, util } from '@zilliqa-js/account';

}
/**
* getBalance
*
* Gets the balance of an account by address
*
* @param {string} address
* @returns {Promise<RPCResponse<any, string>>}
*/
getBalance(address: string): Promise<RPCResponse<any, string>> {
return this.provider.send(RPCMethod.GetBalance, address);
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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