Get fees

Get the current fees (for EVM based chains: gasprice) for a certain chain.

Request Endpoint: reference

GET /api/transactions/{secretType}/fees
ParameterParam TypeDescriptionData TypeMandatory
secretTypeBodyThe blockchain to query the gas fee forString

Example Request:

GET https://api-wallet.venly.io/api/transactions/ETHEREUM/fees

Response Body:

{
    "success": true,
    "result": [
        {
            "gasPrice": 21450000000,
            "defaultPrice": false
        },
        {
            "gasPrice": 21450000000,
            "defaultPrice": true
        },
        {
            "gasPrice": 25300000000,
            "defaultPrice": false
        },
        {
            "gasPrice": 29700000000,
            "defaultPrice": false
        }
    ]
}