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

@omisego/omg-js-childchain

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omisego/omg-js-childchain - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

6

package.json
{
"name": "@omisego/omg-js-childchain",
"version": "1.1.0",
"version": "1.2.0",
"description": "Module to interact with OMG ChildChain",

@@ -25,3 +25,3 @@ "keywords": [

"dependencies": {
"@omisego/omg-js-util": "^1.1.0",
"@omisego/omg-js-util": "^1.2.0",
"debug": "^4.0.1",

@@ -35,3 +35,3 @@ "json-bigint": "^0.3.0",

},
"gitHead": "09e36e667d11af23eb8b449a0a54f71b428340dc"
"gitHead": "5e88014b838c9d132d06bf9cef6e0b92b3f2ed3d"
}

@@ -60,2 +60,24 @@ /*

/**
* Get a transaction
*
* @method getTransaction
* @param {object} id The hash of the transaction to get
* @return {Array} array of transactions
*/
async getTransaction (id) {
return rpcApi.post(`${this.watcherUrl}/transaction.get`, { id })
}
/**
* Get transactions
*
* @method getTransactions
* @param {object} filters Filter the results by `address`, `blknum` and `limit`
* @return {Array} array of transactions
*/
async getTransactions (filters) {
return rpcApi.post(`${this.watcherUrl}/transaction.all`, filters)
}
/**
* Get the exit data for a UTXO

@@ -62,0 +84,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