AccountSimulation
Configurable account RPC simulation utilities.
Converts the owner approvals and configuration modeled during gas estimation between their domain and Tempo JSON-RPC representations.
Functions
| Name | Description |
|---|---|
AccountSimulation.fromRpc | Converts a JSON-RPC account simulation spec to its domain representation. |
AccountSimulation.toRpc | Converts an account simulation spec to its JSON-RPC representation. |
Errors
| Name | Description |
|---|---|
AccountSimulation.InvalidSimulationError | Thrown when an account simulation spec is invalid. |
Types
| Name | Description |
|---|---|
AccountSimulation.Approval | Configurable account owner approval used for RPC simulation. |
AccountSimulation.ApprovalRpc | JSON-RPC configurable account owner approval used for RPC simulation. |
AccountSimulation.PrimitiveApproval | Primitive owner approval used for RPC simulation. |
AccountSimulation.Rpc | JSON-RPC representation of an account simulation spec. |
AccountSimulation.Spec | Account simulation spec used to construct an RPC simulation signature. |

