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

# eth_maxPriorityFeePerGas

> Call eth_maxPriorityFeePerGas on Goldsky Edge RPC to return the currently suggested EIP-1559 priority fee per gas in wei on any supported EVM chain.

## Parameters

None

## Returns

**maxPriorityFeePerGas** `string`

Max priority fee per gas in wei (hex)

## Example

```bash cURL theme={"dark"}
curl -X POST "https://edge.goldsky.com/standard/evm/1?key=demo" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}'
```

```javascript JavaScript theme={"dark"}
const response = await fetch('https://edge.goldsky.com/standard/evm/1?key=demo', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
  "jsonrpc": "2.0",
  "method": "eth_maxPriorityFeePerGas",
  "params": [],
  "id": 1
})
});
const { result } = await response.json();
console.log(result);
```

```python Python theme={"dark"}
import requests

response = requests.post(
    'https://edge.goldsky.com/standard/evm/1?key=demo',
    json={
  "jsonrpc": "2.0",
  "method": "eth_maxPriorityFeePerGas",
  "params": [],
  "id": 1
}
)
print(response.json()['result'])
```


## Related topics

- [Pricing: plans, metering, and product costs](https://docs.goldsky.com/pricing/summary.md)
- [EVM wallets](https://docs.goldsky.com/compose/context/evm/wallets.md)
- [EVM dataset schemas: blocks, transactions, logs, traces](https://docs.goldsky.com/turbo-pipelines/reference/schema/EVM-schemas.md)
- [Edge EVM Sources](https://docs.goldsky.com/turbo-pipelines/sources/edge-evm.md)
- [eth_feeHistory](https://docs.goldsky.com/edge-rpc/evm/methods/eth_feeHistory.md)
