Expand description
Request models for relayer API endpoints.
This module provides request structures used by relayer CRUD API endpoints, including:
- Create Requests: New relayer creation
- Update Requests: Partial relayer updates
- Validation: Input validation and error handling
- Conversions: Mapping between API requests and domain models
These models handle API-specific concerns like optional fields for updates while delegating business logic validation to the domain model.
Structs§
- Create
Relayer Request - Request model for creating a new relayer
- Update
Relayer Request - Update
Relayer Request Raw - Request model for updating an existing relayer All fields are optional to allow partial updates Note: network and signer_id are not updateable after creation
Enums§
- Create
Relayer Policy Request - Policy types for create requests - deserialized based on network_type from parent request
Functions§
- deserialize_
policy_ for_ network_ type - Utility function to deserialize policy JSON for a specific network type Used for update requests where we know the network type ahead of time