Hash256
A 256-bit hash, uppercase hex. NewType("Hash256", str) — at runtime it is a plain str.
Definition
Hash256 = NewType("Hash256", str)Construction
from dango.utils.types import Hash256
h = Hash256("AABBCCDD" * 8) # 64 hex chars, uppercaseNotes
- The on-chain identifier for a wallet's public key.
Secp256k1Wallet.key_hashproduces anHash256from the SHA-256 of the compressed pubkey. - Wire form is uppercase hex.
See also
Secp256k1Wallet— exposeskey_hash