archethic-foundation / archethic-node

Official Archethic Blockchain node, written in Elixir
GNU Affero General Public License v3.0
75 stars 22 forks source link

Amount management. Int format (10^8) from end to end #517

Closed redDwarf03 closed 2 years ago

redDwarf03 commented 2 years ago

Is your feature request related to a problem?

No response

Describe the solution you'd like

In order to manage the same format of the amounts from end to end, it's necessary to change the answers of queries graphQL to obtain the amounts in int format (10^8) it concerns : Balance.uco TokenTransfer.amount UCOTransfer.amount TransactionInputs.amount

Additional context

No response

ghost commented 2 years ago

Closed by #518

redDwarf03 commented 2 years ago

The fee property in transaction_fee API was forgotten I reopen this issue to fix it https://github.com/archethic-foundation/archethic-node/blob/4c9a983a4e081885c14583e3e27bc1371d195997/lib/archethic_web/controllers/api/transaction_controller.ex#L108

ghost commented 2 years ago

Closed by #539