PubKeyHash
Extends: RefCounted
Description
Constants Descriptions
Status
Method Descriptions
_init
WARNING: Do not use this constructor directly, instead use [method from_hex] for a safe way of building a [PubKeyHash].
to_hex
Return a [String] containing the hex-encoded hash.
to_bytes
from_hex (static)
Tries to parse a [PubKeyhash] from the [param hash] passed as a hex-encoded [String].
Sub-classes
FromHexResult
Property Descriptions
value
- Getter:
@value_getter
WARNING: This function may fail! First match on Result.tag or call Result.is_ok.
error
- Getter:
@error_getter
WARNING: This function may fail! First match on Result.tag or call Result._is_err.