FrameRequest
Convert EIP-8141 frame requests while preserving omitted gas limits for node estimation.
Examples
import { FrameRequest } from 'ox'
const frame = FrameRequest.toRpc({ mode: 'sender', stateGas: 0n })Functions
| Name | Description |
|---|---|
FrameRequest.fromRpc | Converts an RPC frame request, preserving omitted gas limits for node estimation. |
FrameRequest.toRpc | Converts a frame request to RPC fields without filling omitted gas limits. |
Types
| Name | Description |
|---|---|
FrameRequest.FrameRequest | A frame request whose omitted gas limits are estimated by the node. |
FrameRequest.Rpc | JSON-RPC frame request. Only the execution mode is required. |

