# AddressHashMode | Stacks.js 1.4.1 Library Reference
Documentation for Stacks.js 1.4.1 Library Reference

## Index

### Enumeration members

- SerializeP2PKH
- SerializeP2SH
- SerializeP2WPKH
- SerializeP2WSH

## Enumeration members

### SerializeP2PKH

SerializeP2PKH: = 0

- Defined in packages/transactions/src/constants.ts:88

SingleSigHashMode - hash160(public-key), same as bitcoin's p2pkh

### SerializeP2SH

SerializeP2SH: = 1

- Defined in packages/transactions/src/constants.ts:90

MultiSigHashMode - hash160(multisig-redeem-script), same as bitcoin's multisig p2sh

### SerializeP2WPKH

SerializeP2WPKH: = 2

- Defined in packages/transactions/src/constants.ts:92

SingleSigHashMode - hash160(segwit-program-00(p2pkh)), same as bitcoin's p2sh-p2wpkh

### SerializeP2WSH

SerializeP2WSH: = 3

- Defined in packages/transactions/src/constants.ts:94

MultiSigHashMode - hash160(segwit-program-00(public-keys)), same as bitcoin's p2sh-p2wsh

Generated using TypeDoc