Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Field type reference

The type strings used in compile_params, class fields, and action params.

Type stringRust equivalentDescription
u8u88-bit unsigned integer
u16u1616-bit unsigned integer
u32u3232-bit unsigned integer
u64u6464-bit unsigned integer
bytes32[u8; 32]32-byte raw byte array
pubkey[u8; 32]32-byte x-only BIP340 Schnorr public key
liquid.asset_id[u8; 32]Liquid asset ID (32 bytes)
addressstringA bech32/blech32 address (used by action params)

Integer field values are written as decimal strings in instance files; byte types as hex strings. See Spec.md §4.2 and §12.