decodeClaimableBalance

Decodes strkey claimable balance ID (B...) to raw bytes

Return

The 33 raw bytes: the type discriminant followed by the 32-byte hash

Parameters

data

The strkey to decode. A claimable balance id strkey is 58 characters long.

Throws

if data fails a check of the StrKey decode contract, which this type holds to 58 characters, the claimable balance version byte, and the framing it defines inside its payload: the one type discriminant the XDR union declares