Function fetch_token_metadata_from_uri

Source
pub async fn fetch_token_metadata_from_uri(
    client: &Client,
    uri: &str,
) -> (String, String, String)
Expand description

Fetch additional token metadata from off-chain URI. Token metadata URIs point to JSON APIs that return additional metadata. This function extracts description, twitter, and website fields from the JSON response, returning empty strings if fields are missing or not strings.