> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_maxPriorityFeePerGas | Hyperliquid EVM

> Returns the current maximum priority fee per gas for EIP-1559 transactions. On Hyperliquid, this method always returns zero as priority fees are not used.

<Info>
  This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see [Hyperliquid methods](/docs/hyperliquid-methods) for the full availability breakdown.
</Info>

Returns the current maximum priority fee per gas for EIP-1559 transactions. On Hyperliquid, this method always returns zero as priority fees are not used.

## Parameters

This method takes no parameters.

## Returns

Returns the maximum priority fee per gas as a hexadecimal string. On Hyperliquid, this is always `"0x0"`.

<Warning>
  On Hyperliquid, priority fees are always zero. The network uses only base fees for transaction pricing, so setting a priority fee will not affect transaction inclusion speed or priority.
</Warning>

## Example request

<CodeGroup>
  ```bash Shell theme={"system"}
  curl -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params":[],"id":1}' \
    https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm
  ```

  ```python Python (web3.py) theme={"system"}
  from web3 import Web3

  w3 = Web3(Web3.HTTPProvider("YOUR_CHAINSTACK_ENDPOINT"))

  max_priority_fee = w3.eth.max_priority_fee
  print(max_priority_fee)
  ```

  ```javascript JavaScript (ethers.js) theme={"system"}
  import { JsonRpcProvider } from "ethers";

  const provider = new JsonRpcProvider("YOUR_CHAINSTACK_ENDPOINT");

  const maxPriorityFee = await provider.send("eth_maxPriorityFeePerGas", []);
  console.log(maxPriorityFee);
  ```

  ```typescript TypeScript (viem) theme={"system"}
  import { createPublicClient, http } from "viem";

  const client = createPublicClient({
    transport: http("YOUR_CHAINSTACK_ENDPOINT"),
  });

  const maxPriorityFee = await client.estimateMaxPriorityFeePerGas();
  console.log(maxPriorityFee);
  ```
</CodeGroup>

<Note>
  **Use your own endpoint in your code.** The code examples use a placeholder Chainstack endpoint (YOUR\_CHAINSTACK\_ENDPOINT) — replace it with your own Hyperliquid node endpoint from the [Chainstack console](https://console.chainstack.com/). The curl above uses a shared public endpoint for quick checks only; do not use it in production.
</Note>

Example response:

```json theme={"system"}
{"jsonrpc":"2.0","id":1,"result":"0x0"}
```

## Use cases

* **EIP-1559 compatibility** — Maintain compatibility with EIP-1559 transaction format
* **Wallet applications** — Handle priority fee queries for cross-chain compatibility
* **Fee estimation** — Calculate transaction costs knowing priority fees are zero
* **Protocol integration** — Integrate with protocols that query priority fees


## OpenAPI

````yaml openapi/hyperliquid_node_api/hyperevm/evm_eth_max_priority_fee_per_gas.json post /evm
openapi: 3.0.0
info:
  title: Hyperliquid EVM API - eth_maxPriorityFeePerGas
  version: 1.0.0
servers:
  - url: >-
      https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274
security: []
paths:
  /evm:
    post:
      summary: eth_maxPriorityFeePerGas
      description: >-
        Returns the current maximum priority fee per gas for EIP-1559
        transactions. On Hyperliquid, this always returns zero.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - params
                - id
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  default: '2.0'
                  description: JSON-RPC version
                method:
                  type: string
                  enum:
                    - eth_maxPriorityFeePerGas
                  default: eth_maxPriorityFeePerGas
                  description: The RPC method name
                params:
                  type: array
                  description: No parameters required
                  default: []
                id:
                  type: integer
                  default: 1
                  description: Request identifier
            example:
              jsonrpc: '2.0'
              method: eth_maxPriorityFeePerGas
              params: []
              id: 1
      responses:
        '200':
          description: Successful response with the maximum priority fee per gas
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPC version
                  id:
                    type: integer
                    description: Request identifier
                  result:
                    type: string
                    description: >-
                      The maximum priority fee per gas in wei as a hexadecimal
                      string
              example:
                jsonrpc: '2.0'
                id: 1
                result: '0x0'

````