Skip to main content

MAX_UI_AMOUNT_LEN

Constant MAX_UI_AMOUNT_LEN 

Source
pub const MAX_UI_AMOUNT_LEN: usize = 254;
Expand description

The longest UI-amount string UiAmountToAmount carries: the instruction is one byte of discriminator plus at most 254 bytes of UTF-8.