- Preparing search index...
- The search index is not available
Stacks.js
- inputBytes(input): number
-
Parameters
-
input: PSBTKeyMapKeys<{
bip32Derivation: readonly [6, CoderType<Uint8Array>, CoderType<{
fingerprint: number;
path: number[];
}>, readonly [], readonly [0, 2], false];
finalScriptSig: readonly [7, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
finalScriptWitness: readonly [8, false, CoderType<Uint8Array[]>, readonly [], readonly [0, 2], false];
hash160: readonly [12, CoderType<Uint8Array>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
hash256: readonly [13, CoderType<Uint8Array>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
index: readonly [15, false, CoderType<number>, readonly [2], readonly [2], true];
nonWitnessUtxo: readonly [0, false, CoderType<{
inputs: {
finalScriptSig: Uint8Array;
index: number;
sequence: number;
txid: Uint8Array;
}[];
lockTime: number;
outputs: {
amount: bigint;
script: Uint8Array;
}[];
segwitFlag: boolean;
version: number;
} & {
witnesses?: Option<Uint8Array[][]>;
}>, readonly [], readonly [0, 2], false];
partialSig: readonly [2, CoderType<Uint8Array>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
porCommitment: readonly [9, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
proprietary: readonly [252, CoderType<Uint8Array>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
redeemScript: readonly [4, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
requiredHeightLocktime: readonly [18, false, CoderType<number>, readonly [], readonly [2], false];
requiredTimeLocktime: readonly [17, false, CoderType<number>, readonly [], readonly [2], false];
ripemd160: readonly [10, CoderType<Uint8Array>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
sequence: readonly [16, false, CoderType<number>, readonly [], readonly [2], true];
sha256: readonly [11, CoderType<Uint8Array>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
sighashType: readonly [3, false, CoderType<number>, readonly [], readonly [0, 2], false];
tapBip32Derivation: readonly [22, CoderType<Uint8Array>, CoderType<{
der: {
fingerprint: number;
path: number[];
};
hashes: Uint8Array[];
}>, readonly [], readonly [0, 2], false];
tapInternalKey: readonly [23, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
tapKeySig: readonly [19, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
tapLeafScript: readonly [21, CoderType<{
internalKey: Uint8Array;
merklePath: Uint8Array[];
version: number;
}>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
tapMerkleRoot: readonly [24, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
tapScriptSig: readonly [20, CoderType<{
leafHash: Uint8Array;
pubKey: Uint8Array;
}>, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
txid: readonly [14, false, CoderType<Uint8Array>, readonly [2], readonly [2], true];
witnessScript: readonly [5, false, CoderType<Uint8Array>, readonly [], readonly [0, 2], false];
witnessUtxo: readonly [1, false, CoderType<{
amount: bigint;
script: Uint8Array;
}>, readonly [], readonly [0, 2], false];
}>
Returns number