getWithdrawalRequestFee()
getWithdrawalRequestFee(
provider,contractAddress?):Promise<bigint>
Defined in: withdrawalFee.ts:19
Reads the current per-request fee (wei) from the EIP-7002 withdrawal request contract. A call with empty calldata returns the fee.
Parameters​
| Parameter | Type | Default value |
|---|---|---|
provider | Provider | undefined |
contractAddress | string | WITHDRAWAL_REQUEST_CONTRACT_ADDRESS |
Returns​
Promise<bigint>