Caravan Documentation
    Preparing search index...

    Function getParentBIP32Path

    • Get the path of the parent of the given path

      Parameters

      • bip32Path: any

        e.g. "m/45'/0'/0'/0"

      Returns any

      parent path

      import {getParentBIP32Path} from "@caravan/bitcoin";
      console.log(getParentBIP32Path("m/45'/0'/0'/0"); // m/45'/0'/0'