SubAddrId¶
- class blsct.SubAddrId(account: int, address: int)¶
Represents a sub-address ID.
>>> from blsct import SubAddrId >>> x = SubAddrId(123, 456) >>> x SubAddrId(7b00000000000000c801000000000000) >>> ser = x.serialize() >>> deser = SubAddrId.deserialize(ser) >>> ser == deser.serialize() True
- classmethod deserialize(hex: str) Self¶
Deserialize the SubAddrId from a hexadecimal string
- serialize() str¶
Serialize the SubAddrId to a hexadecimal string