writeBranch static method

String writeBranch(
  1. String branch
)

Implementation

static String writeBranch(String branch) {
  return hex.encode(bs58check.decode(branch).sublist(2).toList());
}