Skip to main content

request_template

Function request_template 

Source
pub fn request_template(
    p: &RequestParams<'_>,
    created_at: u64,
) -> Result<UnsignedEvent>
Expand description

The unsigned request (kind REQUEST_KIND, empty content); its pubkey is the signer’s, filled in when it is signed. For a key held elsewhere: sign UnsignedEvent::id_bytes and attach it with UnsignedEvent::with_signature.