@bitgo-beta/unspents
Version:
Defines the chain codes used for different unspent types and methods to calculate bitcoin transaction sizes
25 lines (24 loc) • 798 B
TypeScript
export declare const VirtualSizes: Readonly<{
/** @deprecated */
txP2pkhInputSizeCompressedKey: number;
/** @deprecated */
txP2pkhInputSizeUncompressedKey: number;
txP2shInputSize: number;
txP2shP2wshInputSize: number;
txP2wshInputSize: number;
txP2trKeypathInputSize: number;
txP2shP2pkInputSize: number;
txP2trScriptPathLevel1InputSize: number;
txP2trScriptPathLevel2InputSize: number;
txOutputAmountSize: number;
txP2shOutputSize: number;
txP2shP2wshOutputSize: number;
txP2wshOutputSize: number;
txP2trOutputSize: number;
txP2pkhOutputSize: number;
txP2wpkhOutputSize: number;
/** @deprecated - use txP2pkhOutputSize instead */
txOutputSize: number;
txOverheadSize: number;
txSegOverheadVSize: number;
}>;