zks_estimateFee

Estimates the fee for a given call request.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Call objectobjectRequired

The transaction call object containing details about the transaction.

Response

The estimated gas and fee details for the given call request.

gas_limitstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The maximum amount of gas that can be used.

max_fee_per_gasstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The maximum fee per unit of gas that the sender is willing to pay.

max_priority_fee_per_gasstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The maximum priority fee per unit of gas to incentivize miners.

gas_per_pubdata_limitstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"

The gas limit per unit of public data.