diff --git a/packages/sdk/tests/__mocks__/accounts/account_01.ts b/packages/sdk/tests/__mocks__/accounts/account_01.ts index 3ac9743..7fff533 100644 --- a/packages/sdk/tests/__mocks__/accounts/account_01.ts +++ b/packages/sdk/tests/__mocks__/accounts/account_01.ts @@ -118,52 +118,31 @@ export const utxos: any = [ { "outpoint": { "index": 0, - "source_id": "02008dcd5fb46751f4358ec51991a5a9e4ead89e8b14c467a05ce67e32dd6be3", + "source_id": "2e15c6af4443bd9039343f0d21926746bc35a9737c99ca970fe72e11264bd23f", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "1101267fc325347ad4470d2719ee7e11422860a4", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", + "destination": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "type": "Transfer", "value": { "amount": { - "atoms": "1000000000000", - "decimal": "10" + "atoms": "1", + "decimal": "1" }, - "type": "Coin" + "token_id": "tmltk1wy7fqxu0qavm5ts66w5exytmxgsgdd66q266c93glu5m3f7hzjsq046gmy", + "type": "TokenV1" } } }, { "outpoint": { "index": 0, - "source_id": "07b30508bb27f2d1d24bbfd00e15c77937961c0a5aee78daff69ab7894ab4922", + "source_id": "af3b5fad20f6f97eb210934e942176f7f7d0f70423590659ee0e0217053a7cab", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1qxf50ffxunjw557a9zf2et0vywkwjszyxyppa0py", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "d5836c42fdad436cf6d870585975cee0d2184c1e", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", + "destination": "tmt1q9l0g4kd3s6x5rmesaznegz06pw9hxu6qvqu3pa7", + "type": "Transfer", "value": { "amount": { "atoms": "1000000000000", @@ -176,165 +155,138 @@ export const utxos: any = [ { "outpoint": { "index": 0, - "source_id": "18cf188d0e4b4456fe4fc30ab0df219803f311b32dc39351d237940b2d44d181", - "source_type": "Transaction" - }, - "utxo": { - "htlc": { - "refund_key": "tmt1q8xqrjnm0329ax0vz6929ar5srgdnyk7ryfpjcun", - "refund_timelock": { - "content": 2, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "d5836c42fdad436cf6d870585975cee0d2184c1e", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "2600197b786911b7e5d42280b4d8d30625329f6a5fbf7cda254bfd2296f10efe", + "source_id": "5e753c87c602e0dca468c89f04be603e0cc50341ee72e6f79efcdde04ddb9990", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qxf50ffxunjw557a9zf2et0vywkwjszyxyppa0py", "type": "Transfer", "value": { "amount": { - "atoms": "1979500000000", - "decimal": "19.795" + "atoms": "100", + "decimal": "1" }, - "type": "Coin" + "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "type": "TokenV1" } } }, { "outpoint": { "index": 0, - "source_id": "2d0e8ec9e6e3b3d2bb29f8fdbb1e6f0dc81b4189f3398e37f18a6d51cba38c58", + "source_id": "cdcee4a44823978cc50245eff518a562c4461e74fee2ce2f46cade822f657e0d", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "f768c5c4653211bbf4da5c9265ba6313d5a393cc", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", + "destination": "tmt1qyjlh9w9t7qwx7cawlqz6rqwapflsvm3dulgmxyx", + "type": "Transfer", "value": { "amount": { - "atoms": "500000000000", - "decimal": "5" + "atoms": "100000000000", + "decimal": "1000" }, - "type": "Coin" + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", + "type": "TokenV1" } } }, { "outpoint": { - "index": 1, - "source_id": "32e3110b955f51152720b842474f2d9cc37fa5bcd768962600e80602ef7bee79", + "index": 0, + "source_id": "bc4c1b1fbd7bada628fb14448de63205ee15c25c32553a80c7d816b92161a034", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1q9q4gk90m5wmcjphvrnvefc750pfx0cagqwxwwxl", "type": "Transfer", "value": { "amount": { - "atoms": "1979500000000", - "decimal": "19.795" + "atoms": "1000000000", + "decimal": "10" }, - "type": "Coin" + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", + "type": "TokenV1" } } }, { "outpoint": { "index": 0, - "source_id": "353482529e8ff9fa9957be78b1195dbd1581128cec8feacbe102ebd3dd7b0743", + "source_id": "c10dffb5df5e1f1c745d8a79eee7828b50655565a993ff49777f9475b63b0667", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", + "destination": "tmt1q9q4gk90m5wmcjphvrnvefc750pfx0cagqwxwwxl", + "lock": { + "content": 100, + "type": "ForBlockCount" + }, + "type": "LockThenTransfer", "value": { "amount": { - "atoms": "300000000000", - "decimal": "3" + "atoms": "1000000000", + "decimal": "10" }, - "type": "Coin" + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", + "type": "TokenV1" } } }, { "outpoint": { - "index": 0, - "source_id": "36b345e034e1b3e7a3f77026dfa61febf302433a7826e6deb7e757889a64b525", + "index": 2, + "source_id": "c10dffb5df5e1f1c745d8a79eee7828b50655565a993ff49777f9475b63b0667", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", + "destination": "tmt1q9q4gk90m5wmcjphvrnvefc750pfx0cagqwxwwxl", + "lock": { + "content": 200, + "type": "ForBlockCount" + }, + "type": "LockThenTransfer", "value": { "amount": { - "atoms": "100000000000", - "decimal": "1" + "atoms": "1000000000", + "decimal": "10" }, - "type": "Coin" + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", + "type": "TokenV1" } } }, { "outpoint": { - "index": 1, - "source_id": "3e898a89510b504c6ebaf7a97de80fde78fae2bc39feca9b597c50878baef5f5", + "index": 0, + "source_id": "c2ae4bef077c284136ae5a7da4cefc4ba5591e6c5ce64f4a007763ec2d8f2b6f", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1q9q4gk90m5wmcjphvrnvefc750pfx0cagqwxwwxl", "type": "Transfer", "value": { "amount": { - "atoms": "100000000", - "decimal": "1" + "atoms": "1000000000", + "decimal": "10" }, - "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", "type": "TokenV1" } } }, { "outpoint": { - "index": 0, - "source_id": "3f8b9797f2001ce175c9200c167f34084c891b8c7a6a6505bc0387c380ed5ff3", + "index": 1, + "source_id": "6af09ce349bc3eda6c14f019257d0b39ac99c6f74c57eebdd8999e3a039c3768", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qxrwc3gy2lgf4kvqwwfa388vn3cavgrqyyrgswe6", "type": "Transfer", "value": { "amount": { - "atoms": "500000000000", - "decimal": "5" + "atoms": "1687021711700428", + "decimal": "16870.21711700428" }, "type": "Coin" } @@ -342,38 +294,37 @@ export const utxos: any = [ }, { "outpoint": { - "index": 2, - "source_id": "4b7259c782539fbb9d4de06f16de3d0dcaa22ec7f803a95c2e7b9f0eca917aaf", + "index": 1, + "source_id": "af3b5fad20f6f97eb210934e942176f7f7d0f70423590659ee0e0217053a7cab", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qxrwc3gy2lgf4kvqwwfa388vn3cavgrqyyrgswe6", "type": "Transfer", "value": { "amount": { - "atoms": "850", - "decimal": "8.5" + "atoms": "1703205604300000", + "decimal": "17032.056043" }, - "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", - "type": "TokenV1" + "type": "Coin" } } }, { "outpoint": { "index": 1, - "source_id": "4e7fc6e7cca5e0fb049ba651fe0817e88dd13551992f4690d193de1bf852e41f", + "source_id": "c3a3ab2d96ce705fafa499d0858ae6fc512f78b1c6319413e731a0051203e077", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qxrwc3gy2lgf4kvqwwfa388vn3cavgrqyyrgswe6", "type": "Transfer", "value": { "amount": { - "atoms": "2000000000000", - "decimal": "20" + "atoms": "99500000000", + "decimal": "995" }, - "token_id": "tmltk18wg2xa7qxflwmcjpcd7nepsrsjj0gcrqyc7k5ej4cq5q3lf7ry7qtm2l6z", + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", "type": "TokenV1" } } @@ -381,99 +332,74 @@ export const utxos: any = [ { "outpoint": { "index": 0, - "source_id": "587beafe53c305b97dc20d45269f155e296d147bc901a716a4d014909127486d", + "source_id": "080479b8ac6884e23ceb2ef0747b1b04143931b79571f33972a4100034850a2c", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qy9987wg35ehqm4r0t5mr8p7z0v6y8ul4sp7yl6q", "type": "Transfer", "value": { "amount": { - "atoms": "1000000000000", - "decimal": "10" + "atoms": "100000000000000000", + "decimal": "1000000" }, - "type": "Coin" + "token_id": "tmltk17jgtcm3gc8fne3su8s96gwj0yw8k2khx3fglfe8mz72jhygemgnqm57l7l", + "type": "TokenV1" } } }, { "outpoint": { "index": 0, - "source_id": "6eef7e70fe3707df6f912b52b9f715ed54f2391e2de3d17d4ee4c1eba61bdf4b", + "source_id": "6eed78dd553ea0125a54fb95b960217d3509aeeb2ec80196d5d21aefa4487d01", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" + "data": { + "additional_metadata_uri": { + "hex": "697066733a2f2f6261666b726569656d6861676332736e706a6a6e64766471346a786d68346c6f6267336d707465327a3432627269657164336d6564677367633471", + "string": "ipfs://bafkreiemhagc2snpjjndvdq4jxmh4lobg3mpte2z42brieqd3medgsgc4q" }, - "secret_hash": { - "hex": "4c996b383c0a4dad48453d83fc0f5b8be9d168d0", - "string": null + "creator": null, + "description": { + "hex": "4465736372697074696f6e", + "string": "Description" }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "700000000000", - "decimal": "7" + "icon_uri": { + "hex": "697066733a2f2f62616679626569627732796c363432336561673433746c6765757074636564726632666c78706e707674796d736e71627063666e6c786a637a34692f70686f746f5f323032342d31302d30332d32332e32342e30342e6a706567", + "string": "ipfs://bafybeibw2yl6423eag43tlgeuptcedrf2flxpnpvtymsnqbpcfnlxjcz4i/photo_2024-10-03-23.24.04.jpeg" }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "794fca2e7c05ba6590dcebe3955c1474100925928120555c4bd4d0846271c422", - "source_type": "Transaction" - }, - "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" + "media_hash": { + "hex": "010006000906000401000002", + "string": "\u0001\u0000\u0006\u0000\t\u0006\u0000\u0004\u0001\u0000\u0000\u0002" }, - "secret_hash": { - "hex": "02b0413b1e2556f129a7cf6f473db3126cbdf905", - "string": null + "media_uri": { + "hex": "697066733a2f2f62616679626569627732796c363432336561673433746c6765757074636564726632666c78706e707674796d736e71627063666e6c786a637a34692f70686f746f5f323032342d31302d30332d32332e32342e30342e6a706567", + "string": "ipfs://bafybeibw2yl6423eag43tlgeuptcedrf2flxpnpvtymsnqbpcfnlxjcz4i/photo_2024-10-03-23.24.04.jpeg" }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "100000000000000", - "decimal": "1000" + "name": { + "hex": "4e616d65", + "string": "Name" }, - "type": "Coin" - } + "ticker": { + "hex": "505050", + "string": "PPP" + } + }, + "destination": "tmt1q96glhddzd2u9wcyzfeqm53yrxxqgfm66yezu0gd", + "token_id": "tmltk1hulyp284e3kc522ta435wyckrqy4j4842perueyge6ctjlp2mpds65mcx8", + "type": "IssueNft" } }, { "outpoint": { "index": 0, - "source_id": "7a067e2f1283e016acb329ae270a70ef6bb20e4c57295eb94b639bbcaffb8431", + "source_id": "9dc1221aa78551c7529068c021531df59103226d8b46277cd2ab40c6f78455ef", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "6fe48221f25bee488253b95514bd67aed628c848", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", + "destination": "tmt1q96glhddzd2u9wcyzfeqm53yrxxqgfm66yezu0gd", + "type": "Transfer", "value": { "amount": { "atoms": "1000000000000", @@ -486,27 +412,16 @@ export const utxos: any = [ { "outpoint": { "index": 0, - "source_id": "7f649f23c3156d5578053787f6e038094e73eed2ade2609b20e777ce9ad1aae6", + "source_id": "0da4ad912602b87fe0ae40691ddc075e6e3cdd1891724456ab9a44490dc3f69b", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "4eedf874d47922af32bf99e99e2762b84b2033af", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", + "destination": "tmt1qy9l2pvaz84z60uvlggcy5ttxdvw825uhsxeaxc5", + "type": "Transfer", "value": { "amount": { - "atoms": "1000000000000", - "decimal": "10" + "atoms": "10000000000000", + "decimal": "100" }, "token_id": "tmltk16u754a6su60wd3tra669a3gt0su79zehqeavu4ffgrnjzgaedasqtfurcu", "type": "TokenV1" @@ -515,218 +430,120 @@ export const utxos: any = [ }, { "outpoint": { - "index": 0, - "source_id": "7fa02a5e261dc75eb8064b21148d21094c9ed024a97f471805aba1d4182fb4b8", + "index": 1, + "source_id": "c10dffb5df5e1f1c745d8a79eee7828b50655565a993ff49777f9475b63b0667", "source_type": "Transaction" }, "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "fda150393bd88ae479b77f5cfacfb00fd7714de7", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + "destination": "tmt1q9092r369lp4vl4glxdec7lu56s47uy96uydmmel", + "lock": { + "content": 100, + "type": "ForBlockCount" }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "82bb063aeee13b757e430dde13a535a71321027a44cfd7c286a1fd85053f2c4d", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", + "type": "LockThenTransfer", "value": { "amount": { - "atoms": "1000000000000", + "atoms": "1000000000", "decimal": "10" }, - "type": "Coin" + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", + "type": "TokenV1" } } }, { "outpoint": { - "index": 0, - "source_id": "8dfc9bb801d88d4bb7089dad86981dcc4e51580636ad39d9f3214039da54e71a", + "index": 3, + "source_id": "c10dffb5df5e1f1c745d8a79eee7828b50655565a993ff49777f9475b63b0667", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1q9092r369lp4vl4glxdec7lu56s47uy96uydmmel", "lock": { - "content": 7200, + "content": 200, "type": "ForBlockCount" }, "type": "LockThenTransfer", "value": { "amount": { - "atoms": "357236695312", - "decimal": "3.57236695312" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "924a88f321d79a781765732c9c4393474c5f3dc2cb39fc79576068a45d2272a4", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "2000000000000", - "decimal": "20" + "atoms": "1000000000", + "decimal": "10" }, - "token_id": "tmltk18wg2xa7qxflwmcjpcd7nepsrsjj0gcrqyc7k5ej4cq5q3lf7ry7qtm2l6z", + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", "type": "TokenV1" } } }, - { - "outpoint": { - "index": 0, - "source_id": "9f4aa07f1a757ab47fb73e85e2ac99b14561fa9385abcbc19c3e5e82dc2e75e8", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "500000000000", - "decimal": "5" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "a3687185dc27a069051176caca5667ea8736c0f73efae1eef408a82a7ec02ad1", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "100000000000", - "decimal": "1" - }, - "type": "Coin" - } - } - }, { "outpoint": { "index": 1, - "source_id": "a5405cdbb850432c521f2f49a1f710a9c9b80261b28b0004e0a5ab1c0952d408", + "source_id": "c2ae4bef077c284136ae5a7da4cefc4ba5591e6c5ce64f4a007763ec2d8f2b6f", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1q9092r369lp4vl4glxdec7lu56s47uy96uydmmel", "type": "Transfer", "value": { "amount": { "atoms": "1000000000", "decimal": "10" }, - "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "token_id": "tmltk1jzgup986mh3x9n5024svm4wtuf2qp5vedlgy5632wah0pjffwhpqgsvmuq", "type": "TokenV1" } } }, { "outpoint": { - "index": 0, - "source_id": "a54c0c59701d68ae694ed3f25eb20e292bbf6118401837543aeaead5bb62d481", + "index": 2, + "source_id": "3ac01a6e57a89b594857b1b9b9bd6a2e54bc0b52f01707a27e8440857c20ea71", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qylwcqnt5p0kajj6rnwa8fvrtqgf4jcvaun5h7h8", "type": "Transfer", "value": { "amount": { - "atoms": "1000000000000", - "decimal": "10" + "atoms": "91400", + "decimal": "914" }, - "type": "Coin" + "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "type": "TokenV1" } } }, { "outpoint": { - "index": 0, - "source_id": "a5ffb69a7f1d55b6bd24f1005d06f8e686c7c8368e4f08bd9f111caf3f4e972a", + "index": 2, + "source_id": "da4f9123aba44d1b717e73e184f06d01c7038cfd007cdb8f4891957c4008010d", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1q8z50vz0cq0a44wrskpdsy4juqjpf66wysd0h5yn", "type": "Transfer", "value": { "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "a70436ed21cb86647d8add185026f5d9297354bca64966f632f56cc125e86620", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "lock": { - "content": 7200, - "type": "ForBlockCount" - }, - "type": "LockThenTransfer", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" + "atoms": "1744620000", + "decimal": "17.4462" }, - "type": "Coin" + "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "type": "TokenV1" } } }, { "outpoint": { "index": 1, - "source_id": "af7421d349fc775d145ead4ddafc03ad5d40cd01bcfa9e3c9d938830b623e8f1", + "source_id": "d383642287fc39d1892d446c1fee58913eb84f0ac505c88c1de7efdd1c0d6ac9", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qyfqf403hv8yjmyn5lqt25hs28wzfqxce5xgaw8j", "type": "Transfer", "value": { "amount": { - "atoms": "420722199999", - "decimal": "4.20722199999" + "atoms": "957100000000", + "decimal": "9.571" }, "type": "Coin" } @@ -734,35 +551,36 @@ export const utxos: any = [ }, { "outpoint": { - "index": 0, - "source_id": "c36a94a28fdfecfa725fda8a4f4db8e2853508f34331f03665747123720ac023", + "index": 2, + "source_id": "ca1ce85c5ef7e987d098832a367562ecfa5c08b6c681e3af952017dbde4fbb53", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qx66ux2w4cjj3ctsu9469s7k7vde6xmhkq2my0h2", "type": "Transfer", "value": { "amount": { - "atoms": "800000000000", - "decimal": "8" + "atoms": "98", + "decimal": "98" }, - "type": "Coin" + "token_id": "tmltk1wvfgu57geuqrjzxmnk48jmnp5salnd0ggmcymxl6u3h6wk7smnjqjrr0u6", + "type": "TokenV1" } } }, { "outpoint": { - "index": 0, - "source_id": "cb054eb15ddbdb8335e0d631200dbb0b2598e1e7836fa4e7228a6fe56f266547", + "index": 1, + "source_id": "30c10ba376dac3c37ab0fa730be74c5c0d87126904a8e9ed214b114f2342a258", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1q8w4n0hvkk985zxf3alxv3qkucnzn7r6ev8vnmgh", "type": "Transfer", "value": { "amount": { - "atoms": "900000000000", - "decimal": "9" + "atoms": "411011008199784", + "decimal": "4110.11008199784" }, "type": "Coin" } @@ -770,868 +588,21 @@ export const utxos: any = [ }, { "outpoint": { - "index": 0, - "source_id": "cca5dfad1cd0e3d16b0aa69ad7cbc2ea2fd89927f094338f549102ffbfd57962", + "index": 2, + "source_id": "fc2fc83d5931446b3b75406b747d93db516217fde5d9a7c9067140d0172a2a40", "source_type": "Transaction" }, "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "destination": "tmt1qy2z74rsfcygs7v2rhuzt9usvpg35q24g54gq0p5", "type": "Transfer", "value": { "amount": { - "atoms": "1000000000000", - "decimal": "10" + "atoms": "0", + "decimal": "0" }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "d1477c3741d1d8de3048006f7cddf503a1522a29943409c3bf93e99ec8b13039", - "source_type": "Transaction" - }, - "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "d5836c42fdad436cf6d870585975cee0d2184c1e", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "d2b0490b0c09f35bfaadbf42e3b4e239c6fa805596a95c14fe1edbef5f63e97d", - "source_type": "Transaction" - }, - "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "f3379f953cf661374eaf6f5e22fe3d96342f4e75", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "d383642287fc39d1892d446c1fee58913eb84f0ac505c88c1de7efdd1c0d6ac9", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1", - "decimal": "1" - }, - "token_id": "tmltk1wvfgu57geuqrjzxmnk48jmnp5salnd0ggmcymxl6u3h6wk7smnjqjrr0u6", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "df0bdf831ff2d18d19341db98939b090ff5d488e95e192bb513479c199002181", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1200000000000", - "decimal": "12" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "e3243fd63eb9c408d063347cc9b30ceb10c49f643982ef2c9f05e36f470cf238", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1000000000", - "decimal": "10" - }, - "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "e35239b6fe6fc71d8be7674b14fb1cbc2608211e91a09e1b2625a38aa2c1cb5b", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "2000000000", - "decimal": "20" - }, - "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "ef71dec210cd51f2eabcea872471488e15c16585e34cb34c881326bd2bf7a133", - "source_type": "Transaction" - }, - "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "6e5900c63f50ae616d0685346f772d21e306116a", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "f056cfbf09a1c99c6c2d2f9ae48b9a972cb04fb24ce813f2aaea75dd8f3c2cd9", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1200000000000", - "decimal": "12" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "f5e9285010a6ffa2b905d1005752585ac9f7e675cb51d6b8831d5ffef0b07714", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1100000000", - "decimal": "0.011" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "f5e9285010a6ffa2b905d1005752585ac9f7e675cb51d6b8831d5ffef0b07714", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "6000", - "decimal": "0.06" - }, - "token_id": "tmltk1n3wyw2p20s0vmxk3kkmgq7mk83ppwtcunf9u9xx4x4npe568wrlqpcsm60", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "ffd401fef8220c55d1e3d563be0631bc23561fa25f1821f2316d2667aa641d3b", - "source_type": "Transaction" - }, - "utxo": { - "htlc": { - "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", - "refund_timelock": { - "content": 20, - "type": "ForBlockCount" - }, - "secret_hash": { - "hex": "1f77324adee4138c9dca5c9dd9645e0f11128ce1", - "string": null - }, - "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" - }, - "type": "Htlc", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "926c94dc22eb4eafa67c3b1290a370cd3f9a2f0d73494c8b0d5f895654a5f733", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q970wu9q4ygpmry4hl6cpmu8ackfssr52cmam7cv", - "lock": { - "content": 7200, - "type": "ForBlockCount" - }, - "type": "LockThenTransfer", - "value": { - "amount": { - "atoms": "581900000000", - "decimal": "5.819" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "2600197b786911b7e5d42280b4d8d30625329f6a5fbf7cda254bfd2296f10efe", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1000000000000", - "decimal": "10" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 2, - "source_id": "2df8e01cd9032565bf5e9412179d61fdf9de57bfefbe8d459d6c6194092b4d75", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", - "type": "Transfer", - "value": { - "amount": { - "atoms": "800000000000", - "decimal": "8" - }, - "token_id": "tmltk16u754a6su60wd3tra669a3gt0su79zehqeavu4ffgrnjzgaedasqtfurcu", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "3a2a79afac20c258b2552e35235cf63ce56f03c028c81fd9517529e91523e2b3", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", - "type": "Transfer", - "value": { - "amount": { - "atoms": "20000000000", - "decimal": "0.2" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "452f6be59ddc915de17d188578e33b87b1ace3d05bafd9db0e517cd2936479af", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", - "type": "Transfer", - "value": { - "amount": { - "atoms": "100000000000", - "decimal": "1" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 0, - "source_id": "855df2fc24d790977621c9b7c71431240628335ff16137b3c5077331b13d5320", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", - "type": "Transfer", - "value": { - "amount": { - "atoms": "200000000000", - "decimal": "2" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 2, - "source_id": "5e753c87c602e0dca468c89f04be603e0cc50341ee72e6f79efcdde04ddb9990", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8ajt3428lvvrnjcmql75eskzrke79m3gut4wrr9", - "type": "Transfer", - "value": { - "amount": { - "atoms": "900", - "decimal": "9" - }, - "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 2, - "source_id": "0cae3977cd50e69a6f0965ebb2eae377b3c645bfb609d9bdbe8a091a5b46f51c", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9nnl8hjrklglcmlmuhqudmpqmu4gk45kv23dws4", - "type": "Transfer", - "value": { - "amount": { - "atoms": "900", - "decimal": "9" - }, - "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", - "type": "TokenV1" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "f345c12e8fe49a31fbc170d02ef353ba5f3d153d0774ac6150cb4633e5f7e3db", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qypsu28kmljech6ycpeyr6xau80gzzetyc40ssa9", - "type": "Transfer", - "value": { - "amount": { - "atoms": "399979600000", - "decimal": "3.999796" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "dc0b22352e38f000a32cc11e96f01c8d42edd6ddb555ec231b1a32e8c550a38b", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8pq6f76cqzraqq77gsyx2wd89lqj9v9gulcq5yk", - "type": "Transfer", - "value": { - "amount": { - "atoms": "399979600000", - "decimal": "3.999796" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "5b9546059108d0e8de61a72aa37e29cfbefe290795e649b2f2a820d89320869c", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q85nz0ws92ycuwdz277hz9smcfef0elrx52lt9j4", - "type": "Transfer", - "value": { - "amount": { - "atoms": "80299999", - "decimal": "0.00080299999" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "92736fa654595a87de20ccb21de0022c7ad334121821a8f0bd4a81f2110869b4", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q85nz0ws92ycuwdz277hz9smcfef0elrx52lt9j4", - "type": "Transfer", - "value": { - "amount": { - "atoms": "299980099999", - "decimal": "2.99980099999" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "683b0229045b7fac2abcf610b80ce457c1618edb3f0978ed5d1e9c850a065f93", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8jrnmnz7l8xluqltlz8fn84utnvyvu4eynawd2w", - "type": "Transfer", - "value": { - "amount": { - "atoms": "499976099999", - "decimal": "4.99976099999" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "7303d30f3a1bd50023c6a6ce04b6a6bd8ed6a52894dbb838335287c24b1c0dd5", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q8jrnmnz7l8xluqltlz8fn84utnvyvu4eynawd2w", - "type": "Transfer", - "value": { - "amount": { - "atoms": "420679600002", - "decimal": "4.20679600002" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "c92215e813ef077bf72bed3d8c674ad14a1c4cd4e74b4fb07c61806852dfea8c", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxnfr4ldfhw0nu8e9j886gda78pskd5x0ce4dtxj", - "type": "Transfer", - "value": { - "amount": { - "atoms": "164457400000", - "decimal": "1.644574" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "3fc7f046c469662d76288bdcff644f207d9e995083da1b815e8592ccd91d5f14", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxn6genn5dl765l9gvnnjjz7eskxu06fhu83cpk5", - "type": "Transfer", - "value": { - "amount": { - "atoms": "6565137000000", - "decimal": "65.65137" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "51302ab77194411379329aa554441a5770fbfc15785898dec64f2dd579c42f07", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9rf82jeumtgerw4466klpagkt6dntxs9grle2xv", - "type": "Transfer", - "value": { - "amount": { - "atoms": "678553014634", - "decimal": "6.78553014634" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "448df090988917537b5eb75ffdf205194c3605d22dfca915178203c9e05708f3", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxx0vzs63gk6lshh2y6gjsd3lrc96tlylu3zw7vs", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1009189420999", - "decimal": "10.09189420999" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "96a74f89ecfe6e8012f779be1886ab5bf3897c63f91505c4832a798dcae87a6a", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q86t57ztrn0kuy3w3j0y3chndpey86t94q9klpe9", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1476956899999", - "decimal": "14.76956899999" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "6d0a797845b61837c664fb1d231b0d25a449af744c4350836ee3b7740aecfa9c", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxk7dhf35yqqtxzkzw4qtmjt6zgnsegvkymr3xmn", - "type": "Transfer", - "value": { - "amount": { - "atoms": "814408597000", - "decimal": "8.14408597" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "f73f299aeb22d3a7c448c95ed54ed1f1db9feb4997355df78b09dc21f9b95003", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qx3nukxnwz4w7wr83n4tazurjm0h8vdxtyqqutkw", - "type": "Transfer", - "value": { - "amount": { - "atoms": "2976999999999", - "decimal": "29.76999999999" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "c98fc69652950e32300b66f0b1fb17b9efe3d73309d63d06b7b37cd29cbc4e9b", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxk5z3hxxz2d4a2r38apavavn4scgxjwfslwpxju", - "type": "Transfer", - "value": { - "amount": { - "atoms": "4978400000000", - "decimal": "49.784" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "d85ec939c4e2d07cc7d6d2ea59de4a9a2d30135a993ee3595120e0d8a396c994", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qy057e98kk4uejlhlhnv0f4dsyhv3k2vwyegze9x", - "type": "Transfer", - "value": { - "amount": { - "atoms": "2065400000000", - "decimal": "20.654" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "4d9f395bdef68657647fb8391f47e316362a91921a6be616fc418e1a61da317f", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9suyjfwphp4eyngt5eahxwcslf8dddlwu8eppw5", - "type": "Transfer", - "value": { - "amount": { - "atoms": "479600000000", - "decimal": "4.796" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "211e736f110ab150b25aaf4bd3fc245245c08f34196bcf5db742f1c95d7b36b5", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9pr35hhmn0xz2kpuywggqx6e7r92mlqpqzxuwy0", - "type": "Transfer", - "value": { - "amount": { - "atoms": "619600000000", - "decimal": "6.196" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "4f88698e2bc7cffc2911ec3001bb0a75c5cf64a2477bdc4a006e3c8305510347", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9pfjhs3mraa48nsy6w0xr4ugfmk7q5rz5krh3lu", - "type": "Transfer", - "value": { - "amount": { - "atoms": "79600000000", - "decimal": "0.796" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "062c9d5697581032b32ac4b047f24a593ea66ff0a6c19c6002dcc6329afa7327", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qy2wgrkyhjca0n7sgruhkpveaqd54069zyumsu82", - "type": "Transfer", - "value": { - "amount": { - "atoms": "943100000000", - "decimal": "9.431" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "a526d0f31672e909768ca64448e9c6c3162bf2a9de84c0de161f2234268e2553", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qyamfy8w4j5jwhtpe6s83mknf28xkzqhlqlffspp", - "type": "Transfer", - "value": { - "amount": { - "atoms": "2956900000000", - "decimal": "29.569" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 2, - "source_id": "a526d0f31672e909768ca64448e9c6c3162bf2a9de84c0de161f2234268e2553", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qyamfy8w4j5jwhtpe6s83mknf28xkzqhlqlffspp", - "type": "Transfer", - "value": { - "amount": { - "atoms": "500", - "decimal": "5" - }, - "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "token_id": "tmltk1xvjg47rcn6j9afcpwzcv8rut5edys8yakgktrkjpzpw5ys83v4tqtqzrd4", "type": "TokenV1" } } - }, - { - "outpoint": { - "index": 1, - "source_id": "5590cc368ca8d8f58f6e5c911f240394129a3740ec73a765ed03ad128bd7ff83", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxrmj2hvazy2z33xud4zka600qcdx3shds8esrns", - "type": "Transfer", - "value": { - "amount": { - "atoms": "615600000000", - "decimal": "6.156" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "905707d48d732d251631cc75866ba01b403e8d71525a32353d526d0277dbffc0", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q962xawnwxcf2kymxrp2hygyavh3e2ju8yrl97wc", - "type": "Transfer", - "value": { - "amount": { - "atoms": "31778712498", - "decimal": "0.31778712498" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "0de401d085df0eb4f7aa10b510d9466e295646ef22527ac2d755b865f3bee8a3", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1q9kvpnw7p0k3hs7vsd6fxyl6lzstqxq2vy0v9knx", - "type": "Transfer", - "value": { - "amount": { - "atoms": "2615000000000", - "decimal": "26.15" - }, - "type": "Coin" - } - } - }, - { - "outpoint": { - "index": 1, - "source_id": "3a2a79afac20c258b2552e35235cf63ce56f03c028c81fd9517529e91523e2b3", - "source_type": "Transaction" - }, - "utxo": { - "destination": "tmt1qxy3dfn29xn0qdx0x0ncgvhg8wvdaeau7cvdz4u4", - "type": "Transfer", - "value": { - "amount": { - "atoms": "1159500000000", - "decimal": "11.595" - }, - "type": "Coin" - } - } } ] diff --git a/packages/sdk/tests/__mocks__/accounts/account_02.ts b/packages/sdk/tests/__mocks__/accounts/account_02.ts new file mode 100644 index 0000000..3ac9743 --- /dev/null +++ b/packages/sdk/tests/__mocks__/accounts/account_02.ts @@ -0,0 +1,1637 @@ +export const addresses: any = { + addressesByChain: { + mintlayer: { + receiving: [ + 'tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z', + 'tmt1q93ldqwvlpq5xc0n2nqnvgdzghqf6krjxsfryl0c', + 'tmt1q86huq7e03hmk6wj8sf7hezqgnshhtwy6s8gz3ur', + 'tmt1q9de2rp3lldzhg8exyex08yel70w99qh9sn6fqvl', + 'tmt1q8xqrjnm0329ax0vz6929ar5srgdnyk7ryfpjcun', + 'tmt1qy2kvmgpz7saps606smhu3657jtlg4575qmqju74', + 'tmt1q9l0g4kd3s6x5rmesaznegz06pw9hxu6qvqu3pa7', + 'tmt1qy4jykr3f4js3mhjmalu2k6r080r035w8sn25pxz', + 'tmt1qxf50ffxunjw557a9zf2et0vywkwjszyxyppa0py', + 'tmt1qyxk5p6tvjl0649fl628m2cqu9xzpcw44s5sn8rm', + 'tmt1qyrjfd5e3nref7zga24jcthffahjwyg3csxu3xgc', + 'tmt1q9d08qn86ness7dmacfet87mxv9fu9adf5dffuju', + 'tmt1qxjkxwfcv7cscypmxhugss6jjzxh6c6k7u48acjf', + 'tmt1qyjlh9w9t7qwx7cawlqz6rqwapflsvm3dulgmxyx', + 'tmt1qynxu9q28u05kkq2metsh35tz0qtn29q7y8a93ns', + 'tmt1q9r4aen7ncx4vau90rchuamgfxggeq92fuwuhxfs', + 'tmt1q9eaqv8gnuvyk5ukxfzejq8kc39vf0cv6ycqzeum', + 'tmt1qy9ts597azlc5ulhs5svfynwevzs2v5muqz3uvrw', + 'tmt1q85jx870krgr9p8829ehyetzaa9a5pg0nszet4dj', + 'tmt1q9q4gk90m5wmcjphvrnvefc750pfx0cagqwxwwxl', + 'tmt1q8jpzagkyccx3cneulmr3zecemt95cwz5vlqkfau', + ], + change: [ + 'tmt1qxrwc3gy2lgf4kvqwwfa388vn3cavgrqyyrgswe6', + 'tmt1q9efmjwt59a2z5vnsakavl5npalescjj7ualmhe9', + 'tmt1q8jpdd7e6yfzx44pjdkgtpz2y3tql4dmzu5a34wu', + 'tmt1q9dpdwc7cnt26qu9syx5emswpmc6gjeh7uj94x4a', + 'tmt1qy9987wg35ehqm4r0t5mr8p7z0v6y8ul4sp7yl6q', + 'tmt1qxn502fssxk8e3wpn7h24avw2anwr8y7rgdsqmle', + 'tmt1q96glhddzd2u9wcyzfeqm53yrxxqgfm66yezu0gd', + 'tmt1qy9l2pvaz84z60uvlggcy5ttxdvw825uhsxeaxc5', + 'tmt1qyafkgg0gg2aa30xztyjq8p2h4rvwkkp6gxq7q4s', + 'tmt1q98m0q352q2v5uzefvyqxh6ygen5xsn2tqkpx6dg', + 'tmt1q8y8kdh637fz9k2ex4l3efs0y7jwj9jnhgjuklm0', + 'tmt1qx06lt33pf3k9mupgk0f6nvazavfc7x02qh9hxx6', + 'tmt1qx047qhp83axt9m28u952z3ezfgj2g0ssuh98zqy', + 'tmt1qy52tfa3w4u8vwra22k67sx47qg3u4gs6vtrwvvj', + 'tmt1q8kfn6vl835y4tj5yfsdvz7ay5cjnvhv952wftmt', + 'tmt1q8sfrsquzpjsmm5xh83mju49su0c0jgzaulrlfkw', + 'tmt1qyjh7x7uqy4f07ytkv7ht0t86453rdqydcd2xd2y', + 'tmt1qyjf37tzr3cr56v0mtagn6gyl67uhghrqccwlath', + 'tmt1q96pxpm2sklxgyns9xmnzklcdy5x8a279gkqu8c7', + 'tmt1qyvqrj3p0svr953u66vejz290jfq9dvy4uvt2aa9', + 'tmt1q8klcqtwu9shl8r9gcnwn5wpy4lkpduhry6myurx', + 'tmt1qx99q958haxl97qpt3ms4d6wers0ea385slwjprz', + 'tmt1qxkhmuvfz9zxtxjqjfq5x2a8uwfay4gaevza9wrn', + 'tmt1q83jjgrhw4yst6vh3sp97n3k68tv7ja06gyy9jr3', + 'tmt1q9x34djc3x8utcpmq8yeyw4js7pdsrc85s8rmd9y', + 'tmt1q99vetzagsx274rv4qdurf58jz4ymze05y0p88af', + 'tmt1q90seqjca43jqz24avn9z7lg5f9cdw2ylgf05qz3', + 'tmt1q9qvea2ehatnjaluyq0vetkj5dx57ctf9vxy9jz0', + 'tmt1qym28j5cmpu460zaetl7kn5crnq9tswvwqgl38se', + 'tmt1qy7sykaujud0qmlg8tafcjdm9w67jm2czgq2cx0v', + 'tmt1q9092r369lp4vl4glxdec7lu56s47uy96uydmmel', + 'tmt1qy9kch3tx630nsl3d7kym69u7yhc8fuuhgg3d2n2', + 'tmt1q90wue5uj95anluewlk2cuel8xv2syzhhyecwavk', + 'tmt1qyl3che6qshpzc9943th3w9k34qh60wlcq9qat5l', + 'tmt1qylwcqnt5p0kajj6rnwa8fvrtqgf4jcvaun5h7h8', + 'tmt1q8sn805znht077zzqzxjkt7w2g9nnx2h9qzdenas', + 'tmt1qy44rwt9gplmsa35aeuv78fxk76yryng3vshtdg2', + 'tmt1q867q8jn89py2y8hg75y2s5wasxncgt8s5rqjsw9', + 'tmt1qyzhems08uhmetxl5x0l5ly9xx2m3d67pcgrhtsd', + 'tmt1q9whv475cvauea7mcpj8325ca89es490dsx2njq7', + 'tmt1q9wechc2j95xz9wjyfz87tkz6xrxc82ccghsmkm4', + 'tmt1qx6pwz2m8h8df6ayau86gjkw27gl9tzmcst0egky', + 'tmt1q8sa3x6wphsns6ssg7ewn7j7tv8fgqtfugm3vdjz', + 'tmt1q8ftr89jm4f5t6muhmafqcjnkgrvujprfv8uqcf9', + 'tmt1q8lq5pd3vtwezeh3mfk8gz4kqj6rerdzqqflf3re', + 'tmt1qyjla74qauqjf6xhta03uj270xz73s9qtu6r9fp7', + 'tmt1q943rgpgzv2z9dp3q0mgrqlrj9kdzz4jqvt3zfk2', + 'tmt1qya0asfwxwckjhvaqe9jwwxevzkz62zalgglcdfd', + 'tmt1qyekq9ass7xv5t53zyvvz6d4cgry7r337q2zldxs', + 'tmt1q8qcsup6q7njlujslz48x43ac0jewvnvcvf0eyfr', + 'tmt1q9aweeaddfqq2kq93lafdwv74auwnxv97g3u96yv', + 'tmt1q93tpxzv8k7r25786wukj2kfq3hxag78dvt7uqaz', + 'tmt1q9tptd3dfd6xr20ge64hz3pe70vwh4v5dc3qt2ej', + 'tmt1qy2dxl0nhtgv02dxljzrlknwg8skr8a3xccpmtqx', + 'tmt1q9r7tllkdswx78x4ywzuegt0eq30qrezrv0k36z9', + 'tmt1qyfg3yquen3f9nhr9g9tna6uwg42x79xasywstru', + 'tmt1qxd2uats25eh3yjjv0gyn58xmw948qvtfqkmnjw7', + 'tmt1q8z50vz0cq0a44wrskpdsy4juqjpf66wysd0h5yn', + 'tmt1qx9gwz70runw2lk6k8llc7ze5zsl0p64cck5y7l7', + 'tmt1qyuaqzy32ng0wyrpj536dwmwf8ucc05h0vcymj0q', + 'tmt1qyfqf403hv8yjmyn5lqt25hs28wzfqxce5xgaw8j', + 'tmt1qx66ux2w4cjj3ctsu9469s7k7vde6xmhkq2my0h2', + 'tmt1q832erm9ta8vwvs08qrvdj480ddquex80qfvkn8d', + 'tmt1q8w4n0hvkk985zxf3alxv3qkucnzn7r6ev8vnmgh', + 'tmt1qy2z74rsfcygs7v2rhuzt9usvpg35q24g54gq0p5', + 'tmt1qy8n4x2w9t372d625j0azr8n5p375nqd7vydfzre', + 'tmt1qx4svghfqx3hapk73eyv6wfg45e39x3tuvtdcw2w', + 'tmt1qy0zjhary7jfv5maw3zg6ayj0tnw4yuucvr6gnv0', + 'tmt1q8uv33spkezvr0az9vq958gdplaemyppgupau040', + 'tmt1q8t4z4hqs0lvctpvffke2s6nh5enj6j9e55xjgmw', + 'tmt1qxjs4wrp6zvj48hug2naku63yhs055gmfc8gy5eh', + 'tmt1q8p56kq28ssyn8pjjjj2uhhs2gskztdy7u7639g0', + 'tmt1qynsjq0s4m958qfcrfznvzs7hzwm7lx4ayl0hxxc', + 'tmt1qxhl38jacfn2k7pc5jcz62wuxrq9m23njqj2mycq', + 'tmt1q92q7cyt9aqd6lwpadwuslsvxcvchp8luvd9ln7t', + 'tmt1q9mfg7d6ul2nt5yhmm7l7r6wwyqkd822rymr83uc', + 'tmt1qxerwcejsf5dd0svl0dah7q7fy9qdvx4f5aqtzr5', + 'tmt1qx6pjamf8waastwjh52au222phwn0cu76cxy4qgc', + 'tmt1q8rc3rkdgt9cc4p78hl8ugz66rl62ufm6qqswqdu', + 'tmt1q9uc926shntennzguevunglrm5jwru3dnu3p5l36', + 'tmt1q9t8vd520n3n73smgdh693awul3mhp4vwsf83xff', + 'tmt1q9r6l7q3weqd5ckexcdf2crrgqzqv82uyu47vemy', + 'tmt1qxr8pg9suckl32jgm3a8x5z237e00c3rvcwnfsye', + 'tmt1q8vjp3lrvezlnkwhhv944f2vw2k9get4ty0fkyn3', + ], + }, + }, +}; + +export const utxos: any = [ + { + "outpoint": { + "index": 0, + "source_id": "02008dcd5fb46751f4358ec51991a5a9e4ead89e8b14c467a05ce67e32dd6be3", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "1101267fc325347ad4470d2719ee7e11422860a4", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "07b30508bb27f2d1d24bbfd00e15c77937961c0a5aee78daff69ab7894ab4922", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1qxf50ffxunjw557a9zf2et0vywkwjszyxyppa0py", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "d5836c42fdad436cf6d870585975cee0d2184c1e", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "18cf188d0e4b4456fe4fc30ab0df219803f311b32dc39351d237940b2d44d181", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q8xqrjnm0329ax0vz6929ar5srgdnyk7ryfpjcun", + "refund_timelock": { + "content": 2, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "d5836c42fdad436cf6d870585975cee0d2184c1e", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "2600197b786911b7e5d42280b4d8d30625329f6a5fbf7cda254bfd2296f10efe", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1979500000000", + "decimal": "19.795" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "2d0e8ec9e6e3b3d2bb29f8fdbb1e6f0dc81b4189f3398e37f18a6d51cba38c58", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "f768c5c4653211bbf4da5c9265ba6313d5a393cc", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "500000000000", + "decimal": "5" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "32e3110b955f51152720b842474f2d9cc37fa5bcd768962600e80602ef7bee79", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1979500000000", + "decimal": "19.795" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "353482529e8ff9fa9957be78b1195dbd1581128cec8feacbe102ebd3dd7b0743", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "300000000000", + "decimal": "3" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "36b345e034e1b3e7a3f77026dfa61febf302433a7826e6deb7e757889a64b525", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "100000000000", + "decimal": "1" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "3e898a89510b504c6ebaf7a97de80fde78fae2bc39feca9b597c50878baef5f5", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "100000000", + "decimal": "1" + }, + "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "3f8b9797f2001ce175c9200c167f34084c891b8c7a6a6505bc0387c380ed5ff3", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "500000000000", + "decimal": "5" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 2, + "source_id": "4b7259c782539fbb9d4de06f16de3d0dcaa22ec7f803a95c2e7b9f0eca917aaf", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "850", + "decimal": "8.5" + }, + "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "4e7fc6e7cca5e0fb049ba651fe0817e88dd13551992f4690d193de1bf852e41f", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2000000000000", + "decimal": "20" + }, + "token_id": "tmltk18wg2xa7qxflwmcjpcd7nepsrsjj0gcrqyc7k5ej4cq5q3lf7ry7qtm2l6z", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "587beafe53c305b97dc20d45269f155e296d147bc901a716a4d014909127486d", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "6eef7e70fe3707df6f912b52b9f715ed54f2391e2de3d17d4ee4c1eba61bdf4b", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "4c996b383c0a4dad48453d83fc0f5b8be9d168d0", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "700000000000", + "decimal": "7" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "794fca2e7c05ba6590dcebe3955c1474100925928120555c4bd4d0846271c422", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "02b0413b1e2556f129a7cf6f473db3126cbdf905", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "100000000000000", + "decimal": "1000" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "7a067e2f1283e016acb329ae270a70ef6bb20e4c57295eb94b639bbcaffb8431", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "6fe48221f25bee488253b95514bd67aed628c848", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "7f649f23c3156d5578053787f6e038094e73eed2ade2609b20e777ce9ad1aae6", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "4eedf874d47922af32bf99e99e2762b84b2033af", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "token_id": "tmltk16u754a6su60wd3tra669a3gt0su79zehqeavu4ffgrnjzgaedasqtfurcu", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "7fa02a5e261dc75eb8064b21148d21094c9ed024a97f471805aba1d4182fb4b8", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "fda150393bd88ae479b77f5cfacfb00fd7714de7", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "82bb063aeee13b757e430dde13a535a71321027a44cfd7c286a1fd85053f2c4d", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "8dfc9bb801d88d4bb7089dad86981dcc4e51580636ad39d9f3214039da54e71a", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "lock": { + "content": 7200, + "type": "ForBlockCount" + }, + "type": "LockThenTransfer", + "value": { + "amount": { + "atoms": "357236695312", + "decimal": "3.57236695312" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "924a88f321d79a781765732c9c4393474c5f3dc2cb39fc79576068a45d2272a4", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2000000000000", + "decimal": "20" + }, + "token_id": "tmltk18wg2xa7qxflwmcjpcd7nepsrsjj0gcrqyc7k5ej4cq5q3lf7ry7qtm2l6z", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "9f4aa07f1a757ab47fb73e85e2ac99b14561fa9385abcbc19c3e5e82dc2e75e8", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "500000000000", + "decimal": "5" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "a3687185dc27a069051176caca5667ea8736c0f73efae1eef408a82a7ec02ad1", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "100000000000", + "decimal": "1" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "a5405cdbb850432c521f2f49a1f710a9c9b80261b28b0004e0a5ab1c0952d408", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000", + "decimal": "10" + }, + "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "a54c0c59701d68ae694ed3f25eb20e292bbf6118401837543aeaead5bb62d481", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "a5ffb69a7f1d55b6bd24f1005d06f8e686c7c8368e4f08bd9f111caf3f4e972a", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "a70436ed21cb86647d8add185026f5d9297354bca64966f632f56cc125e86620", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "lock": { + "content": 7200, + "type": "ForBlockCount" + }, + "type": "LockThenTransfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "af7421d349fc775d145ead4ddafc03ad5d40cd01bcfa9e3c9d938830b623e8f1", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "420722199999", + "decimal": "4.20722199999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "c36a94a28fdfecfa725fda8a4f4db8e2853508f34331f03665747123720ac023", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "800000000000", + "decimal": "8" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "cb054eb15ddbdb8335e0d631200dbb0b2598e1e7836fa4e7228a6fe56f266547", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "900000000000", + "decimal": "9" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "cca5dfad1cd0e3d16b0aa69ad7cbc2ea2fd89927f094338f549102ffbfd57962", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "d1477c3741d1d8de3048006f7cddf503a1522a29943409c3bf93e99ec8b13039", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "d5836c42fdad436cf6d870585975cee0d2184c1e", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "d2b0490b0c09f35bfaadbf42e3b4e239c6fa805596a95c14fe1edbef5f63e97d", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "f3379f953cf661374eaf6f5e22fe3d96342f4e75", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "d383642287fc39d1892d446c1fee58913eb84f0ac505c88c1de7efdd1c0d6ac9", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1", + "decimal": "1" + }, + "token_id": "tmltk1wvfgu57geuqrjzxmnk48jmnp5salnd0ggmcymxl6u3h6wk7smnjqjrr0u6", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "df0bdf831ff2d18d19341db98939b090ff5d488e95e192bb513479c199002181", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1200000000000", + "decimal": "12" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "e3243fd63eb9c408d063347cc9b30ceb10c49f643982ef2c9f05e36f470cf238", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000", + "decimal": "10" + }, + "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "e35239b6fe6fc71d8be7674b14fb1cbc2608211e91a09e1b2625a38aa2c1cb5b", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2000000000", + "decimal": "20" + }, + "token_id": "tmltk1aa3vvztufv5m054klp960p6f6pf59ugxp394x7n42v0clgwhrw3q3mpcq3", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "ef71dec210cd51f2eabcea872471488e15c16585e34cb34c881326bd2bf7a133", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "6e5900c63f50ae616d0685346f772d21e306116a", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "f056cfbf09a1c99c6c2d2f9ae48b9a972cb04fb24ce813f2aaea75dd8f3c2cd9", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1200000000000", + "decimal": "12" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "f5e9285010a6ffa2b905d1005752585ac9f7e675cb51d6b8831d5ffef0b07714", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1100000000", + "decimal": "0.011" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "f5e9285010a6ffa2b905d1005752585ac9f7e675cb51d6b8831d5ffef0b07714", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "6000", + "decimal": "0.06" + }, + "token_id": "tmltk1n3wyw2p20s0vmxk3kkmgq7mk83ppwtcunf9u9xx4x4npe568wrlqpcsm60", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "ffd401fef8220c55d1e3d563be0631bc23561fa25f1821f2316d2667aa641d3b", + "source_type": "Transaction" + }, + "utxo": { + "htlc": { + "refund_key": "tmt1q9874wgx6enm2mzfu0yxhzleu84pp00l95l7er5z", + "refund_timelock": { + "content": 20, + "type": "ForBlockCount" + }, + "secret_hash": { + "hex": "1f77324adee4138c9dca5c9dd9645e0f11128ce1", + "string": null + }, + "spend_key": "tmt1q9r4gz3aevjm38yq8ycd6gl3kqd25xh4jqzjthdc" + }, + "type": "Htlc", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "926c94dc22eb4eafa67c3b1290a370cd3f9a2f0d73494c8b0d5f895654a5f733", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q970wu9q4ygpmry4hl6cpmu8ackfssr52cmam7cv", + "lock": { + "content": 7200, + "type": "ForBlockCount" + }, + "type": "LockThenTransfer", + "value": { + "amount": { + "atoms": "581900000000", + "decimal": "5.819" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "2600197b786911b7e5d42280b4d8d30625329f6a5fbf7cda254bfd2296f10efe", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1000000000000", + "decimal": "10" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 2, + "source_id": "2df8e01cd9032565bf5e9412179d61fdf9de57bfefbe8d459d6c6194092b4d75", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", + "type": "Transfer", + "value": { + "amount": { + "atoms": "800000000000", + "decimal": "8" + }, + "token_id": "tmltk16u754a6su60wd3tra669a3gt0su79zehqeavu4ffgrnjzgaedasqtfurcu", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "3a2a79afac20c258b2552e35235cf63ce56f03c028c81fd9517529e91523e2b3", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", + "type": "Transfer", + "value": { + "amount": { + "atoms": "20000000000", + "decimal": "0.2" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "452f6be59ddc915de17d188578e33b87b1ace3d05bafd9db0e517cd2936479af", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", + "type": "Transfer", + "value": { + "amount": { + "atoms": "100000000000", + "decimal": "1" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 0, + "source_id": "855df2fc24d790977621c9b7c71431240628335ff16137b3c5077331b13d5320", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8fx589gdhcpprz0mcewca7a7h4wmtzeqccj4jdv", + "type": "Transfer", + "value": { + "amount": { + "atoms": "200000000000", + "decimal": "2" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 2, + "source_id": "5e753c87c602e0dca468c89f04be603e0cc50341ee72e6f79efcdde04ddb9990", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8ajt3428lvvrnjcmql75eskzrke79m3gut4wrr9", + "type": "Transfer", + "value": { + "amount": { + "atoms": "900", + "decimal": "9" + }, + "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 2, + "source_id": "0cae3977cd50e69a6f0965ebb2eae377b3c645bfb609d9bdbe8a091a5b46f51c", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9nnl8hjrklglcmlmuhqudmpqmu4gk45kv23dws4", + "type": "Transfer", + "value": { + "amount": { + "atoms": "900", + "decimal": "9" + }, + "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "f345c12e8fe49a31fbc170d02ef353ba5f3d153d0774ac6150cb4633e5f7e3db", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qypsu28kmljech6ycpeyr6xau80gzzetyc40ssa9", + "type": "Transfer", + "value": { + "amount": { + "atoms": "399979600000", + "decimal": "3.999796" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "dc0b22352e38f000a32cc11e96f01c8d42edd6ddb555ec231b1a32e8c550a38b", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8pq6f76cqzraqq77gsyx2wd89lqj9v9gulcq5yk", + "type": "Transfer", + "value": { + "amount": { + "atoms": "399979600000", + "decimal": "3.999796" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "5b9546059108d0e8de61a72aa37e29cfbefe290795e649b2f2a820d89320869c", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q85nz0ws92ycuwdz277hz9smcfef0elrx52lt9j4", + "type": "Transfer", + "value": { + "amount": { + "atoms": "80299999", + "decimal": "0.00080299999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "92736fa654595a87de20ccb21de0022c7ad334121821a8f0bd4a81f2110869b4", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q85nz0ws92ycuwdz277hz9smcfef0elrx52lt9j4", + "type": "Transfer", + "value": { + "amount": { + "atoms": "299980099999", + "decimal": "2.99980099999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "683b0229045b7fac2abcf610b80ce457c1618edb3f0978ed5d1e9c850a065f93", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8jrnmnz7l8xluqltlz8fn84utnvyvu4eynawd2w", + "type": "Transfer", + "value": { + "amount": { + "atoms": "499976099999", + "decimal": "4.99976099999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "7303d30f3a1bd50023c6a6ce04b6a6bd8ed6a52894dbb838335287c24b1c0dd5", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q8jrnmnz7l8xluqltlz8fn84utnvyvu4eynawd2w", + "type": "Transfer", + "value": { + "amount": { + "atoms": "420679600002", + "decimal": "4.20679600002" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "c92215e813ef077bf72bed3d8c674ad14a1c4cd4e74b4fb07c61806852dfea8c", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxnfr4ldfhw0nu8e9j886gda78pskd5x0ce4dtxj", + "type": "Transfer", + "value": { + "amount": { + "atoms": "164457400000", + "decimal": "1.644574" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "3fc7f046c469662d76288bdcff644f207d9e995083da1b815e8592ccd91d5f14", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxn6genn5dl765l9gvnnjjz7eskxu06fhu83cpk5", + "type": "Transfer", + "value": { + "amount": { + "atoms": "6565137000000", + "decimal": "65.65137" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "51302ab77194411379329aa554441a5770fbfc15785898dec64f2dd579c42f07", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9rf82jeumtgerw4466klpagkt6dntxs9grle2xv", + "type": "Transfer", + "value": { + "amount": { + "atoms": "678553014634", + "decimal": "6.78553014634" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "448df090988917537b5eb75ffdf205194c3605d22dfca915178203c9e05708f3", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxx0vzs63gk6lshh2y6gjsd3lrc96tlylu3zw7vs", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1009189420999", + "decimal": "10.09189420999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "96a74f89ecfe6e8012f779be1886ab5bf3897c63f91505c4832a798dcae87a6a", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q86t57ztrn0kuy3w3j0y3chndpey86t94q9klpe9", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1476956899999", + "decimal": "14.76956899999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "6d0a797845b61837c664fb1d231b0d25a449af744c4350836ee3b7740aecfa9c", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxk7dhf35yqqtxzkzw4qtmjt6zgnsegvkymr3xmn", + "type": "Transfer", + "value": { + "amount": { + "atoms": "814408597000", + "decimal": "8.14408597" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "f73f299aeb22d3a7c448c95ed54ed1f1db9feb4997355df78b09dc21f9b95003", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qx3nukxnwz4w7wr83n4tazurjm0h8vdxtyqqutkw", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2976999999999", + "decimal": "29.76999999999" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "c98fc69652950e32300b66f0b1fb17b9efe3d73309d63d06b7b37cd29cbc4e9b", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxk5z3hxxz2d4a2r38apavavn4scgxjwfslwpxju", + "type": "Transfer", + "value": { + "amount": { + "atoms": "4978400000000", + "decimal": "49.784" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "d85ec939c4e2d07cc7d6d2ea59de4a9a2d30135a993ee3595120e0d8a396c994", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qy057e98kk4uejlhlhnv0f4dsyhv3k2vwyegze9x", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2065400000000", + "decimal": "20.654" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "4d9f395bdef68657647fb8391f47e316362a91921a6be616fc418e1a61da317f", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9suyjfwphp4eyngt5eahxwcslf8dddlwu8eppw5", + "type": "Transfer", + "value": { + "amount": { + "atoms": "479600000000", + "decimal": "4.796" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "211e736f110ab150b25aaf4bd3fc245245c08f34196bcf5db742f1c95d7b36b5", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9pr35hhmn0xz2kpuywggqx6e7r92mlqpqzxuwy0", + "type": "Transfer", + "value": { + "amount": { + "atoms": "619600000000", + "decimal": "6.196" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "4f88698e2bc7cffc2911ec3001bb0a75c5cf64a2477bdc4a006e3c8305510347", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9pfjhs3mraa48nsy6w0xr4ugfmk7q5rz5krh3lu", + "type": "Transfer", + "value": { + "amount": { + "atoms": "79600000000", + "decimal": "0.796" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "062c9d5697581032b32ac4b047f24a593ea66ff0a6c19c6002dcc6329afa7327", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qy2wgrkyhjca0n7sgruhkpveaqd54069zyumsu82", + "type": "Transfer", + "value": { + "amount": { + "atoms": "943100000000", + "decimal": "9.431" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "a526d0f31672e909768ca64448e9c6c3162bf2a9de84c0de161f2234268e2553", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qyamfy8w4j5jwhtpe6s83mknf28xkzqhlqlffspp", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2956900000000", + "decimal": "29.569" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 2, + "source_id": "a526d0f31672e909768ca64448e9c6c3162bf2a9de84c0de161f2234268e2553", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qyamfy8w4j5jwhtpe6s83mknf28xkzqhlqlffspp", + "type": "Transfer", + "value": { + "amount": { + "atoms": "500", + "decimal": "5" + }, + "token_id": "tmltk1une5v627lk0cln0y4g8cxxvk62rye9qaqp97h2m5r5puljyqzgrqrq5530", + "type": "TokenV1" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "5590cc368ca8d8f58f6e5c911f240394129a3740ec73a765ed03ad128bd7ff83", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxrmj2hvazy2z33xud4zka600qcdx3shds8esrns", + "type": "Transfer", + "value": { + "amount": { + "atoms": "615600000000", + "decimal": "6.156" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "905707d48d732d251631cc75866ba01b403e8d71525a32353d526d0277dbffc0", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q962xawnwxcf2kymxrp2hygyavh3e2ju8yrl97wc", + "type": "Transfer", + "value": { + "amount": { + "atoms": "31778712498", + "decimal": "0.31778712498" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "0de401d085df0eb4f7aa10b510d9466e295646ef22527ac2d755b865f3bee8a3", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1q9kvpnw7p0k3hs7vsd6fxyl6lzstqxq2vy0v9knx", + "type": "Transfer", + "value": { + "amount": { + "atoms": "2615000000000", + "decimal": "26.15" + }, + "type": "Coin" + } + } + }, + { + "outpoint": { + "index": 1, + "source_id": "3a2a79afac20c258b2552e35235cf63ce56f03c028c81fd9517529e91523e2b3", + "source_type": "Transaction" + }, + "utxo": { + "destination": "tmt1qxy3dfn29xn0qdx0x0ncgvhg8wvdaeau7cvdz4u4", + "type": "Transfer", + "value": { + "amount": { + "atoms": "1159500000000", + "decimal": "11.595" + }, + "type": "Coin" + } + } + } +] diff --git a/packages/sdk/tests/__mocks__/accounts/account_signer.ts b/packages/sdk/tests/__mocks__/accounts/account_signer.ts index 8321109..0f5c50b 100644 --- a/packages/sdk/tests/__mocks__/accounts/account_signer.ts +++ b/packages/sdk/tests/__mocks__/accounts/account_signer.ts @@ -1,10 +1,11 @@ export const seed_phrase = process.env.TEST_SEED_PHRASE || 'test'; export const addresses: any = { - mainnet: {}, - testnet: { - receiving: ['tmt1qycauu4rc92v80vpjrtkqjv2utr7jl5ygve28sdt'], - change: ['tmt1qxrwc3gy2lgf4kvqwwfa388vn3cavgrqyyrgswe6'], + addressesByChain: { + mintlayer: { + receiving: ['tmt1qycauu4rc92v80vpjrtkqjv2utr7jl5ygve28sdt'], + change: ['tmt1qxrwc3gy2lgf4kvqwwfa388vn3cavgrqyyrgswe6'], + }, }, }; diff --git a/packages/sdk/tests/client.test.ts b/packages/sdk/tests/client.test.ts index 4b5c30e..d0b5f92 100644 --- a/packages/sdk/tests/client.test.ts +++ b/packages/sdk/tests/client.test.ts @@ -7,19 +7,21 @@ beforeEach(() => { (window as any).mojito = { isExtension: true, - connect: jest.fn().mockResolvedValue( - { - testnet: { + connect: jest.fn().mockResolvedValue({ + addressesByChain: { + mintlayer: { receiving: ['taddr1receiving'], - change: ['taddr1change'] - } - } - ), + change: ['taddr1change'], + }, + }, + }), restore: jest.fn().mockResolvedValue({ - testnet: { - receiving: ['taddr1receiving'], - change: ['taddr1change'] - } + addressesByChain: { + mintlayer: { + receiving: ['taddr1receiving'], + change: ['taddr1change'], + }, + }, }), disconnect: jest.fn().mockResolvedValue(undefined), request: jest.fn().mockResolvedValue('signed-transaction'), diff --git a/packages/sdk/tests/htlc.test.ts b/packages/sdk/tests/htlc.test.ts index 37569b3..13867d2 100644 --- a/packages/sdk/tests/htlc.test.ts +++ b/packages/sdk/tests/htlc.test.ts @@ -2,7 +2,7 @@ import { Client } from '../src/mintlayer-connect-sdk'; import fetchMock from 'jest-fetch-mock'; import { createHash } from 'crypto' -import { addresses, utxos } from './__mocks__/accounts/account_01' +import { addresses, utxos } from './__mocks__/accounts/account_02' beforeEach(() => { fetchMock.resetMocks();