From a7b3553acc123e2c84bd4cb7fc4f1245ceafcf9b Mon Sep 17 00:00:00 2001 From: Shook Date: Thu, 22 Aug 2024 19:27:04 +0800 Subject: [PATCH 1/3] refactor: optimize performance of RgbppCollector.queryBtcTimeLockTxByBtcTxId() --- src/routes/rgbpp/address.ts | 5 +-- src/routes/rgbpp/transaction.ts | 2 +- src/services/rgbpp.ts | 68 +++++++++++++++++---------------- 3 files changed, 38 insertions(+), 37 deletions(-) diff --git a/src/routes/rgbpp/address.ts b/src/routes/rgbpp/address.ts index 40031cf3..f5ed3ad5 100644 --- a/src/routes/rgbpp/address.ts +++ b/src/routes/rgbpp/address.ts @@ -309,10 +309,9 @@ const addressRoutes: FastifyPluginCallback, Server, ZodType const ckbTx = await fastify.ckb.rpc.getTransaction(rgbppLockTx.txHash); setCkbTxAndStatus(ckbTx); } else { - // XXX: this is a performance bottleneck, need to optimize - const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTxId(btcTx.txid); + const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTxId(btcTx); if (btcTimeLockTx) { - setCkbTxAndStatus(btcTimeLockTx as TransactionWithStatus); + setCkbTxAndStatus(btcTimeLockTx); } } return isomorphicTx; diff --git a/src/routes/rgbpp/transaction.ts b/src/routes/rgbpp/transaction.ts index 7a46dfe3..1f8d2783 100644 --- a/src/routes/rgbpp/transaction.ts +++ b/src/routes/rgbpp/transaction.ts @@ -77,7 +77,7 @@ const transactionRoute: FastifyPluginCallback, Server, ZodT reply.header(CUSTOM_HEADERS.ResponseCacheable, 'true'); return { txhash: rgbppLockTx.txHash }; } - const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTxId(btc_txid); + const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTxId(btcTx); if (btcTimeLockTx) { reply.header(CUSTOM_HEADERS.ResponseCacheable, 'true'); return { txhash: btcTimeLockTx.transaction.hash }; diff --git a/src/services/rgbpp.ts b/src/services/rgbpp.ts index 9a118a1e..1352bd5d 100644 --- a/src/services/rgbpp.ts +++ b/src/services/rgbpp.ts @@ -4,7 +4,6 @@ import * as Sentry from '@sentry/node'; import { IndexerCell, leToU128, - isScriptEqual, buildRgbppLockArgs, genRgbppLockScript, btcTxIdFromBtcTimeLockArgs, @@ -13,11 +12,10 @@ import { } from '@rgbpp-sdk/ckb'; import { remove0x } from '@rgbpp-sdk/btc'; import { unpackRgbppLockArgs } from '@rgbpp-sdk/btc/lib/ckb/molecule'; -import { groupBy, uniq, findLastIndex } from 'lodash'; +import { groupBy, findLastIndex } from 'lodash'; import { z } from 'zod'; import { Job } from 'bullmq'; import { BI, RPC, Script } from '@ckb-lumos/lumos'; -import { TransactionWithStatus } from '@ckb-lumos/base'; import { computeScriptHash } from '@ckb-lumos/lumos/utils'; import { Cell, XUDTBalance } from '../routes/rgbpp/types'; import { Transaction, UTXO } from './bitcoin/schema'; @@ -25,7 +23,7 @@ import BaseQueueWorker from './base/queue-worker'; import DataCache from './base/data-cache'; import { Cradle } from '../container'; import { isCommitmentMatchToCkbTx, tryGetCommitmentFromBtcTx } from '../utils/commitment'; -import { getBtcTimeLock, isBtcTimeLock, isRgbppLock } from '../utils/lockscript'; +import { getRgbppLock, isBtcTimeLock, isRgbppLock } from '../utils/lockscript'; import { IS_MAINNET, TESTNET_TYPE } from '../constants'; type GetCellsParams = Parameters; @@ -270,37 +268,41 @@ export default class RgbppCollector extends BaseQueueWorker { + const args = buildRgbppLockArgs(vout, txid); + return this.cradle.ckb.rpc.getTransactions( + { + script: { + ...rgbppLock, + args, + }, + scriptType: 'lock', + groupByTransaction: true, + }, + 'asc', + '0x64', + ); + }), + ) + ) + .map(({ objects }) => objects) + .flat(); - const txHashes = uniq(btcTimeLockTxs.objects.map(({ txHash }) => txHash)); - const batchRequest = this.cradle.ckb.rpc.createBatchRequest(txHashes.map((txHash) => ['getTransaction', txHash])); - const transactions: TransactionWithStatus[] = await batchRequest.exec(); - if (transactions.length > 0) { - for (const tx of transactions) { - const isBtcTimeLockTx = tx.transaction.outputs.some((output) => { - if (!isScriptEqual(output.lock, getBtcTimeLock())) { - return false; - } - const outputBtcTxId = btcTxIdFromBtcTimeLockArgs(output.lock.args); - return remove0x(outputBtcTxId) === btcTxId; - }); - if (isBtcTimeLockTx) { - return tx; + for (const tx of relatedCkbTxs) { + const ckbTx = await this.cradle.ckb.rpc.getTransaction(tx.txHash); + const isBtcTimeLockTx = ckbTx.transaction.outputs.some((output) => { + if (!isBtcTimeLock(output.lock)) { + return false; } + const outputBtcTxId = btcTxIdFromBtcTimeLockArgs(output.lock.args); + return remove0x(outputBtcTxId) === btcTx.txid; + }); + if (isBtcTimeLockTx) { + return ckbTx; } } return null; From b1277d4aca6150faa43e0c71c36273b0c4915b68 Mon Sep 17 00:00:00 2001 From: Shook Date: Thu, 22 Aug 2024 19:41:47 +0800 Subject: [PATCH 2/3] chore: update activity api snapshot --- .../rgbpp/__snapshots__/address.test.ts.snap | 991 ++++++++++++++++-- 1 file changed, 909 insertions(+), 82 deletions(-) diff --git a/test/routes/rgbpp/__snapshots__/address.test.ts.snap b/test/routes/rgbpp/__snapshots__/address.test.ts.snap index 49bcaf80..ba974ccf 100644 --- a/test/routes/rgbpp/__snapshots__/address.test.ts.snap +++ b/test/routes/rgbpp/__snapshots__/address.test.ts.snap @@ -404,7 +404,108 @@ exports[`/:btc_address/activity 1`] = ` ], "weight": 882, }, - "isRgbpp": false, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x1444a8763cd9a5ce6dd7e6a04aae6d1c82987f272031417203ae67b8f05d6a5f", + }, + }, + ], + "hash": "0x90bd8b7f120fa808249a21029c7ff31cf9e464dfabb016994868199bf647b6d5", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0x83078f4ba34e1556a23b73576cb17f687febb32c4f8e345d5672414e9638d8f8", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000a09d52a2f16ce808fdee14dc2cb800917bf10a939d5665e027e575698be498b2", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputsData": [ + "0xa200000010000000190000007e00000005000000646f622f30610000007b22626c6f636b5f6e756d626572223a31333230333531322c2263656c6c5f6964223a31333330333434383439393839393937363030302c22646e61223a223831363161396536636130336130366333323461623637653361306166646535227d20000000c1097c85aa781d2cd3c017dc911eceab94644cfe2dd714ae7f7bbe4b75accb08", + ], + "version": "0x0", + "witnesses": [ + "0xa005000010000000a0050000a00500008c0500008c050000140000001600000018000000c200000000000101a6000000020000000239e3e48846c5d8b095409bb712ba4128c6e3e557ed4afa9967f6ed2c4294144b0000000000ffffffffc01f575aa3df1e2b123a32ebb059f7621de2dd1a6915f3147ebbc719ab95c8fe0100000000ffffffff020000000000000000226a20c0cc27b12593a61071c59012f6f2f4fb2674960659e2670a2249a082b13a1c1226610b0000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000c6040000c604000014000000180000001c0000003a0200008906000076102b001a0200000000002026d417031455be4cd340132c611361609f82983b2effb6b6c29e4cd90000000079ec1d6ce0829f93daeac85e6c95d8ea60a33c36164c1682471cc1f94a9b7f74335d7966ffff001d1c9d4e7b051700000e07476aada5b6a1d5a99e2482802b3f9832346930590ef43dd6ecb2669ad40b4f82c61151fa5a1a71b8a3594a426692ef60e7aea93c2fd8394438b986efafba280d824e6b4fca224f7683c8d46f1485518561662b274acb03faea3d577df22855ade36e7eac2b7ca0c583b069b1627b74a161039ca95052d441d337c40a44fdb39fe69f6561a2027342cfb1d135353d48c952905dbe22734ecd7b9ba16fc9a80fa09d52a2f16ce808fdee14dc2cb800917bf10a939d5665e027e575698be498b2ae104c258f094c46398963dfa32a04a68ba004bd82b28f106a80102735ecdfe257099bc44073a9e429dbbc1bb1eecd41c0ec48fb4c3eaf8c754f36a0ad6eb70608d4d3b2f7b60aae57e3059f469247ee98fcab41dcdcd8ee1ee7f6057bb918f78225d807bc8daffc027ec19b15393128d7db82e44e0e5d8827a8de3b2c9b592490247af331c55af5b244e46e9d4d65ae08e8202266e5f2a4b2fde8a1af367ca9e4c4db9017704ecf82d9cce902da3df28c8fba9ba936d28940091ca8a3ec40e1c0c31703613f3966567d289f2c4e58b17e1c13131d235f3ef3d79fa951bd6aac020e404ae7e42f0047d6e36dfc42188d91e72756014a34b86e73491cf92da84804d7de050009000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0f2b00173cb6436c032a611d0000000000000000000000000000000000000000000000ca4f561bfea2c0c758d74cece399da6288596aefe532af1c6702699f39fa9439e00f2b005f102b00e44cefb269bcd98d02000000000000000000000000000000000000000000000024d17af112fc88fda603fe5cd46b09a4d70bf56e979592b89a30b1c7944c3dd460102b006f102b0024dcbf23a525c58200000000000000000000000000000000000000000000000069911e7db7957ba71e6ba737b9a9e3670feb68e5cfbaea0eba05f9c703715c4370102b0073102b0004000400040000000000000000000000000000000000000000000000000000000c4381d72c113362fd6cb965cd35fd7993c22ac366c0c888435eeba20a76325974102b0075102b000200020002000000000000000000000000000000000000000000000000000000544c287f2047f1b330cab2423be5838982c093eb25672d97d4a832c610204db2", + "0x010000ffbd0100000c0000001000000000000000ad01000008000000a5010000080000009d0100001000000030000000500000005490760feb68efb3e3c158660bd86792ad1c4f55c36025dda6c0e5bdc91e483f913ce0ad6f0ec0884cb9427c342c44ba6dcdd5ee559c2f17f3310987187c1cc449010000010000004501000010000000300000008d000000ad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8000000005900000010000000300000003100000061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c324801240000000000000039e3e48846c5d8b095409bb712ba4128c6e3e557ed4afa9967f6ed2c4294144b00000000b400000010000000300000003100000000cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326017f0000007f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000a09d52a2f16ce808fdee14dc2cb800917bf10a939d5665e027e575698be498b2", + ], + }, + "inputs": [ + { + "capacity": "0x9502f9000", + "lock": { + "args": "0x0000000039e3e48846c5d8b095409bb712ba4128c6e3e557ed4afa9967f6ed2c4294144b", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0xad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000a09d52a2f16ce808fdee14dc2cb800917bf10a939d5665e027e575698be498b2", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "status": { + "confirmed": true, + }, + }, }, { "btcTx": { @@ -530,7 +631,108 @@ exports[`/:btc_address/activity 1`] = ` ], "weight": 881, }, - "isRgbpp": false, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x95c94fcca474dcbdb54f3485659af6288cd0cee0a8c3058abeac5c675e0baa66", + }, + }, + ], + "hash": "0x9e0aca460eb2cbc1c56e52e5c20093c657b37d0f7ff8be267c17e0a365ec223f", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0x66e98781debb036d720c2f27e3add3a9451733fd47976e75c4b415c40c7d7601", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000c01f575aa3df1e2b123a32ebb059f7621de2dd1a6915f3147ebbc719ab95c8fe", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xf93eaac0a2dcb1f85aa00dcd7d239155452fe88401c626adade16441b46d3193", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputsData": [ + "0xa200000010000000190000007e00000005000000646f622f30610000007b22626c6f636b5f6e756d626572223a31333230333534332c2263656c6c5f6964223a31313233373437313536303933363930333030302c22646e61223a223035653764353933643065376536336334393238626563653939663966343433227d20000000c1097c85aa781d2cd3c017dc911eceab94644cfe2dd714ae7f7bbe4b75accb08", + ], + "version": "0x0", + "witnesses": [ + "0xa005000010000000a0050000a00500008c0500008c050000140000001600000018000000c200000000000101a60000000200000002f1d217058ae6cd445048658f2237b5b3065456123fd35c1f0bd8a634885cf4950000000000ffffffffbb362e95dace744536dfd2ad56dba1d72bef57488574c26b4d027810ad4d529b0000000000ffffffff020000000000000000226a20fdcacc58dcc4a9c0abd579afd468c084219ca61fb22ae44976cc17d42948c47132410c0000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000c6040000c604000014000000180000001c0000003a020000b60200006e102b001a0200000000002009e6e1df1f2b5c8574ff28a6a503f8c967a505a6d1471da90e9ff7090000000057ef2e64d03f789e8635e050fd75e0cefc35e959bfadd6591ff5d1af89ea932467367966ffff001d54786de6081700000ef06f1205650a4a778bf0e4f86aec86df5a942c906b2a3a3b07d8bcf52ebf3e565ba93abd6d79ad6c91063c90e217537dfa99c596f0c995440b1dc36dd33f32b3c8500e856632314316bd5278dbd946e1cb5129476c372daa723c1fdad93f8231756165dad521d22bc21fa5d810b4b74c61b3db8c837d0a4a9ba9a8201629d96c9ada424bf4e62acf4adf98c0419ecedf0b9419ff09a0098ec374371cb7151540036e9a0992116c679705d40416191a463097910f39849e975091a75658887b10c01f575aa3df1e2b123a32ebb059f7621de2dd1a6915f3147ebbc719ab95c8fec158b1c9522ef2fdc3398e30fcb6510daa3023fd0e71facaf8187dd036fef64999de6fb9d33e0a80c867cebb9af07c08e838d24505e4e290b8daf7c6b2c0e2d3891782628a9bc52581d726d09add0d6237292e90815099bb00da7771ddcc7522497c423f4c544991fff6612c402412fb8c34e8df7194b992595ef2e29f49f3acd4cc519cde69870473572249ad864083c52296a9d973c7240ffc0831890d757a6ed36fff37dbcc7ae2fa0fc29546d203662d9a9b19631821e5d7d775b7cc0ae8de25af6b96b773b392f438a2f282942334473d45750c1d6332da00aa40afa6e9046f6b0d0009000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0f2b00173cb6436c032a611d0000000000000000000000000000000000000000000000ca4f561bfea2c0c758d74cece399da6288596aefe532af1c6702699f39fa9439e00f2b005f102b00e44cefb269bcd98d02000000000000000000000000000000000000000000000024d17af112fc88fda603fe5cd46b09a4d70bf56e979592b89a30b1c7944c3dd460102b0067102b0017e5cbda37dc1362000000000000000000000000000000000000000000000000e84102aaada025b85934828444b613f5bdcd9f199447b86c9e1db1ba8cb1b39a68102b006b102b0009f7ef486949b12000000000000000000000000000000000000000000000000079e70174021af70ad6692d649c13a93e01fce94f161caf2df0bd2fd96def06306c102b006d102b0002000200020000000000000000000000000000000000000000000000000000008b17d0eecab9188b9440571c10138832e0277d326327690cea9adc55d009eed4", + "0x010000ffbd0100000c0000001000000000000000ad01000008000000a5010000080000009d010000100000003000000050000000610d6afa7d47e0c813bcb6e11635ab66eaddebe82b7c5faf8c9cb0a36279e169f8c08a400e8990955dafb47d4bfcd9a716a822022daff68b511334491b59a5dd49010000010000004501000010000000300000008d000000f93eaac0a2dcb1f85aa00dcd7d239155452fe88401c626adade16441b46d3193000000005900000010000000300000003100000061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248012400000000000000f1d217058ae6cd445048658f2237b5b3065456123fd35c1f0bd8a634885cf49500000000b400000010000000300000003100000000cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326017f0000007f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000c01f575aa3df1e2b123a32ebb059f7621de2dd1a6915f3147ebbc719ab95c8fe", + ], + }, + "inputs": [ + { + "capacity": "0x9502f9000", + "lock": { + "args": "0x00000000f1d217058ae6cd445048658f2237b5b3065456123fd35c1f0bd8a634885cf495", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0xf93eaac0a2dcb1f85aa00dcd7d239155452fe88401c626adade16441b46d3193", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000c01f575aa3df1e2b123a32ebb059f7621de2dd1a6915f3147ebbc719ab95c8fe", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xf93eaac0a2dcb1f85aa00dcd7d239155452fe88401c626adade16441b46d3193", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "status": { + "confirmed": true, + }, + }, }, { "btcTx": { @@ -1113,7 +1315,108 @@ exports[`/:btc_address/activity 1`] = ` ], "weight": 880, }, - "isRgbpp": false, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x02e658b9d490ed911d22b59dc8f8ca4a868a8e7f77b5c9f2b0d738df989b53cf", + }, + }, + ], + "hash": "0x0ac7356169f8f41a4435a474dfb8189eb0337528777df5aee0187533b76a20d7", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0x2a5c8fa1ec9f61ad8efa16cb4d95af13fa46583544a495b702f188cde31fe3e4", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000b9b5184836cf6625a414fc456dbf2b3869949e430e6af9376d0d554848684bdb", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputsData": [ + "0xa200000010000000190000007e00000005000000646f622f30610000007b22626c6f636b5f6e756d626572223a31333230333531322c2263656c6c5f6964223a31333330333434383439393839393937363030302c22646e61223a223831363161396536636130336130366333323461623637653361306166646535227d20000000c1097c85aa781d2cd3c017dc911eceab94644cfe2dd714ae7f7bbe4b75accb08", + ], + "version": "0x0", + "witnesses": [ + "0xa005000010000000a0050000a00500008c0500008c050000140000001600000018000000c200000000000101a60000000200000002cc1fa8f3533ed191e753ebda991c15e988107c3f6da0fd81980de086c141debc0000000000fffffffff26f046e18ea6c8662a4101c4b276fb018af5ec4008f2395b60d28183b12e2f60300000000ffffffff020000000000000000226a20047c23cc337ac78379b3b8daef7c572daca48d097b3de7b8cfea8484c7ff8a9c51f8000000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000c6040000c604000014000000180000001c0000003a020000a201000058102b001a020000000000204f13751bfbf549a7a282d6b0758eacef1f65e479faa665e3c2a8c98300000000ce6c16d5dd863fb7232ccb8d6c40226f71f31e973e0eca9532c03a33aac81db061ef7866ffff001d09b23375d41700000e3f718888f28d683b8fa86fd966663607360769bacfa8dc8f84b79dd445405ca9e499f95c604754eb83708e5955993a003cc544b620b1c196f1884d84ac173f943df6e0dc4b3936c226d8e89a62343670d5e319bff42eb474eae6eae2dc8384f9aae09be4fd74e409a16132e7541a1ab8a54f3b31afb98d8b9f65570dde970416b9b5184836cf6625a414fc456dbf2b3869949e430e6af9376d0d554848684bdb461129fa23a88d1c7b7fca85bc1d7234cd98653ba9a3cbd40652d6e39ee1f51ce4b3f90eedb20fe820064ed1a8cb1b5c1a5c571a3671b2cc5021729bf9cd152786363cfe1ed04601e0ca44585770b47670f8d5dcb9699bffe2e4d46e3874242a13aeb2360cd70239eb399ecb951845645d9c53b12c75f444c38436f6b71d03082afdf3f4ea672587e71e1397f61a2aba6e7d163ee901c18bbb022ebe5d4a8819a3d2fdb1e9b364927d5b4e0df8710346e189c327a8ed0ea1e2d27e0c42654d43549061ca2f59c3107f789d4a719cc183949dc9acff4dffa6f47d06f3a60f901b9149bd88a05bb83070d886752f6b001fd13648901ba7d04dc6dec0def85512230752bb275c41c4d1382baaba8407014dae878311cd16c5fb5f90160d3747c4b1045f7b030009000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0f2b00173cb6436c032a611d0000000000000000000000000000000000000000000000ca4f561bfea2c0c758d74cece399da6288596aefe532af1c6702699f39fa9439e00f2b001f102b00779d63229a279e67010000000000000000000000000000000000000000000000f1224c3403bef8cf76f36b316d71d70700c2d9b395ee85782c64b62893c9fdf920102b003f102b003ecaa7b57fb827c40000000000000000000000000000000000000000000000002e6fd6b0c0531fcf03bf3fb0ea71162dc126b70fd96945ba51c48f208ceef5cf40102b004f102b001aeee791da926241000000000000000000000000000000000000000000000000aaadfd0d522dd8c9bed875dfe1bee3236f14bf23c68fda5c339e9817868d984e50102b0057102b000800080008000000000000000000000000000000000000000000000000000000e455fef8c4e7b3049215b2e906848cf344a3ec7c7f2f9a7d01dc08d1262307f2", + "0x010000ffbd0100000c0000001000000000000000ad01000008000000a5010000080000009d0100001000000030000000500000005490760feb68efb3e3c158660bd86792ad1c4f55c36025dda6c0e5bdc91e483f913ce0ad6f0ec0884cb9427c342c44ba6dcdd5ee559c2f17f3310987187c1cc449010000010000004501000010000000300000008d000000ad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8000000005900000010000000300000003100000061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248012400000000000000cc1fa8f3533ed191e753ebda991c15e988107c3f6da0fd81980de086c141debc00000000b400000010000000300000003100000000cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326017f0000007f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000b9b5184836cf6625a414fc456dbf2b3869949e430e6af9376d0d554848684bdb", + ], + }, + "inputs": [ + { + "capacity": "0x9502f9000", + "lock": { + "args": "0x00000000cc1fa8f3533ed191e753ebda991c15e988107c3f6da0fd81980de086c141debc", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0xad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000b9b5184836cf6625a414fc456dbf2b3869949e430e6af9376d0d554848684bdb", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xad6f99db6e63b3dadd1939d85c210f834b76bb508731a51ef540680ad17e6af8", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "status": { + "confirmed": true, + }, + }, }, { "btcTx": { @@ -1646,49 +1949,149 @@ exports[`/:btc_address/activity 1`] = ` "scriptpubkey_type": "v0_p2wpkh", "value": 546, }, - "scriptsig": "", - "scriptsig_asm": "", - "sequence": 4294967295, - "txid": "7bb43ceef1d3f603141ead9fc0852e23c7eb84f868bf866bbc670ed9f4378665", - "vout": 0, - "witness": [ - "30440220131db7ee6a75eaf4529023f60233f79dc54a12015a3db7e1da7235fd1fdd2ef2022000b54660fd8fd736b5e64176033991ae14c42cde7c822608bd8e6c98b2c7440583", - "034941782143891c72ce81dd5ba5c5ab64c6a5e269a86d33010c7a6149dc237a13", - ], + "scriptsig": "", + "scriptsig_asm": "", + "sequence": 4294967295, + "txid": "7bb43ceef1d3f603141ead9fc0852e23c7eb84f868bf866bbc670ed9f4378665", + "vout": 0, + "witness": [ + "30440220131db7ee6a75eaf4529023f60233f79dc54a12015a3db7e1da7235fd1fdd2ef2022000b54660fd8fd736b5e64176033991ae14c42cde7c822608bd8e6c98b2c7440583", + "034941782143891c72ce81dd5ba5c5ab64c6a5e269a86d33010c7a6149dc237a13", + ], + }, + ], + "vout": [ + { + "scriptpubkey": "6a206eb1ead0366a45ce9926ac5bc7165e32b3efd2ddc642be71b3b483acc83e5f64", + "scriptpubkey_asm": "OP_RETURN OP_PUSHBYTES_32 6eb1ead0366a45ce9926ac5bc7165e32b3efd2ddc642be71b3b483acc83e5f64", + "scriptpubkey_type": "op_return", + "value": 0, + }, + { + "scriptpubkey": "00149c76450de82d1ce126b3a90846775b60f343631a", + "scriptpubkey_address": "tb1qn3my2r0g95wwzf4n4yyyva6mvre5xcc6l72uzk", + "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 9c76450de82d1ce126b3a90846775b60f343631a", + "scriptpubkey_type": "v0_p2wpkh", + "value": 1092, + }, + { + "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", + "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_type": "v0_p2wpkh", + "value": 546, + }, + { + "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", + "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_type": "v0_p2wpkh", + "value": 642308, + }, + ], + "weight": 1128, + }, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xbf6fb538763efec2a70a6a3dcb7242787087e1030c4e7d86585bc63a9d337f5f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x49153359c02d71b50097ca3580f16df9f58456e1336e0d91652d433590f2b163", + }, + }, + ], + "hash": "0x296978f0952148ab9b4828f875e7cb646cfd2d8cd56702113d50d9cdf7c7dc86", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0xcfd5296560be20bc424d758206b28e9744e6446079f3b58351e31596c3e6e0fa", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0x5e9e620d3", + "lock": { + "args": "0x02000000128e230d269fd2244072847616f7ea34e72deb8d0a9864beda2aae6caf9cb1af", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x1ba116c119d1cfd98a53e9d1a615cf2af2bb87d95515c9d217d367054cfc696b", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", + }, + }, + ], + "outputsData": [ + "0x02000000000000000000000000000000", + ], + "version": "0x0", + "witnesses": [ + "0x0d060000100000000d0600000d060000f9050000f90500001400000016000000180000000001000000000101e40000000200000002e058567c33fea3eb8381f62b3903b70434a1edcea29d536a5f21660908667bcb0300000000ffffffff658637f4d90e67bc6b86bf68f884ebc7232e85c09fad1e1403f6d3f1ee3cb47b0000000000ffffffff040000000000000000226a206eb1ead0366a45ce9926ac5bc7165e32b3efd2ddc642be71b3b483acc83e5f6444040000000000001600149c76450de82d1ce126b3a90846775b60f343631a2202000000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b04cd090000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000f5040000f504000014000000180000001c000000d9010000970200002d0f2b00b90100009b4de420185884460bf1e676a191c406b51d9e41cc6dc590e73085fc03e7efe500000000da15626c16e0afbf86dc42a3284a6718ca935ecd0c7282ad1784338efefaf94800397566ffff001d698cd301870300000b6ee76436d3aa142ec9976e5ca9cec455443ea94c8c7623330d1c9f719d273f7686f8ff6827acf1711b2bec40e74347958f48f9d4921e6ab816dc322b2e473d2daefaf3dfc33a66bcbe9e6ebbca5a038bf3ce88fd84c4224fc91400502eb02582a890cb10aa46516251db23b10bc20407ec325fbe0097bc3d8cc08e851ef9da92295f45274efc91968c02c50badd1a22b38de65c7b096109307e4c15a0cc0033e467b123e705aca56a3dac625721eb66170952da945ab5aa0856506fa2feb16a2128e230d269fd2244072847616f7ea34e72deb8d0a9864beda2aae6caf9cb1af6b3d80c77b58ec2dae1eedfa4430855a22df004ad2e73d27849a2cd24386189df10310b48aeb69fa2e620491356590fc7c60525eb741038aeb65931d3c0a2a41dcfdee9c752b5910528d76cd3c13c1c26e720236cd14cfbe15b4fae7bd1039ea533e9d8188fc6be9272eb0ae2685399f91a3c738c208f2751f9643875d644cee03ed56010b000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0b2b0014d5c5e8ab77d5391000000000000000000000000000000000000000000000004df8954eb31a4d820673ba3d423fc1e47f83972824e9b3d88785812fc408b1c7e00b2b00df0d2b00aad056b173c18b57040000000000000000000000000000000000000000000000f732324505b1bb19e81eca2bcae7223fe3db1c4a6a20c350effa72f15d370283e00d2b00df0e2b0091fcba43795115b4030000000000000000000000000000000000000000000000131fda1af5e45a8e0dd691c19d416609869ec7d973b97805b2ae827ca4d32116e00e2b001f0f2b007c944f6bff704f880100000000000000000000000000000000000000000000008c9cb7aafeddc2343caf4e6b48c4566087238dc50b921b4620e428e4e31d03cd200f2b00270f2b000800080008000000000000000000000000000000000000000000000000000000a80d66843600912e5f866f319624b926cd2928bcaae0c85a0c534cf2dec810a9280f2b002b0f2b00040004000400000000000000000000000000000000000000000000000000000047be37e8977ffc1127498964c70db38db16adf140890484557a91bafcf5cfef42c0f2b002c0f2b000100010001000000000000000000000000000000000000000000000000000000185884460bf1e676a191c406b51d9e41cc6dc590e73085fc03e7efe500000000", + ], + }, + "inputs": [ + { + "capacity": "0x5e9f53e00", + "lock": { + "args": "0x00000000658637f4d90e67bc6b86bf68f884ebc7232e85c09fad1e1403f6d3f1ee3cb47b", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x1ba116c119d1cfd98a53e9d1a615cf2af2bb87d95515c9d217d367054cfc696b", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", + }, }, ], - "vout": [ - { - "scriptpubkey": "6a206eb1ead0366a45ce9926ac5bc7165e32b3efd2ddc642be71b3b483acc83e5f64", - "scriptpubkey_asm": "OP_RETURN OP_PUSHBYTES_32 6eb1ead0366a45ce9926ac5bc7165e32b3efd2ddc642be71b3b483acc83e5f64", - "scriptpubkey_type": "op_return", - "value": 0, - }, - { - "scriptpubkey": "00149c76450de82d1ce126b3a90846775b60f343631a", - "scriptpubkey_address": "tb1qn3my2r0g95wwzf4n4yyyva6mvre5xcc6l72uzk", - "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 9c76450de82d1ce126b3a90846775b60f343631a", - "scriptpubkey_type": "v0_p2wpkh", - "value": 1092, - }, - { - "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", - "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_type": "v0_p2wpkh", - "value": 546, - }, + "outputs": [ { - "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", - "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_type": "v0_p2wpkh", - "value": 642308, + "capacity": "0x5e9e620d3", + "lock": { + "args": "0x02000000128e230d269fd2244072847616f7ea34e72deb8d0a9864beda2aae6caf9cb1af", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x1ba116c119d1cfd98a53e9d1a615cf2af2bb87d95515c9d217d367054cfc696b", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", + }, }, ], - "weight": 1128, + "status": { + "confirmed": true, + }, }, - "isRgbpp": false, }, { "btcTx": { @@ -2601,7 +3004,108 @@ exports[`/:btc_address/activity 1`] = ` ], "weight": 881, }, - "isRgbpp": false, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x2392b9fb776e99ed6ffc0130ca0777975a4ee9a58e9be6f70b9b97ee75ce6c14", + }, + }, + ], + "hash": "0xdd76d2abf75d02713550b6023ddcdc601d8ff575735966f4a807df47921c9321", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0x620655606e54cd6866c96dca745fa974c978e217700cbf01f241d0e78c4ea810", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0xa7a356755", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000663be0945e05cd2a5c47cb590939ea0b5dc078e4b419a1d010680e9ece68b5fb", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0x081755ac3fb992ced84ba476ce253b4fecb468d64f9ba76154d92ef12b28fc30", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputsData": [ + "0xd40000001000000024000000b0000000100000006170706c69636174696f6e2f6a736f6e880000007b226e616d65223a22556e69636f726e20426f78222c227265736f75726365223a7b2275726c223a2268747470733a2f2f6172736565642e77656233696e6672612e6465762f306b4e437450376169417253596f6c6e424f656466705545493948554b7273323142443772495247735677222c2274797065223a22696d6167652f6a706567227d7d20000000ed3d643329453a418a8902a40c225ca81f405904b4ec9509ff09048240d30a86", + ], + "version": "0x0", + "witnesses": [ + "0xc006000010000000c0060000c0060000ac060000ac060000140000001600000018000000c200000000000101a60000000200000002850b51ebb251f7e87ce3ecd22b23d2ab55a0cfa2599afa322788042141bc7d7d0000000000ffffffff7aee8c0195b0059bff52c305eda8d087bc29dee90cf23f1c7589e185044b1b8d0000000000ffffffff020000000000000000226a20957c6f5e6298792860ca29cd3ee404fc230e37da6c6a3de39f44b8f8d9a9a3da9849060000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000e6050000e605000014000000180000001c0000003a02000020050000db0e2b001a02000000004b228d419ff0d79f2d7709bc07da75ed1d738a69ec51418e11fc3d691b9000000000e8f415de17c7aa164deaf2d0875195e42f47250739c1135444dd0de2cf24985ccdfe73669ed407194619b945061300000e98e02bc3cd709769360459ee6e476cad63f069ceb896e26bb15377d8845ee998dd9c5d02d8cc5ba1fc9fff1621422c9dfc875262391f3fe727924145bb692b1d87b5cdcc4dea794d1baf83058ef0c3df5f872f410e62bf2086e3b51fa0605555663be0945e05cd2a5c47cb590939ea0b5dc078e4b419a1d010680e9ece68b5fbc164b50846875a08880af614c105a1b50e93cc370c0b40bc72dcedb53f183aa6bb63d4a6fcf606ae98eeea3f5c8c77c1ec751e4cdcf062ea1c40be3d2c1692fa6c341c3a210c952b949943ca08a13f17e86f1f81c25e9d1c66e10a09f1cefbf8ca7a3841426e5541f86dabfe7403c9b9040c5c96d64040fac06a12d1ce6077211e2f96855c183c9cb6dc3682d750cb7860473d38894b1e0ed508f3d2f363de57e7865144452f1e3fcfb33c913bc5bf2d167d8e5fd4f66aea2ff3f0bf9dcdff2f5ff766b07e0eb0ca9f74c0417df2aa029921187e6f40a724970bd1dbf43325673621b45b02ca985e756541ebdcef6dcff303b18e862ca681770a6a56701e34e66d79473295cdd4099a8d1ce3f436eb921c0058ec04545a0ce4b3ec57bb28994f07e534f3ecd21cd630d04897d88ec7e4acec91d4f084c8869ec27ef1671179b804b7fb01000d000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0b2b0014d5c5e8ab77d5391000000000000000000000000000000000000000000000004df8954eb31a4d820673ba3d423fc1e47f83972824e9b3d88785812fc408b1c7e00b2b00df0d2b00aad056b173c18b57040000000000000000000000000000000000000000000000f732324505b1bb19e81eca2bcae7223fe3db1c4a6a20c350effa72f15d370283e00d2b005f0e2b00adafcb900f953b2601000000000000000000000000000000000000000000000003c23dfa193370f0eb4f617ca6da2279223c0942008ccc0d3e4efba2d0c27de4600e2b009f0e2b005ecac7b59fb827c4000000000000000000000000000000000000000000000000ad5f208c0ddb1583f22895d2c6131d117b11b9802e6bb89a3c465bd07f198325a00e2b00bf0e2b0048b87f474a4b8a05010000000000000000000000000000000000000000000000c807f649547f0736a0b30df5dfcd0fd5d071700ebe704b63627a41a0d7aed9afc00e2b00cf0e2b001fe5d3da3fdc1362000000000000000000000000000000000000000000000000d2d1e7e30fd66ec7fd1f4e48e280b5a628334096073c664465ed99a3a3645d1dd00e2b00d70e2b000df7f3486d49b120000000000000000000000000000000000000000000000000932372e3c0a237951dbee560389e73318610e9b8f4b8312855a53ffbe03849cdda0e2b00da0e2b0001000100010000000000000000000000000000000000000000000000000000008d419ff0d79f2d7709bc07da75ed1d738a69ec51418e11fc3d691b9000000000d80e2b00d90e2b000200020002000000000000000000000000000000000000000000000000000000d9913d21d6130755e7790b646c34d8599a6927524ea8d4830b229821c3f4da7e", + "0x010000ffbd0100000c0000001000000000000000ad01000008000000a5010000080000009d0100001000000030000000500000005557202ef8dee3c23a77e77d276ffd0b574a62dd8ab9fa24f2df77275a0f0f38e2b32995d87f94fd51b7da38d2045f6a64adc586409155a678b6b0f51a82750a49010000010000004501000010000000300000008d000000081755ac3fb992ced84ba476ce253b4fecb468d64f9ba76154d92ef12b28fc30000000005900000010000000300000003100000061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248012400000000000000850b51ebb251f7e87ce3ecd22b23d2ab55a0cfa2599afa322788042141bc7d7d00000000b400000010000000300000003100000000cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326017f0000007f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000663be0945e05cd2a5c47cb590939ea0b5dc078e4b419a1d010680e9ece68b5fb", + ], + }, + "inputs": [ + { + "capacity": "0xa7a358200", + "lock": { + "args": "0x00000000850b51ebb251f7e87ce3ecd22b23d2ab55a0cfa2599afa322788042141bc7d7d", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x081755ac3fb992ced84ba476ce253b4fecb468d64f9ba76154d92ef12b28fc30", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputs": [ + { + "capacity": "0xa7a356755", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000663be0945e05cd2a5c47cb590939ea0b5dc078e4b419a1d010680e9ece68b5fb", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0x081755ac3fb992ced84ba476ce253b4fecb468d64f9ba76154d92ef12b28fc30", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "status": { + "confirmed": true, + }, + }, }, { "btcTx": { @@ -2854,54 +3358,175 @@ exports[`/:btc_address/activity 1`] = ` "scriptpubkey_type": "v0_p2wpkh", "value": 546, }, - "scriptsig": "", - "scriptsig_asm": "", - "sequence": 4294967295, - "txid": "684f7edf1e4d43fb7078d0e7d01e545c8d310a67ab121bc140be93c5cbe0206e", - "vout": 1, - "witness": [ - "3044022065e33e97ee0f8e2f1b38ded94c7e93eab092c1f92cd930d114628505d32252aa022007a18695cbe28286f1e843547acbc8dcffe5d7d374b62a0c8d4b8feadaee3b6201", - "0200225a2f27f88aedc79c94c43e7d66578039e09a3bdbb2af333cbce530c503ac", - ], + "scriptsig": "", + "scriptsig_asm": "", + "sequence": 4294967295, + "txid": "684f7edf1e4d43fb7078d0e7d01e545c8d310a67ab121bc140be93c5cbe0206e", + "vout": 1, + "witness": [ + "3044022065e33e97ee0f8e2f1b38ded94c7e93eab092c1f92cd930d114628505d32252aa022007a18695cbe28286f1e843547acbc8dcffe5d7d374b62a0c8d4b8feadaee3b6201", + "0200225a2f27f88aedc79c94c43e7d66578039e09a3bdbb2af333cbce530c503ac", + ], + }, + { + "is_coinbase": false, + "prevout": { + "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", + "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_type": "v0_p2wpkh", + "value": 1034355, + }, + "scriptsig": "", + "scriptsig_asm": "", + "sequence": 4294967295, + "txid": "e061afdb4a5e04332e272fd6db7099fa6f5892fedc9877447566ef84c1d3a0e4", + "vout": 1, + "witness": [ + "3045022100aebb323e913e551718ae79e2cd0848585a467799b24a72750be75d1102a02d29022001410ae47273b53a7592eb547fc2c9801070e9640ae6be4d48361e5c0cd14b7a01", + "0200225a2f27f88aedc79c94c43e7d66578039e09a3bdbb2af333cbce530c503ac", + ], + }, + ], + "vout": [ + { + "scriptpubkey": "6a20a4a91d0af09dc38047bec37e1e2dbfefda309ff6cf1eff9f05aba5621061f5cb", + "scriptpubkey_asm": "OP_RETURN OP_PUSHBYTES_32 a4a91d0af09dc38047bec37e1e2dbfefda309ff6cf1eff9f05aba5621061f5cb", + "scriptpubkey_type": "op_return", + "value": 0, + }, + { + "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", + "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", + "scriptpubkey_type": "v0_p2wpkh", + "value": 954527, + }, + ], + "weight": 1153, + }, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xbf6fb538763efec2a70a6a3dcb7242787087e1030c4e7d86585bc63a9d337f5f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x62aadc3bb29b50c16150f49f3d2b67bdb601e88c687b1693a300451c2b36dfc3", + }, + }, + ], + "hash": "0x94319c341a4360b3f78f210579735e169d93fada265b138f04c5ff5da0e455aa", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0xdf4520f7eabe786404895a36a81ec2ccb5225c189fb5a7328658d1096673302f", + }, + "since": "0x0", + }, + { + "previousOutput": { + "index": "0x0", + "txHash": "0x226fc61ce2a19eb2938420b945d81a5ba17dabeff7a8b414c36cb77afcfbdc10", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0xbd3ea30ab", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac011600000000015bc506bf1a48c209d068ae4d68655309ddcf818c060000006fa6262bfc2a1fcf3dc12845d195283f86eac20712f6424e18dcb044688681e3", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0x30d3fbec9ceba691770d57c6d06bdb98cf0f82bef0ca6e87687a118d6ce1e7b7", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", + }, + }, + ], + "outputsData": [ + "0x00c2eb0b000000000000000000000000", + ], + "version": "0x0", + "witnesses": [ + "0xc905000010000000c9050000c9050000b5050000b5050000140000001600000018000000eb00000000000201cf000000020000000313cdf1136cd418515b4cd59aab73df96ad08baeb462d01ba726a6afa98c3feac0100000000ffffffff6e20e0cbc593be40c11b12ab670a318d5c541ed0e7d07870fb434d1edf7e4f680100000000ffffffffe4a0d3c184ef6675447798dcfe92586ffa9970dbd62f272e33045e4adbaf61e00100000000ffffffff020000000000000000226a20a4a91d0af09dc38047bec37e1e2dbfefda309ff6cf1eff9f05aba5621061f5cb9f900e0000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000c6040000c604000014000000180000001c0000003a020000500a0000880e2b001a0200000000e726ac8436732ae89cbe4222558b0e597e6fa6e88601927139ca3050db66000000003a939d25c2b4e56f26e350ac419b7672cbe413c7af9bc97e0b89f1f4db40c91e57f272669ed407197d5659069a1400000ec10db918511f1f1215cf2f6e2647095811ebf19adc7e1276d596706de7c4723c9ab2adb5cc6f0736e122086811e8a718e15a9819c823de2e35ae49d2e5257b7f168727fc300d8c315a4ad9e7fc35263eb709e0e8a6ecdaac88d90d21eaf0628aadc76adc912e60fe3b8ef98317aa8a9eb4abdc63bbc52d2cd29e9cf4aa6556e56fa6262bfc2a1fcf3dc12845d195283f86eac20712f6424e18dcb044688681e3818aa13c991187a2859861022c265cd4a7d0b15673c53c9aee0a6b33694544689fdce9f70d7e38a0ac7299275628feeca08291dcbea469f9b0599b9e5b0f92089d742c68a36fc8f020c3a15576e90d2c2805bec5daba1d48d8db38a1b69617066568449c46ecef6bebe1a53a62a8d76fc0252926eb92e128d111ec89ea2ad0e126a65125ffa6d399e8ba6944f6033a6952b275339df0668a0d228060da4dc72eef325ca82ce5a5b86969a3aa8decff33b4986db506a9cd628f145dd8e49f75f95bcfc7da7e6d82a89a17391be5853e5f188e00c39b32bba0ae37d206d9211eb41c4ab2411e60d9ed87def22ffbd970e0af64991177c35b7b27b0514926ddf718549727f337389b7693430dc84bb056c583a4d7156fbb0b1147ff5d3418295a6404dbed030009000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0b2b0014d5c5e8ab77d5391000000000000000000000000000000000000000000000004df8954eb31a4d820673ba3d423fc1e47f83972824e9b3d88785812fc408b1c7e00b2b00df0d2b00aad056b173c18b57040000000000000000000000000000000000000000000000f732324505b1bb19e81eca2bcae7223fe3db1c4a6a20c350effa72f15d370283e00d2b005f0e2b00adafcb900f953b2601000000000000000000000000000000000000000000000003c23dfa193370f0eb4f617ca6da2279223c0942008ccc0d3e4efba2d0c27de4600e2b007f0e2b0025f70b498549b120000000000000000000000000000000000000000000000000463463317f917f39c31aca3b0cc8270f1d899fadebbb531941978389f61e0f01800e2b00870e2b0008000800080000000000000000000000000000000000000000000000000000000ce35aa27ddd2835e46603c4d4ef7cdc08eb76e9c52bcb37e2a1a81ebf095c74", + "0xc905000010000000c9050000c9050000b5050000b5050000140000001600000018000000eb00000000000201cf000000020000000313cdf1136cd418515b4cd59aab73df96ad08baeb462d01ba726a6afa98c3feac0100000000ffffffff6e20e0cbc593be40c11b12ab670a318d5c541ed0e7d07870fb434d1edf7e4f680100000000ffffffffe4a0d3c184ef6675447798dcfe92586ffa9970dbd62f272e33045e4adbaf61e00100000000ffffffff020000000000000000226a20a4a91d0af09dc38047bec37e1e2dbfefda309ff6cf1eff9f05aba5621061f5cb9f900e0000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000c6040000c604000014000000180000001c0000003a020000500a0000880e2b001a0200000000e726ac8436732ae89cbe4222558b0e597e6fa6e88601927139ca3050db66000000003a939d25c2b4e56f26e350ac419b7672cbe413c7af9bc97e0b89f1f4db40c91e57f272669ed407197d5659069a1400000ec10db918511f1f1215cf2f6e2647095811ebf19adc7e1276d596706de7c4723c9ab2adb5cc6f0736e122086811e8a718e15a9819c823de2e35ae49d2e5257b7f168727fc300d8c315a4ad9e7fc35263eb709e0e8a6ecdaac88d90d21eaf0628aadc76adc912e60fe3b8ef98317aa8a9eb4abdc63bbc52d2cd29e9cf4aa6556e56fa6262bfc2a1fcf3dc12845d195283f86eac20712f6424e18dcb044688681e3818aa13c991187a2859861022c265cd4a7d0b15673c53c9aee0a6b33694544689fdce9f70d7e38a0ac7299275628feeca08291dcbea469f9b0599b9e5b0f92089d742c68a36fc8f020c3a15576e90d2c2805bec5daba1d48d8db38a1b69617066568449c46ecef6bebe1a53a62a8d76fc0252926eb92e128d111ec89ea2ad0e126a65125ffa6d399e8ba6944f6033a6952b275339df0668a0d228060da4dc72eef325ca82ce5a5b86969a3aa8decff33b4986db506a9cd628f145dd8e49f75f95bcfc7da7e6d82a89a17391be5853e5f188e00c39b32bba0ae37d206d9211eb41c4ab2411e60d9ed87def22ffbd970e0af64991177c35b7b27b0514926ddf718549727f337389b7693430dc84bb056c583a4d7156fbb0b1147ff5d3418295a6404dbed030009000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0b2b0014d5c5e8ab77d5391000000000000000000000000000000000000000000000004df8954eb31a4d820673ba3d423fc1e47f83972824e9b3d88785812fc408b1c7e00b2b00df0d2b00aad056b173c18b57040000000000000000000000000000000000000000000000f732324505b1bb19e81eca2bcae7223fe3db1c4a6a20c350effa72f15d370283e00d2b005f0e2b00adafcb900f953b2601000000000000000000000000000000000000000000000003c23dfa193370f0eb4f617ca6da2279223c0942008ccc0d3e4efba2d0c27de4600e2b007f0e2b0025f70b498549b120000000000000000000000000000000000000000000000000463463317f917f39c31aca3b0cc8270f1d899fadebbb531941978389f61e0f01800e2b00870e2b0008000800080000000000000000000000000000000000000000000000000000000ce35aa27ddd2835e46603c4d4ef7cdc08eb76e9c52bcb37e2a1a81ebf095c74", + ], + }, + "inputs": [ + { + "capacity": "0x5e9f5203e", + "lock": { + "args": "0x0100000013cdf1136cd418515b4cd59aab73df96ad08baeb462d01ba726a6afa98c3feac", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x30d3fbec9ceba691770d57c6d06bdb98cf0f82bef0ca6e87687a118d6ce1e7b7", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", + }, }, { - "is_coinbase": false, - "prevout": { - "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", - "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_type": "v0_p2wpkh", - "value": 1034355, + "capacity": "0x5e9f53e00", + "lock": { + "args": "0x010000006e20e0cbc593be40c11b12ab670a318d5c541ed0e7d07870fb434d1edf7e4f68", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x30d3fbec9ceba691770d57c6d06bdb98cf0f82bef0ca6e87687a118d6ce1e7b7", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", }, - "scriptsig": "", - "scriptsig_asm": "", - "sequence": 4294967295, - "txid": "e061afdb4a5e04332e272fd6db7099fa6f5892fedc9877447566ef84c1d3a0e4", - "vout": 1, - "witness": [ - "3045022100aebb323e913e551718ae79e2cd0848585a467799b24a72750be75d1102a02d29022001410ae47273b53a7592eb547fc2c9801070e9640ae6be4d48361e5c0cd14b7a01", - "0200225a2f27f88aedc79c94c43e7d66578039e09a3bdbb2af333cbce530c503ac", - ], }, ], - "vout": [ - { - "scriptpubkey": "6a20a4a91d0af09dc38047bec37e1e2dbfefda309ff6cf1eff9f05aba5621061f5cb", - "scriptpubkey_asm": "OP_RETURN OP_PUSHBYTES_32 a4a91d0af09dc38047bec37e1e2dbfefda309ff6cf1eff9f05aba5621061f5cb", - "scriptpubkey_type": "op_return", - "value": 0, - }, + "outputs": [ { - "scriptpubkey": "0014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_address": "tb1q7yuyvms6z49qd65vwmtlpa4rp2rdt3nmjmpnpl", - "scriptpubkey_asm": "OP_0 OP_PUSHBYTES_20 f138466e1a154a06ea8c76d7f0f6a30a86d5c67b", - "scriptpubkey_type": "v0_p2wpkh", - "value": 954527, + "capacity": "0xbd3ea30ab", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac011600000000015bc506bf1a48c209d068ae4d68655309ddcf818c060000006fa6262bfc2a1fcf3dc12845d195283f86eac20712f6424e18dcb044688681e3", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0x30d3fbec9ceba691770d57c6d06bdb98cf0f82bef0ca6e87687a118d6ce1e7b7", + "codeHash": "0x25c29dc317811a6f6f3985a7a9ebc4838bd388d19d0feeecf0bcd60f6c0975bb", + "hashType": "type", + }, }, ], - "weight": 1153, + "status": { + "confirmed": true, + }, }, - "isRgbpp": false, }, { "btcTx": { @@ -2973,7 +3598,108 @@ exports[`/:btc_address/activity 1`] = ` ], "weight": 881, }, - "isRgbpp": false, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0x5fc3b2217f642041a654e417064e480617af7d05d433662dcf4539576bb1ee93", + }, + }, + ], + "hash": "0xe226f4e84c1dbe8711352b1fcb11554500dc64efc20acb827954695e5fa4ea33", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0x18e0cb3d4d531ae2a255ea4e0fab0d8cda2885b7bc094ddf9e18efb4bc86cc1e", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac011600000000015c5323927c21b0d2595e38e736d324cca4cf789b06000000e4a0d3c184ef6675447798dcfe92586ffa9970dbd62f272e33045e4adbaf61e0", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xf9b4d0922dc91106328b93bcda3eae2ccc63f60b8120e4a827c66c8521a6608b", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputsData": [ + "0xa200000010000000190000007e00000005000000646f622f30610000007b22626c6f636b5f6e756d626572223a31333230333530382c2263656c6c5f6964223a31343836363738383638333430393935393030302c22646e61223a223366316562663966306436633562636432313035366432633461393232623838227d20000000c1097c85aa781d2cd3c017dc911eceab94644cfe2dd714ae7f7bbe4b75accb08", + ], + "version": "0x0", + "witnesses": [ + "0xa005000010000000a0050000a00500008c0500008c050000140000001600000018000000c200000000000101a600000002000000024c7377d6427413ff5518e4b187331b945015189fa2ed1606a6ec57bd555b782f0000000000ffffffffd1b8919dd4d468e43f644c7f510773842b39c0fc22aefc930361acc296f6b3920100000000ffffffff020000000000000000226a2055163a7891e4e573537e2c69304910677fb1d588ef645152eda35b7172e0ee1e73c80f0000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b00000000c6040000c604000014000000180000001c0000003a020000be060000320e2b001a020000000016333be2d9e22eb111e53bc5c284a6326e8754b14389855d18615cd6456e0000000052e1f22c1c0f8425cb2bf9ddfb6c9135ab767ab5fb091d15883bd8746440dbe7c07f71669ed407195a9899236d1800000e7642049355eb7838916c241a5daae9fce0f8653da8e51fdfc1bb1ea83566c26fdb62b1f4991d5e6bde3eed78f231145647d62cbddb2cf5f059af9c33c39f42ce694ce86b943a4dc3f82fbfb6d8dca77f2e850262962975ea64ee5a1b9184c0cb43bddedd37dae6e9262a9af54487b301b4a1e641d642274f7b529fe7d2e025e2e9dec6d347aa1f90f56c363f5b0698159ea03fb855097853d47c9c5026f5d00483582e0cadaeb64234082fa06da5144e4a67cd201341f9c850255f0c4b99ef93a79247edfb1d797da3a00bcda7f2ec0ea89a470395570bd073b4ceb460436cac7de907481510a8d94deb268599f7a64def4f1be59deb580cc1d060cdabcfed3ee4a0d3c184ef6675447798dcfe92586ffa9970dbd62f272e33045e4adbaf61e0a0056d3a0d81a43e989f341b25c6900de6c556fdbc7b57a5a12738750dad98545411ce1e155f7c8c4fedc892fe3513ba4dadcafe24b4131105397c08ac4888dd5b2ab68f83e57cafe9f262d9cd419ac34d689dd39c660c61c8e00538e6ea7991a9cbb93b4d32dc96615976f063b7446ed4175626f77a44902dba8492b13a7eae6f036acfd39cad5682cfac3d73da44358a3fc45bc49254608ee08082816de35c04d756350009000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00df072b00870ecde1f47863f77f0000000000000000000000000000000000000000000000d300ab3836b9ae6b7e2efac3aaf018a418892d62e5019420783d107476c0bafae0072b00df0b2b0014d5c5e8ab77d5391000000000000000000000000000000000000000000000004df8954eb31a4d820673ba3d423fc1e47f83972824e9b3d88785812fc408b1c7e00b2b00df0d2b00aad056b173c18b57040000000000000000000000000000000000000000000000f732324505b1bb19e81eca2bcae7223fe3db1c4a6a20c350effa72f15d370283e00d2b001f0e2b0054dcef23d525c582000000000000000000000000000000000000000000000000b0b07747d831c3173868ffb9f38e4a7cbbcacdca0923da6759aac2740a9766e7200e2b002f0e2b0015f7fb487549b120000000000000000000000000000000000000000000000000d901c7b48ff1a9630a83bc90dd4c3fb536dd381e4e11d2ae0ed7ebe17910e3eb300e2b00310e2b000200020002000000000000000000000000000000000000000000000000000000633a9ecaee8d5f33e0a4a5b4045df5235f387e65d1d03570d62c7b6fe5604e9a", + "0x010000ffbd0100000c0000001000000000000000ad01000008000000a5010000080000009d0100001000000030000000500000007c571d089037b49e0194d2e2ea2a35ee6a4cd47f3080709c6498614fa91ddd92a49af9fca99947a730411d739f4fc7a621328db8ae89fdaba53397f4891a668349010000010000004501000010000000300000008d000000f9b4d0922dc91106328b93bcda3eae2ccc63f60b8120e4a827c66c8521a6608b000000005900000010000000300000003100000061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c32480124000000000000004c7377d6427413ff5518e4b187331b945015189fa2ed1606a6ec57bd555b782f00000000b400000010000000300000003100000000cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326017f0000007f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac011600000000015c5323927c21b0d2595e38e736d324cca4cf789b06000000e4a0d3c184ef6675447798dcfe92586ffa9970dbd62f272e33045e4adbaf61e0", + ], + }, + "inputs": [ + { + "capacity": "0x9502f9000", + "lock": { + "args": "0x000000004c7377d6427413ff5518e4b187331b945015189fa2ed1606a6ec57bd555b782f", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0xf9b4d0922dc91106328b93bcda3eae2ccc63f60b8120e4a827c66c8521a6608b", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputs": [ + { + "capacity": "0x9502f758c", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac011600000000015c5323927c21b0d2595e38e736d324cca4cf789b06000000e4a0d3c184ef6675447798dcfe92586ffa9970dbd62f272e33045e4adbaf61e0", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0xf9b4d0922dc91106328b93bcda3eae2ccc63f60b8120e4a827c66c8521a6608b", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "status": { + "confirmed": true, + }, + }, }, { "btcTx": { @@ -3876,7 +4602,108 @@ exports[`/:btc_address/activity 1`] = ` ], "weight": 881, }, - "isRgbpp": false, + "isRgbpp": true, + "isomorphicTx": { + "ckbTx": { + "cellDeps": [ + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xf1de59e973b85791ec32debbba08dff80c63197e895eb95d67fc1e9f6b413e00", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x0", + "txHash": "0x5e8d2a517d50fd4bb4d01737a7952a1f1d35c8afc77240695bb569cd7d9d5a1f", + }, + }, + { + "depType": "code", + "outPoint": { + "index": "0x1", + "txHash": "0xdf33e144780ccf715356e118becab962913f9266336993659d310d1b37f609d0", + }, + }, + ], + "hash": "0xfa2eb5071be1ffca64297cd30510de1e2751ab2e8ce3d7bff9f7c27fe06d3710", + "headerDeps": [], + "inputs": [ + { + "previousOutput": { + "index": "0x0", + "txHash": "0xec1125242292fa8cca336c22dd6c400db17c740064c523f506bb0983173fb324", + }, + "since": "0x0", + }, + ], + "outputs": [ + { + "capacity": "0xa7a354d72", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000a8c6e4829b8bf3309fc4332d333ab32930fd149fcc7cb4d2343ed7fa1f598356", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0x53aa7e6dce52c4f6af8af0425ea63d8e6c7b4651a4197e81b71d7ad2784ef9d6", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputsData": [ + "0xd40000001000000024000000b0000000100000006170706c69636174696f6e2f6a736f6e880000007b226e616d65223a22556e69636f726e20426f78222c227265736f75726365223a7b2275726c223a2268747470733a2f2f6172736565642e77656233696e6672612e6465762f306b4e437450376169417253596f6c6e424f656466705545493948554b7273323142443772495247735677222c2274797065223a22696d6167652f6a706567227d7d20000000ed3d643329453a418a8902a40c225ca81f405904b4ec9509ff09048240d30a86", + ], + "version": "0x0", + "witnesses": [ + "0xe805000010000000e8050000e8050000d4050000d4050000140000001600000018000000c200000000000101a60000000200000002301813a2299c744486b274c5dedfaa48846bd9234b308ddaefdbb441751f13000100000000ffffffff454525c1c89e255bbc391063627ab52dec8834e3a3dbf023201f5a856add9f070100000000ffffffff020000000000000000226a20c27eda9bf8377f9db44696f0fee0dd0edb2ec3d3788e64d61bc5fd71de8d183f683e1e0000000000160014f138466e1a154a06ea8c76d7f0f6a30a86d5c67b000000000e0500000e05000014000000180000001c0000003a020000da09000083fb2a001a02000000003a200150f9b85aa9ba819a520535fd9770aeee7179920dc7bee84366690600000000c4d9913fcc21929102f936dea32c22285f50d1be6a77a73e2fb20159a4e903651b674d66ecd41019a734cc256e1600000ecc3d4612d6aad2c62228a9072df35260f99054478dd6861f4fdd3b67da381af0d24c1a47d85886f89020c5d428c94d3df4906dbee3d835fddd688ccc314edfe6ba1a08cf4a92757a0bff462c072cebc3b2fae8e9f3bb2fd35fbd9f0ec729a1e6a48a1ad781a8d4ab0ae0c0569a60b57ddccb055e9e31733f5f032bf9f660ba42f4d53d774fd9ce9b61906c70817461396602a1e02925489ba54102fd3d3b206b1cfb833318e5b1d4fa8a155279728e7bb1ac9e3d54cf3cc67e32795da445295e5f91d02d48ed79f45f9c202da82fa38354b127c2d9df0a27a87c18d10c9066d8a8c6e4829b8bf3309fc4332d333ab32930fd149fcc7cb4d2343ed7fa1f598356ac8982fc553bb113e7a976c9258b529f4a8364eef5ceb3ef8500be41f582885fba2edc169976db9947cf4771eb0381d0dc378457329f3c86bfa31158b5a4d74d2e720850222c7934c97dc24fac616fa8d4263603e4e3a7b47765a8b7d7416bc9d3ede25c8ff2ee0e9869f5e3f8c9d3a27986509b921c0e59fa71d675304913f6a4fbfe0346a9b2e3e627e6145c265e4f875666c7175439a6f08aee80f2589320ecc13888361e39ccbbb67563aae32893dbfef11cc1fcdb15234c5f8d0eac167e04bb5a1b000a000000e0672700df67290069b4d9814579d491670000000000000000000000000000000000000000000000960ec53250c03cf0e5edbacb1c99cb6ffa6eb759604cb8598d51ea47d2993ff5e0672900df672a006b5a4c634c63aee405000000000000000000000000000000000000000000000027b94c903d1fc48132fa8d4c31397a15d128a141cec05daefe0ddfe5c9c7b6b8e0672a00dfe72a007cbc1dc01dc06a7a080000000000000000000000000000000000000000000000e2846a5834b9c17e73cf6f22a688ffc68037bfadcaec09f1ede5980e40300e0ee0e72a00dff72a00aba0e15d795f37bf26000000000000000000000000000000000000000000000029bf93152aef8539cb7dfde2ded3e145d9d3ccf6a096e339e04d4d2ed3df3b88e0f72a00dff92a00300bf3e8d30691080a00000000000000000000000000000000000000000000004a22768a7aa76c0e464ff0038284f80183c1da584d3567d9a2db0e9f63663e34e0f92a00dffa2a0098789bbd075c96fd0400000000000000000000000000000000000000000000007010d30d7c7bde0b97217737e0920ef784d38284e942848564e1c73fb5910601e0fa2a005ffb2a001a96cfd17ac7008e0200000000000000000000000000000000000000000000001d7e4cf4be9526be4694bad9fed032f24dde00c330149fa0125010302e2f74b460fb2a007ffb2a00fa5b34713c984da7000000000000000000000000000000000000000000000000ded39a85d003ff4ad6987c9ce2a4aa778d02b03ad2ae74ee200fa29a8e70a66382fb2a0082fb2a0001000100010000000000000000000000000000000000000000000000000000000150f9b85aa9ba819a520535fd9770aeee7179920dc7bee8436669060000000080fb2a0081fb2a00020002000200000000000000000000000000000000000000000000000000000026a0b0ca1a5d3dc0a258d98482a8d928cfe5938ab4d5363e6408426c4a61ec8f", + "0x010000ffbd0100000c0000001000000000000000ad01000008000000a5010000080000009d01000010000000300000005000000062010a89d9b568fa3da5c53175ecbc59702d7307d3ed587473b89c4f476e2b366b9deaebf02bdbdf6864e1815649912171037186aee516b6190f51142889c3c449010000010000004501000010000000300000008d00000053aa7e6dce52c4f6af8af0425ea63d8e6c7b4651a4197e81b71d7ad2784ef9d6000000005900000010000000300000003100000061ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248012400000001000000301813a2299c744486b274c5dedfaa48846bd9234b308ddaefdbb441751f130000000000b400000010000000300000003100000000cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326017f0000007f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000a8c6e4829b8bf3309fc4332d333ab32930fd149fcc7cb4d2343ed7fa1f598356", + ], + }, + "inputs": [ + { + "capacity": "0xa7a35681d", + "lock": { + "args": "0x01000000301813a2299c744486b274c5dedfaa48846bd9234b308ddaefdbb441751f1300", + "codeHash": "0x61ca7a4796a4eb19ca4f0d065cb9b10ddcf002f10f7cbb810c706cb6bb5c3248", + "hashType": "type", + }, + "type": { + "args": "0x53aa7e6dce52c4f6af8af0425ea63d8e6c7b4651a4197e81b71d7ad2784ef9d6", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "outputs": [ + { + "capacity": "0xa7a354d72", + "lock": { + "args": "0x7f000000100000005b0000005f0000004b000000100000003000000031000000d23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac01160000000001e9d0cd4c9daa757cc83863cb45e3f1e039e1fd0306000000a8c6e4829b8bf3309fc4332d333ab32930fd149fcc7cb4d2343ed7fa1f598356", + "codeHash": "0x00cdf8fab0f8ac638758ebf5ea5e4052b1d71e8a77b9f43139718621f6849326", + "hashType": "type", + }, + "type": { + "args": "0x53aa7e6dce52c4f6af8af0425ea63d8e6c7b4651a4197e81b71d7ad2784ef9d6", + "codeHash": "0x685a60219309029d01310311dba953d67029170ca4848a4ff638e57002130a0d", + "hashType": "data1", + }, + }, + ], + "status": { + "confirmed": true, + }, + }, }, { "btcTx": { From 71d3d59241587eec2db020d24326ceaff9a184a2 Mon Sep 17 00:00:00 2001 From: Shook Date: Thu, 22 Aug 2024 21:09:28 +0800 Subject: [PATCH 3/3] refactor: rename queryBtcTimeLockTxByBtcTxId to queryBtcTimeLockTxByBtcTx in RgbppCollector --- src/routes/rgbpp/address.ts | 2 +- src/routes/rgbpp/transaction.ts | 2 +- src/services/rgbpp.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/rgbpp/address.ts b/src/routes/rgbpp/address.ts index f5ed3ad5..50431899 100644 --- a/src/routes/rgbpp/address.ts +++ b/src/routes/rgbpp/address.ts @@ -309,7 +309,7 @@ const addressRoutes: FastifyPluginCallback, Server, ZodType const ckbTx = await fastify.ckb.rpc.getTransaction(rgbppLockTx.txHash); setCkbTxAndStatus(ckbTx); } else { - const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTxId(btcTx); + const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTx(btcTx); if (btcTimeLockTx) { setCkbTxAndStatus(btcTimeLockTx); } diff --git a/src/routes/rgbpp/transaction.ts b/src/routes/rgbpp/transaction.ts index 1f8d2783..e849f8de 100644 --- a/src/routes/rgbpp/transaction.ts +++ b/src/routes/rgbpp/transaction.ts @@ -77,7 +77,7 @@ const transactionRoute: FastifyPluginCallback, Server, ZodT reply.header(CUSTOM_HEADERS.ResponseCacheable, 'true'); return { txhash: rgbppLockTx.txHash }; } - const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTxId(btcTx); + const btcTimeLockTx = await fastify.rgbppCollector.queryBtcTimeLockTxByBtcTx(btcTx); if (btcTimeLockTx) { reply.header(CUSTOM_HEADERS.ResponseCacheable, 'true'); return { txhash: btcTimeLockTx.transaction.hash }; diff --git a/src/services/rgbpp.ts b/src/services/rgbpp.ts index 1352bd5d..3bf6aacb 100644 --- a/src/services/rgbpp.ts +++ b/src/services/rgbpp.ts @@ -268,7 +268,7 @@ export default class RgbppCollector extends BaseQueueWorker