massalabs / station

A gateway to the Massa blockchain
https://station.massa.net
27 stars 107 forks source link

uniform the unit input in endpoints #1353

Open Thykof opened 4 months ago

Thykof commented 4 months ago

_Originally posted by @thomas-senechal in https://github.com/massalabs/station/pull/1352#discussion_r1577388260_

Some endpoints of the Station API expect the amount parameter to be in MAS and other in nanoMAS.

Let's uniform all that and use the defined type #Amount