Bytes32
Fixed-size 32-byte value type
Definition
class Bytes32(_SizedHexBytes):
_size = 32Construction
Parameter
Type
Required
Description
Example
from seismic_web3 import Bytes32
block_hash = Bytes32("0x" + "ab" * 32)
print(len(block_hash)) # 32
print(block_hash.to_0x_hex())Key properties
See Also
Last updated

