diff --git a/bindings/nostr-ffi/src/event/builder.rs b/bindings/nostr-ffi/src/event/builder.rs index 0c106b395..372187c55 100644 --- a/bindings/nostr-ffi/src/event/builder.rs +++ b/bindings/nostr-ffi/src/event/builder.rs @@ -400,6 +400,19 @@ impl EventBuilder { })) } + /// Data Vending Machine - Job Request + /// + /// + #[uniffi::constructor] + pub fn job_request(kind: u64, tags: Vec>) -> Result> { + Ok(Arc::new(Self { + inner: nostr::EventBuilder::job_request( + kind.into(), + tags.into_iter().map(|t| t.as_ref().deref().clone()), + )?, + })) + } + #[uniffi::constructor] pub fn file_metadata(description: String, metadata: Arc) -> Arc { Arc::new(Self {