@bitgo/utxo-lib
Version:
Client-side Bitcoin JavaScript library
14 lines • 396 B
TypeScript
import { ChainCode } from './chains';
export type ScriptId = {
chain: ChainCode;
index: number;
};
/**
* Get the chain and index from a bip32 path.
*
* @param path
*/
export declare function getScriptIdFromPath(path: string): ScriptId;
/** @deprecated use getScriptId */
export declare const getChainAndIndexFromPath: typeof getScriptIdFromPath;
//# sourceMappingURL=ScriptId.d.ts.map