Skip to content

Releases: rsksmart/rsk-explorer-api

1.0.2

16 Jan 00:30
Compare
Choose a tag to compare

Fixed

  • api/modules/Event.getEventsByAddress, addressData

1.0.1

11 Sep 17:16
Compare
Choose a tag to compare

Changed

  • Mongodb client to 3.3.2
  • Express to 4.17.1
  • MongoClient connection options

1.0.0

30 Aug 05:28
Compare
Choose a tag to compare

Added

  • Optional configuration file: initial-config.json
  • ABI of PoolBlockReward
  • API contractVerifier module wich exposes the methods:
    • verify
    • getSolcVersions
    • getEvmVersions
    • getVerificationResults
  • API extendedStats module
  • API summary module that provides all scrapped and decoded data from one block in one document.
  • Setup module which stores the blockchain configuration on database and checks
    against the node, at start, to avoid inserting data from another blockchain on the same database.
  • The API now exposes network information such as the addresses of native contracts (pre configured) and the chainId

Removed

  • config.publicSettings

0.8.0

26 Jul 03:51
Compare
Choose a tag to compare

Added

  • Websocket channels and subscriptions
  • Autogenerated API documentation
  • API http endpoints
  • API stats module
  • API stats channel
  • API addresses.getMiners()
  • Services/Address, include last block mined in miners documents.
  • tools/wsChannel

Changed

  • The websocket API, don't broadcasts messages any more,
    to listen to changes a channel subscription is required.
  • API responses: remove 'result' container
  • API: added 'miner' filter to blocks.getBlocks()
  • Renamed API module 'txs' to 'transactions'
  • Updated tools/statusClient to channels API

Deprecated

  • WS broadcast notifications, replaced by channels.

0.7.4

26 Jul 03:53
Compare
Choose a tag to compare

Added

  • Tools/updateContractAccounts
  • API/Blocks.circulatingSupply()
  • API/Address.getCirculatingSupply()
  • Routes/circulating

Changed

  • http server
  • Queries and collections indexes to improve performance
  • API/Token/getTokenBalance: include filter by addresses
    and add account balance when filter is present

Fixed

  • Tools/getBlock: help message
  • Services/classes/Block.deleteBlockDataFromDb

0.7.3

26 Jul 03:56
Compare
Choose a tag to compare

Changed

  • DataCollectorItem.getOne()

Fixed

  • API/Txs.getTransactionWithAddressData()

Removed

  • WS automatic (broadcasted) announcements

0.7.2

26 Jul 03:56
Compare
Choose a tag to compare

Added

  • Remasc events decoder
  • API/TokenAccount.getTokenBalance()
  • API/Event.getAllEventsByAddress()

Changed

  • API/Event.getEventsByAddress()

Fixed

  • Tools/wsGet

0.7.1

26 Jul 03:57
Compare
Choose a tag to compare

Added

  • API/Addresses: contract creation sort

Changed

  • Tx collection indexes
  • API/Address, sort by contract creation date

Removed

  • API/Txs, sort by timestamp

0.7.0

26 Jul 03:57
Compare
Choose a tag to compare

Added

  • DataCollector: cursor pagination
  • Log request to API
  • DataCollector
    • Defaults fields
    • getPages param

Changed

  • Pagination system to cursor pagination
  • Transactions and events IDs
  • API sortable fields and defaults sorts
  • API/Addresses.txBalance
  • Block.save() resets address.txBalance to 0 when saves an address
  • Change userEvents.updateAddress: if !txBalance update from txs in db
  • Add txBalance to getAddress delayedFields
  • DataCollector, count records as default was removed,
    to enable it, two boolean params were added: count and countOnly.
    From now pagination total is null as default.
  • Added field selection to DataCollector throught 'fields' parameter.
  • Add 'count' and 'countOnly" parameters to pagination methods
  • The way to get address balance from transactions
  • Services/classes/Address.updateTxBalance()
  • Services/classes/Block, runs Address.updateTxBalance() on Block.save()
  • Tools/wsGet to new API
  • Collections indexes

Removed

  • API/index
  • dbPatches
  • API/Addresses.getAddress(), query param

Fixed

  • services/Block.deleteBlockDataFromDb
  • services/blockChecker, handle promise rejection