Function ergo_headless_dapp_framework::encoding::build_token[][src]

pub fn build_token(token_id: &str, token_amount: u64) -> Result<Token>

Builds a Token struct using the provided token_id and token_amount. Useful when manually constructing transaction logic and requiring building Tokens when dealing with the id as a String and the amount as a u64.