UNPKG
@cmdcode/tapscript
Version:
latest (1.5.3)
1.5.3
1.5.2
1.5.1
1.5.0
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.0
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
A basic library for working with Tapscript, signatures and Bitcoin transactions.
cmdruid/tapscript
@cmdcode/tapscript
/
dist
/
lib
/
sig
/
segwit
/
hash.d.ts
5 lines
•
282 B
TypeScript
View Raw
1
2
3
4
5
import
{
Buff
}
from
'@cmdcode/buff-utils'
;
import
{
HashConfig
}
from
'../types.js'
;
import
{
TxTemplate
,
Bytes
}
from
'../../../schema/types.js'
;
export
declare
function
hashTx
(
txdata
:
TxTemplate
|
Bytes
,
idx
:
number
,
config
?:
HashConfig
):
Buff
;
//# sourceMappingURL=hash.d.ts.map