BlockPo / BlockPo-to-Tradelayer

Incubation Repo for the TradeLayer protocol, 0.2.0
http://www.tradelayer.org
Other
8 stars 8 forks source link

Get Funding Received/Paid By Address #129

Closed patrickdugan closed 2 years ago

patrickdugan commented 4 years ago

Takes as parameter, an address, start block, end block, and optionally a contract id. If null, returns for all contracts on that address that are swaps.

JSON like:

{ contractid: n propertyid: 3 results: [ {block: n, propertyid: 3, amount: 0.001234},{block:n,propertyid:2, amount: -0.00032451},{block: n+24, propertyid: 3, amount: 0.00021213} ...] }

patrickdugan commented 2 years ago

Ale's April 2022 PR's should cover this.