serialize

abstract fun serialize(intent: Intent): String

Serialize a signed Intent to SCALE codec hex.

Return

Hex-encoded SCALE bytes (without "0x" prefix)

Parameters

intent

Signed Intent with all signatures included

Throws

if intent is invalid

if serialization fails