pub async fn get_relayer_transaction(
relayer_id: String,
state: &ThinData<DefaultAppState>,
) -> Result<NetworkTransaction, ApiError>Expand description
Creates a relayer network transaction instance based on the relayer ID.
§Arguments
relayer_id- AStringrepresenting the ID of the relayer.state- A reference to the application state, wrapped inThinData.
§Returns
A Result containing a NetworkTransaction if successful, or an ApiError if an error occurs.