decodePoolIdBech32 static method

List<int> decodePoolIdBech32(
  1. String bech32PoolId
)

Decode a Bech32-encoded pool ID string to bytes.

bech32PoolId: The Bech32-encoded pool ID.

Returns a byte list representing the decoded pool ID.

Implementation

static List<int> decodePoolIdBech32(String bech32PoolId) {
  final poolId = Bech32Decoder.decode(_poolIdHrp, bech32PoolId);
  return poolId;
}