Context
The Network type of @massalabs/massa-web3 (src/utils/networks.ts) has 4 fields: name (of the network), chainId, url (optional) and minimalFee.
Currently neither station nor station-wallet provide the minimalFee.
station.massa/massa/node provide name, chainId and url but no minimalFee.
Bearby and metamask snap provide minimal fees.
How to
A solution could be to add a 4th field minimalFee to the result of station.massa/massa/node.
To do that, one can use the status function in station/pkg/node/status.go
Context
The Network type of @massalabs/massa-web3 (src/utils/networks.ts) has 4 fields: name (of the network), chainId, url (optional) and minimalFee.
Currently neither station nor station-wallet provide the minimalFee.
station.massa/massa/node provide name, chainId and url but no minimalFee.
Bearby and metamask snap provide minimal fees.
How to
A solution could be to add a 4th field minimalFee to the result of station.massa/massa/node.
To do that, one can use the status function in station/pkg/node/status.go