openzeppelin_relayer::domainFunction get_relayer_transaction_by_model
Source  pub async fn get_relayer_transaction_by_model(
    relayer_model: RelayerRepoModel,
    state: &ThinData<AppState<JobProducer>>,
) -> Result<NetworkTransaction, ApiError>
Expand description
Creates a relayer network transaction using a relayer model.
§Arguments
- relayer_model- A- RelayerRepoModelrepresenting the relayer.
- state- A reference to the application state, wrapped in- ThinData.
§Returns
A Result containing a NetworkTransaction if successful, or an ApiError if an error occurs.