decodePreAuthTx

Decodes strkey pre-authorized transaction hash (T...) to raw bytes

Return

The 32 raw hash bytes

Parameters

data

The strkey to decode. A pre-authorized transaction strkey is 56 characters long.

Throws

if data fails a check of the StrKey decode contract, which this type holds to 56 characters and the pre-authorized transaction version byte