Skip to content

componentAddressLiteral

componentAddressLiteral(address): InstructionArg

Defined in: ootle/src/helpers/cbor-literal.ts:162

CBOR-encode a ComponentAddress as Tag(128, bytes(32)). Accepts either the component_<hex> form or the bare 64-hex-char tail.

string

InstructionArg

if the address body is not 32 bytes (64 hex chars).