Skip to main content

token_id

Function token_id 

Source
pub fn token_id(token: &str) -> String
Expand description

The stable identifier a mint and a redemption are correlated by: the first [TOKEN_ID_HEX_CHARS] lowercase hex characters of sha256(token).

This — never the token — is what may appear in a trace, a log line or an error body.