Ed25519PoolKeyHash.fromBech32 constructor

Ed25519PoolKeyHash.fromBech32(
  1. String bech32PoolId
)

Constructor to create an Ed25519PoolKeyHash from a Bech32-encoded pool ID.

Implementation

Ed25519PoolKeyHash.fromBech32(String bech32PoolId)
    : super(AdaAddressUtils.decodePoolIdBech32(bech32PoolId),
          AdaTransactionConstant.blake2b224DigestSize);