Skip to content

templateAddressLiteral

templateAddressLiteral(address): InstructionArg

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

CBOR-encode a template address as an untagged bytes(32), the encoding of a template’s TemplateAddress (Hash32) parameter. Accepts either the template_<hex> form or the bare 64-hex-char tail.

string

InstructionArg

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