Skip to content

Releases: web3data/web3data-js

Dependencies Updates

03 Dec 20:45
5b17780
Compare
Choose a tag to compare

This release fixes issues with outdated uuid/v5 strict dependency which imported a method "deprecate" that had flawed recursive attributes. Rolling forward allowed tree shaking to remove this nasty method.

migrate price endpoint

01 Dec 01:36
dcd9a4a
Compare
Choose a tag to compare
Merge pull request #99 from web3data/hf/price-endpoints

Hf/price endpoints

Documentation fixes - Better navigation and setup instructions!

14 Apr 20:29
4a6e449
Compare
Choose a tag to compare

We have fixed the documentation, it is much simpler to use!

We have also deprecated two methods:

  • contract.getSecurityAudit
  • contract.getAudit

New Metrics!

08 Apr 22:51
c22c98e
Compare
Choose a tag to compare

This release is a minor update to support "metrics" within blockchain, block and transaction methods.

There are two ways to use the methods:

  1. Get live, "windowed", realtime data, by not specifying startDate/endDate
  2. Get historical timeseries metrics, by specifying startDate/endDate

Use:

w3b.blockchain.getMetrics() // Returns realtime windowed data
w3b.block.getMetrics() // Returns realtime windowed data
w3b.block.getMetrics({startDate: 1583625600000, endDate: 1583712000000}) // Returns historical data
w3b.transaction.getMetrics() // Returns realtime windowed data
w3b.transaction.getMetrics({startDate: 1583625600000, endDate: 1583712000000}) // Returns historical data

For data & response documentation see:

NPM Release Update

11 Feb 21:20
f418b07
Compare
Choose a tag to compare

Minor fixes to configuration for npm releases

Minor Fix

07 Feb 05:54
ae235be
Compare
Choose a tag to compare

Fixes websocket disconnect error.

Minor Update

31 Jan 20:22
ca890e3
Compare
Choose a tag to compare

This is a minor update to support "trades" as a feature within market data methods.

Use:
w3b.market.getFeatures('trades')

✨💫Stellar is now supported in Web3data.js! 🙌

22 Nov 23:26
294bdf3
Compare
Choose a tag to compare

Use web3data.xlm.* for easy Stellar integrations.

This release adds full support for Stellar with an added .xlm namespace.

Social_Blog_Stellar

Methods & Features Supported:

  • address.getAllAddresses
  • address.getInformation
  • address.getMetadata
  • address.getTransactions
  • address.getBalance
  • address.getMetrics
  • block.getBlocks
  • block.getBlock
  • block.getBlockNumber
  • block.getTransactions
  • block.getTransactionFromBlock
  • block.getMetrics
  • transaction.getTransactions
  • transaction.getTransaction

RPC is also supported using:

web3data.xlm.rpc('get_ledgers')

See full example

Better documentation, simpler methods and increased test coverage! 🧼🛁

09 Nov 01:04
cbdb98f
Compare
Choose a tag to compare

Overview

This release adds additional method documentation, increased test coverage, and method refactoring.

Change log

Breaking Changes:

Methods that have been removed:

  • address.getLatestBalance
  • address.getHistoricalBalance
  • address.getBalances
  • address.getBalancesBatch
  • address.getMultipleBalances

The address.getBalance now encapsulates all of the above methods.

Methods that have been renamed:

  • signature.get4Bytesignature.getSignature

Method responses now only include payload data from the API.

From this:

{
    "status": 200,
    "title": "OK",
    "description": "Successful request",
    "payload": { 
       // data
     }
}

To this:

{
  // data
}
Affected Methods:
  • contract.getAudit
  • contract.getFunctions
  • signature.getSignature

Methods which once returned data with a records field now return the data contained with in that field.

From this:

{
  "records": [ 
     // data
  ]
}

To this:

[
  // data
]
Affected Methods:
  • contract.getFunctions
  • address.getInternalMessages
  • address.getFunctions
  • address.getLogs
  • address.getTransactions
  • address.getPendingTransactions
  • address.getTokens
  • address.getTokenTransfers
  • address.getTokenBalances

🚀Zcash is now supported in Web3data.js! 🙌

01 Nov 23:02
923f8e8
Compare
Choose a tag to compare

Use web3data.zec.* for easy Zcash integrations.

This release adds full support for Zcash with an added .zec namespace.
As with Bitcoin release 0.5.7, this update pre-configures all methods for UTXO data and ease of use.

image

Methods & Features Supported:

  • address.getAllAddresses
  • address.getInformation
  • address.getMetadata
  • address.getTransactions
  • address.getPendingTransactions
  • address.getBalance
  • address.getLatestBalance
  • address.getHistoricalBalance
  • address.getMultipleBalances
  • address.getBalancesBatch
  • address.getMetrics
  • block.getBlocks
  • block.getBlock
  • block.getBlockNumber
  • block.getTransactions
  • block.getTransactionFromBlock
  • block.getMetrics
  • transaction.getTransactions
  • transaction.getTransaction
  • transaction.getPendingTransactions

RPC is also supported using:

web3data.zec.rpc('getbestblockhash')

See full example