AddressType
- class cometa.address.address_type.AddressType(value)[source]
Bases:
IntEnumTypes of addresses used within the Cardano blockchain.
Shelley introduced several address types, each serving distinct purposes. Byron-era bootstrap addresses are also supported for backward compatibility.
- BASE_PAYMENT_KEY_STAKE_KEY = 0
Base address with both payment and stake credentials as key hashes.
- BASE_PAYMENT_SCRIPT_STAKE_KEY = 1
Base address with payment as script hash and stake as key hash.
- BASE_PAYMENT_KEY_STAKE_SCRIPT = 2
Base address with payment as key hash and stake as script hash.
- BASE_PAYMENT_SCRIPT_STAKE_SCRIPT = 3
Base address with both payment and stake credentials as script hashes.
- POINTER_KEY = 4
Pointer address with payment credential as key hash.
- POINTER_SCRIPT = 5
Pointer address with payment credential as script hash.
- ENTERPRISE_KEY = 6
Enterprise address with payment credential as key hash.
- ENTERPRISE_SCRIPT = 7
Enterprise address with payment credential as script hash.
- BYRON = 8
Byron-era bootstrap address (legacy format).
- REWARD_KEY = 14
Reward account address with credential as key hash.
- REWARD_SCRIPT = 15
Reward account address with credential as script hash.