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.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.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.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