Get EIP 1559 Fee Recommendations

Through this endpoint customers can obtain fee recommendations specifically for EIP 1559.

Single Result - This endpoint returns only one single result. GET /blockchain-tools/{blockchain}/{network}/fees/eip1559

Path Parameters

  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten" are test networks.

    Example : ropsten
    Possible Values : mainnet sepolia
  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum.

    Example : ethereum
    Possible Values : ethereum

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString

Response schema

200 400 401 402 403 404 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      item object
      • Required
        lastBlock integer

        Numeric representation of the block height

        Example : 19269503
      • Required
        baseFeePerGas object
        • Required
          unit string

          Represents the unit of the base fee per gas.

          Example : WEI
        • Required
          value string

          Represents the expected base fee per gas of the upcoming block, calculated from the previous block data.

          Example : 45265143502
      • Required
        maxFeePerGas object
        • Required
          fast string

          Represents the fast maximum fee per gas, calculated from unconfirmed transactions.

          Example : 75235090892
        • Required
          slow string

          Represents the slow maximum fee per gas, calculated from unconfirmed transactions.

          Example : 67416761254
        • Required
          standard string

          Represents the standard maximum fee per gas, calculated from unconfirmed transactions.

          Example : 69996407508
        • Required
          unit string

          Represents the unit of the maximum fee per gas.

          Example : WEI
      • Required
        maxPriorityFeePerGas object
        • Required
          fast string

          Represents the fast maximum priority fee per gas, calculated from unconfirmed transactions.

          Example : 47085140300
        • Required
          slow string

          Represents the slow maximum priority fee per gas, calculated from unconfirmed transactions.

          Example : 37331114417
        • Required
          standard string

          Represents the standard maximum priority fee per gas, calculated from unconfirmed transactions.

          Example : 41987372497
        • Required
          unit string

          Represents the unit of the maximum priority fee per gas.

          Example : WEI

Credits Cost : 500 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-tools/ethereum/ropsten/fees/eip1559?context=yourExampleString
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "item": {
            "lastBlock": 19269503,
            "baseFeePerGas": {
                "unit": "WEI",
                "value": "45265143502"
            },
            "maxFeePerGas": {
                "fast": "75235090892",
                "slow": "67416761254",
                "standard": "69996407508",
                "unit": "WEI"
            },
            "maxPriorityFeePerGas": {
                "fast": "47085140300",
                "slow": "37331114417",
                "standard": "41987372497",
                "unit": "WEI"
            }
        }
    }
}