nahmii / nahmii-2-sdk

The `@nahmii/sdk` package is an SDK to interact with Nahmii 2.0.
https://www.nahmii.io/
1 stars 2 forks source link

Retrieve ERC20 withdrawal history #27

Open HDauven opened 2 years ago

HDauven commented 2 years ago

Is your feature request related to a problem? Please describe. The ability to retrieve ERC20 withdrawal history for a given address on the Nahmii bridge.

Describe the solution you'd like For the SDK to expose a function that filters on ERC20 withdrawals directed towards the Nahmii bridge. Filtering can be done on events emitted by the bridge contract.

Additional context There is a distinction between ETH and ERC20 deposits/withdrawals, which has to be accounted for by providing different functions for each.

Stepwise breakdown

Definition of done