@@ -273,14 +273,56 @@ const api: PlaygroundProps[] = [
273
273
sequence : 4294967295 ,
274
274
} ,
275
275
] ,
276
- // bin_outputs: [
277
- // { amount: 150000, script_pubkey: 'a9144204752392de72c50f0591313f98937c67325a3d87' },
278
- // {
279
- // amount: 116300,
280
- // script_pubkey:
281
- // '512003b963b69e1b26e56546d9a7a47ef0fbee91573a1c85be8b98ea79b9b83b843c',
282
- // },
283
- // ],
276
+ bin_outputs : [
277
+ { amount : 150000 , script_pubkey : 'a9144204752392de72c50f0591313f98937c67325a3d87' } ,
278
+ {
279
+ amount : 116300 ,
280
+ script_pubkey :
281
+ '512003b963b69e1b26e56546d9a7a47ef0fbee91573a1c85be8b98ea79b9b83b843c' ,
282
+ } ,
283
+ ] ,
284
+ lock_time : 0 ,
285
+ } ,
286
+ ] ,
287
+ } ,
288
+ } ,
289
+ {
290
+ title : 'Sign Transaction(Big Ref Txs)' ,
291
+ value : {
292
+ coin : 'btc' ,
293
+ inputs : [
294
+ {
295
+ prev_index : 60000 ,
296
+ prev_hash : 'b3eb628dd06261805ef2232a704a727c9eb1787bccbc62cf343b05bfd7b882c7' ,
297
+ amount : '150000' ,
298
+ address_n : [ 2147483697 , 2147483648 , 2147483648 , 0 , 0 ] ,
299
+ script_type : 'SPENDP2SHWITNESS' ,
300
+ } ,
301
+ ] ,
302
+ outputs : [
303
+ {
304
+ script_type : 'PAYTOADDRESS' ,
305
+ address : '3F6g14r5Z37at7HTvMN5Mmf8QJxLJp2p3U' ,
306
+ amount : '10000' ,
307
+ } ,
308
+ {
309
+ script_type : 'PAYTOP2SHWITNESS' ,
310
+ address_n : [ 2147483697 , 2147483648 , 2147483648 , 0 , 0 ] ,
311
+ amount : '128474' ,
312
+ } ,
313
+ ] ,
314
+ refTxs : [
315
+ {
316
+ hash : 'b3eb628dd06261805ef2232a704a727c9eb1787bccbc62cf343b05bfd7b882c7' ,
317
+ version : 2 ,
318
+ inputs : [
319
+ {
320
+ prev_hash : '141f43a36d8421b0d30f63b2d98461e5b6172b0be606b0ac0a917fe1aaa08ba9' ,
321
+ prev_index : 1 ,
322
+ script_sig : '' ,
323
+ sequence : 4294967295 ,
324
+ } ,
325
+ ] ,
284
326
bin_outputs : [
285
327
{ amount : 150000 , script_pubkey : 'a9144204752392de72c50f0591313f98937c67325a3d87' } ,
286
328
{
0 commit comments