Skip to main content

mint

Function mint 

Source
pub async fn mint(
    connection: &Connection,
    label: Option<&str>,
    grants: &[String],
    expires_days: Option<i64>,
) -> Result<String>
Expand description

Stores the hash and grants and returns the raw token, which nothing keeps.