-
Notifications
You must be signed in to change notification settings - Fork 43
/
bcd.js
39 lines (36 loc) · 1.19 KB
/
bcd.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//explorer.btcd.io
//tx 9baa5bbd0651dc374f6299e48f458313cd5141b4e26323edef006962c03b032c
/*
Version BCD
decode
{ input:
[ { hash: '8521f1d0398d701d4e05264661b312fc57adc33e150e798a6db1051724cacea5',
n: 1,
scriptSigLen: 107,
scriptSig: [Object],
script: [Object],
nSequence: <Buffer ff ff ff fe> } ],
output:
[ { nValue: 29577864,
scriptPubkeyLen: <Buffer 19>,
scriptPubkey: <Buffer 76 a9 14 df c6 8d 65 39 f6 49 2a aa 58 b3 10 7e 9b 9c 54 7c ab ef bd 88 ac>,
address: '1MQDYSGV446fNQpZgGY7aWYM286Lgr7jmb',
type: 'p2pkh' },
{ nValue: 364279,
scriptPubkeyLen: <Buffer 19>,
scriptPubkey: <Buffer 76 a9 14 65 83 ec 27 3b 93 ff 91 83 84 ed 86 b1 05 2c ba 60 bf c7 12 88 ac>,
address: '1AFmHWXPhV6RsUMAYMptJJySLACE5Zmx5o',
type: 'p2pkh' } ],
s: 0,
nVersion: <Buffer 0c 00 00 00>,
nbinput: 1,
nboutput: 2,
nLockTime: <Buffer 0f a7 07 00> }
*/
/*
Version BCD
verify
----- Transaction hash: 9baa5bbd0651dc374f6299e48f458313cd5141b4e26323edef006962c03b032c
----- Transaction verified
----- Transaction hash: 9baa5bbd0651dc374f6299e48f458313cd5141b4e26323edef006962c03b032c
*/