Get fees

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

GET https://api-wallet.venly.io/api/transactions/{secretType}/fees

Path Parameters

NameTypeDescription

secretType

string

The secret type

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

Example

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

Response

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

Last updated