ecash-coinselect
Version:
An unspent transaction output (UTXO) selection module for eCash.
824 lines (822 loc) • 24.6 kB
JavaScript
// Copyright (c) 2023 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// @generated
;
module.exports = {
chronikUtxos: [
{
"outputScript": "76a9140b7d35fda03544a08e65464d54cfae4257eb6db788ac",
"utxos": [
{
"outpoint": {
"txid": "b3f4427b4358aec002330f0501e2daab59b273e9418427580029b88c50c1210f",
"outIdx": 1
},
"blockHeight": 761405,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "54dc2ecd5251f8dfda4c4f15ce05272116b01326076240e2b9cc0104d33b1484"
},
"slpToken": {
"amount": "15000000000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "9e5a4286b7157d5f3aee856f6f2ae48cca40d5f78deead7f98be86ae7ca2ab4e",
"outIdx": 1
},
"blockHeight": 767635,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "861dede36f7f73f0af4e979fc3a3f77f37d53fe27be4444601150c21619635f4"
},
"slpToken": {
"amount": "550",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "d67763057d19056ba485e9d1c51c84e992e7a7e4ac7436a24f5e0b8fabce8fec",
"outIdx": 1
},
"blockHeight": 770420,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "861dede36f7f73f0af4e979fc3a3f77f37d53fe27be4444601150c21619635f4"
},
"slpToken": {
"amount": "50",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "6ed1be901c6fea4b7fe54304d426be2ea392d9be2fcbc11ff8a47e0afbcb092c",
"outIdx": 1
},
"blockHeight": 783287,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "3ecf2c5c1bfb65c686b6f0f7369dc3f084adb45c26eef6bc052d2c6fc8caf8d8"
},
"slpToken": {
"amount": "10",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "ddd8ae571bc44cd64b85666744879e8880d9bf5a8ea1b540b0b56bce4633c758",
"outIdx": 1
},
"blockHeight": 783497,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "3ecf2c5c1bfb65c686b6f0f7369dc3f084adb45c26eef6bc052d2c6fc8caf8d8"
},
"slpToken": {
"amount": "10",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "ddd8ae571bc44cd64b85666744879e8880d9bf5a8ea1b540b0b56bce4633c758",
"outIdx": 2
},
"blockHeight": 783497,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "3ecf2c5c1bfb65c686b6f0f7369dc3f084adb45c26eef6bc052d2c6fc8caf8d8"
},
"slpToken": {
"amount": "30",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "a86315e9f7eff2dfbd2d42c34cf4b7f3ea8e66abc54d932fa7decd54983171f5",
"outIdx": 1
},
"blockHeight": 789786,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "524aa21e99318dfb4be282433fee38cc48cc716b1311c69e20583d29c53bc217"
},
"slpToken": {
"amount": "100",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "a86315e9f7eff2dfbd2d42c34cf4b7f3ea8e66abc54d932fa7decd54983171f5",
"outIdx": 2
},
"blockHeight": 789786,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "524aa21e99318dfb4be282433fee38cc48cc716b1311c69e20583d29c53bc217"
},
"slpToken": {
"amount": "190",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "489e9cf15d2308ca1bc726c5fba69114339506c08ab749e652b8c265cb134234",
"outIdx": 1
},
"blockHeight": 789801,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "42b10218dfb1f997d5723d181f28a960e064987a3e184406f47b772395aeb85f"
},
"slpToken": {
"amount": "5000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "7f9fc35f4d28b9aea7a3fbfae7c837c52061d85c1c2624b35dbf75989e50cc36",
"outIdx": 1
},
"blockHeight": 789953,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "18e5cc79b608f03ed461f99240424b308b137c5e4fa683058a558600df0ee11d"
},
"slpToken": {
"amount": "5000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "8512cce7726a939cef969671d8a3b888ba8a8d551c335d8b21097516060c4c45",
"outIdx": 1
},
"blockHeight": 789953,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "18e5cc79b608f03ed461f99240424b308b137c5e4fa683058a558600df0ee11d"
},
"slpToken": {
"amount": "200",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "601591db9b84659e998aa3dd2286f094da147cd08bd4d1124635f1ed57806355",
"outIdx": 1
},
"blockHeight": 797846,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "4bd147fc5d5ff26249a9299c46b80920c0b81f59a60e05428262160ebee0b0c3"
},
"slpToken": {
"amount": "1",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "fbcb7147770f63aa74eab0e3bf219d1a39489cecd420ad48a368113e47deefbb",
"outIdx": 2
},
"blockHeight": 797888,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "e1aab3e7f68de43c288982bfc53f9502de7463b352beb545fc9ef919fd58f222"
},
"slpToken": {
"amount": "4734000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "f189376fd662b113e5da5904e318123aee5f573221e57a2545849ac556f31130",
"outIdx": 2
},
"blockHeight": 798068,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "867342146adfe1e95e8de4fdc9550b8b74f5472215e98661bbf1c4bb689115ab"
},
"slpToken": {
"amount": "495000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "620b019c5a824655f862d1e39b23f86fc22fcc5ee75c483922890de86ac9ad22",
"outIdx": 1
},
"blockHeight": 798086,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "ce9e6c09e6b85b94366776459e6ff5cdc4eddd03ef26219a17716c7fa766e71b"
},
"slpToken": {
"amount": "100",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "aaccd2934d15bae314e7cdc9c0fefbb9ccf36b6d2407a922fb0cb8167187fc33",
"outIdx": 1
},
"blockHeight": 798086,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "524aa21e99318dfb4be282433fee38cc48cc716b1311c69e20583d29c53bc217"
},
"slpToken": {
"amount": "100",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "19c1a55234e9295ad78375fb8f748408fc4903c2426757cf5985dd159d9f80e2",
"outIdx": 2
},
"blockHeight": 798122,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "e1aab3e7f68de43c288982bfc53f9502de7463b352beb545fc9ef919fd58f222"
},
"slpToken": {
"amount": "95000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "40d3da44d497a52b87495e2edabafb178365d715f69c76a09ca376b17f641313",
"outIdx": 2
},
"blockHeight": 798123,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "e1aab3e7f68de43c288982bfc53f9502de7463b352beb545fc9ef919fd58f222"
},
"slpToken": {
"amount": "48000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "1b59feeb756e59c8df26af0f636dfb7c6fd466743539617cee49d60ffda02994",
"outIdx": 0
},
"blockHeight": 799480,
"isCoinbase": false,
"value": "900",
"network": "XEC"
},
{
"outpoint": {
"txid": "1b59feeb756e59c8df26af0f636dfb7c6fd466743539617cee49d60ffda02994",
"outIdx": 1
},
"blockHeight": 799480,
"isCoinbase": false,
"value": "38052",
"network": "XEC"
}
]
}
],
parsedChronikUtxos: {
"xecUtxos": [
{
"outpoint": {
"txid": "1b59feeb756e59c8df26af0f636dfb7c6fd466743539617cee49d60ffda02994",
"outIdx": 0
},
"blockHeight": 799480,
"isCoinbase": false,
"value": "900",
"network": "XEC"
},
{
"outpoint": {
"txid": "1b59feeb756e59c8df26af0f636dfb7c6fd466743539617cee49d60ffda02994",
"outIdx": 1
},
"blockHeight": 799480,
"isCoinbase": false,
"value": "38052",
"network": "XEC"
}
],
"slpUtxos": [
{
"outpoint": {
"txid": "b3f4427b4358aec002330f0501e2daab59b273e9418427580029b88c50c1210f",
"outIdx": 1
},
"blockHeight": 761405,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "54dc2ecd5251f8dfda4c4f15ce05272116b01326076240e2b9cc0104d33b1484"
},
"slpToken": {
"amount": "15000000000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "9e5a4286b7157d5f3aee856f6f2ae48cca40d5f78deead7f98be86ae7ca2ab4e",
"outIdx": 1
},
"blockHeight": 767635,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "861dede36f7f73f0af4e979fc3a3f77f37d53fe27be4444601150c21619635f4"
},
"slpToken": {
"amount": "550",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "d67763057d19056ba485e9d1c51c84e992e7a7e4ac7436a24f5e0b8fabce8fec",
"outIdx": 1
},
"blockHeight": 770420,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "861dede36f7f73f0af4e979fc3a3f77f37d53fe27be4444601150c21619635f4"
},
"slpToken": {
"amount": "50",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "6ed1be901c6fea4b7fe54304d426be2ea392d9be2fcbc11ff8a47e0afbcb092c",
"outIdx": 1
},
"blockHeight": 783287,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "3ecf2c5c1bfb65c686b6f0f7369dc3f084adb45c26eef6bc052d2c6fc8caf8d8"
},
"slpToken": {
"amount": "10",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "ddd8ae571bc44cd64b85666744879e8880d9bf5a8ea1b540b0b56bce4633c758",
"outIdx": 1
},
"blockHeight": 783497,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "3ecf2c5c1bfb65c686b6f0f7369dc3f084adb45c26eef6bc052d2c6fc8caf8d8"
},
"slpToken": {
"amount": "10",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "ddd8ae571bc44cd64b85666744879e8880d9bf5a8ea1b540b0b56bce4633c758",
"outIdx": 2
},
"blockHeight": 783497,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "3ecf2c5c1bfb65c686b6f0f7369dc3f084adb45c26eef6bc052d2c6fc8caf8d8"
},
"slpToken": {
"amount": "30",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "a86315e9f7eff2dfbd2d42c34cf4b7f3ea8e66abc54d932fa7decd54983171f5",
"outIdx": 1
},
"blockHeight": 789786,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "524aa21e99318dfb4be282433fee38cc48cc716b1311c69e20583d29c53bc217"
},
"slpToken": {
"amount": "100",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "a86315e9f7eff2dfbd2d42c34cf4b7f3ea8e66abc54d932fa7decd54983171f5",
"outIdx": 2
},
"blockHeight": 789786,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "524aa21e99318dfb4be282433fee38cc48cc716b1311c69e20583d29c53bc217"
},
"slpToken": {
"amount": "190",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "489e9cf15d2308ca1bc726c5fba69114339506c08ab749e652b8c265cb134234",
"outIdx": 1
},
"blockHeight": 789801,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "42b10218dfb1f997d5723d181f28a960e064987a3e184406f47b772395aeb85f"
},
"slpToken": {
"amount": "5000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "7f9fc35f4d28b9aea7a3fbfae7c837c52061d85c1c2624b35dbf75989e50cc36",
"outIdx": 1
},
"blockHeight": 789953,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "18e5cc79b608f03ed461f99240424b308b137c5e4fa683058a558600df0ee11d"
},
"slpToken": {
"amount": "5000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "8512cce7726a939cef969671d8a3b888ba8a8d551c335d8b21097516060c4c45",
"outIdx": 1
},
"blockHeight": 789953,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "18e5cc79b608f03ed461f99240424b308b137c5e4fa683058a558600df0ee11d"
},
"slpToken": {
"amount": "200",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "601591db9b84659e998aa3dd2286f094da147cd08bd4d1124635f1ed57806355",
"outIdx": 1
},
"blockHeight": 797846,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "4bd147fc5d5ff26249a9299c46b80920c0b81f59a60e05428262160ebee0b0c3"
},
"slpToken": {
"amount": "1",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "fbcb7147770f63aa74eab0e3bf219d1a39489cecd420ad48a368113e47deefbb",
"outIdx": 2
},
"blockHeight": 797888,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "e1aab3e7f68de43c288982bfc53f9502de7463b352beb545fc9ef919fd58f222"
},
"slpToken": {
"amount": "4734000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "f189376fd662b113e5da5904e318123aee5f573221e57a2545849ac556f31130",
"outIdx": 2
},
"blockHeight": 798068,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "867342146adfe1e95e8de4fdc9550b8b74f5472215e98661bbf1c4bb689115ab"
},
"slpToken": {
"amount": "495000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "620b019c5a824655f862d1e39b23f86fc22fcc5ee75c483922890de86ac9ad22",
"outIdx": 1
},
"blockHeight": 798086,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "ce9e6c09e6b85b94366776459e6ff5cdc4eddd03ef26219a17716c7fa766e71b"
},
"slpToken": {
"amount": "100",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "aaccd2934d15bae314e7cdc9c0fefbb9ccf36b6d2407a922fb0cb8167187fc33",
"outIdx": 1
},
"blockHeight": 798086,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "524aa21e99318dfb4be282433fee38cc48cc716b1311c69e20583d29c53bc217"
},
"slpToken": {
"amount": "100",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "19c1a55234e9295ad78375fb8f748408fc4903c2426757cf5985dd159d9f80e2",
"outIdx": 2
},
"blockHeight": 798122,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "e1aab3e7f68de43c288982bfc53f9502de7463b352beb545fc9ef919fd58f222"
},
"slpToken": {
"amount": "95000",
"isMintBaton": false
},
"network": "XEC"
},
{
"outpoint": {
"txid": "40d3da44d497a52b87495e2edabafb178365d715f69c76a09ca376b17f641313",
"outIdx": 2
},
"blockHeight": 798123,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "e1aab3e7f68de43c288982bfc53f9502de7463b352beb545fc9ef919fd58f222"
},
"slpToken": {
"amount": "48000",
"isMintBaton": false
},
"network": "XEC"
}
]
},
chronikUtxosSlpOnly: [
{
"outputScript": "76a9140b7d35fda03544a08e65464d54cfae4257eb6db788ac",
"utxos": [
{
"outpoint": {
"txid": "b3f4427b4358aec002330f0501e2daab59b273e9418427580029b88c50c1210f",
"outIdx": 1
},
"blockHeight": 761405,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "54dc2ecd5251f8dfda4c4f15ce05272116b01326076240e2b9cc0104d33b1484"
},
"slpToken": {
"amount": "15000000000",
"isMintBaton": false
},
"network": "XEC"
}
]
}
],
parsedChronikUtxosSlpOnly: {
"xecUtxos": [],
"slpUtxos": [{
"outpoint": {
"txid": "b3f4427b4358aec002330f0501e2daab59b273e9418427580029b88c50c1210f",
"outIdx": 1
},
"blockHeight": 761405,
"isCoinbase": false,
"value": "546",
"slpMeta": {
"tokenType": "FUNGIBLE",
"txType": "SEND",
"tokenId": "54dc2ecd5251f8dfda4c4f15ce05272116b01326076240e2b9cc0104d33b1484"
},
"slpToken": {
"amount": "15000000000",
"isMintBaton": false
},
"network": "XEC"
}]
},
chronikUtxosXecOnly: [
{
"outputScript": "76a9140b7d35fda03544a08e65464d54cfae4257eb6db788ac",
"utxos": [
{
"outpoint": {
"txid": "1b59feeb756e59c8df26af0f636dfb7c6fd466743539617cee49d60ffda02994",
"outIdx": 1
},
"blockHeight": 799480,
"isCoinbase": false,
"value": "38052",
"network": "XEC"
}
]
}
],
parsedChronikUtxosXecOnly: {
"xecUtxos": [{
"outpoint": {
"txid": "1b59feeb756e59c8df26af0f636dfb7c6fd466743539617cee49d60ffda02994",
"outIdx": 1
},
"blockHeight": 799480,
"isCoinbase": false,
"value": "38052",
"network": "XEC"
}],
"slpUtxos": []
}
};