Skip to content

resourceAddressLiteral

resourceAddressLiteral(address): InstructionArg

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

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

string

InstructionArg

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