swapper-org / NodeChain

Nodechain is a service that allows you to create nodes on a blockchain and connect to them natively through APIs. The goal is to allow the user to build their own nodes natively without having to rely on external services.
MIT License
7 stars 5 forks source link

New methods ERC20 endpoint #190

Closed hippocampusSwapper closed 2 years ago

hippocampusSwapper commented 2 years ago

Feature Request

Feature Description

Currently, the next methods from '/eth' endpoint return info about ERC20 transactions.

getTransaction getTransactions getAddressHistory getAddressesHistory

I propose to stop return ERC20 transactions on this endpoint, and add them to '/erc20'

These methods are going to need the additional parameters 'contractAddresses' as all methods over /erc20 endpoint.

Use Case(s)

Users want to get info from ERC20 transactions well presented, not the ETH raw transaction