Releases: web3data/web3data-js
Dependencies Updates
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
Merge pull request #99 from web3data/hf/price-endpoints Hf/price endpoints
Documentation fixes - Better navigation and setup instructions!
We have fixed the documentation, it is much simpler to use!
We have also deprecated two methods:
contract.getSecurityAuditcontract.getAudit
New Metrics!
This release is a minor update to support "metrics" within blockchain, block and transaction methods.
There are two ways to use the methods:
- Get live, "windowed", realtime data, by not specifying startDate/endDate
- 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
Minor fixes to configuration for npm releases
Minor Fix
Fixes websocket disconnect error.
Minor Update
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! 🙌
Use web3data.xlm.* for easy Stellar integrations.
This release adds full support for Stellar with an added .xlm namespace.
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')
Better documentation, simpler methods and increased test coverage! 🧼🛁
Overview
This release adds additional method documentation, increased test coverage, and method refactoring.
Change log
Breaking Changes:
Methods that have been removed:
address.getLatestBalanceaddress.getHistoricalBalanceaddress.getBalancesaddress.getBalancesBatchaddress.getMultipleBalances
The address.getBalance now encapsulates all of the above methods.
Methods that have been renamed:
signature.get4Byte→signature.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.getAuditcontract.getFunctionssignature.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.getFunctionsaddress.getInternalMessagesaddress.getFunctionsaddress.getLogsaddress.getTransactionsaddress.getPendingTransactionsaddress.getTokensaddress.getTokenTransfersaddress.getTokenBalances
🚀Zcash is now supported in Web3data.js! 🙌
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.
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')

