Skip to content

Add minimal fees to /massa/node return type #1384

Description

@fleandrei

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions