@0xtorch/evm 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/import/abis/erc1155.d.ts +245 -0
- package/dist/import/abis/erc1155.d.ts.map +1 -0
- package/dist/import/abis/erc20.d.ts +169 -0
- package/dist/import/abis/erc20.d.ts.map +1 -0
- package/dist/import/abis/erc721.d.ts +267 -0
- package/dist/import/abis/erc721.d.ts.map +1 -0
- package/dist/import/abis/index.d.ts +5 -0
- package/dist/import/abis/index.d.ts.map +1 -0
- package/dist/import/abis/weth.d.ts +214 -0
- package/dist/import/abis/weth.d.ts.map +1 -0
- package/dist/import/absoluteValue.d.mts +3 -0
- package/dist/import/absoluteValue.d.mts.map +1 -0
- package/dist/import/absoluteValue.d.ts +3 -0
- package/dist/import/absoluteValue.d.ts.map +1 -0
- package/dist/import/analyzer/analyze.d.ts +18 -0
- package/dist/import/analyzer/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/analyzer.d.ts +4 -0
- package/dist/import/analyzer/analyzer.d.ts.map +1 -0
- package/dist/import/analyzer/axieMarketplace/analyze.d.ts +4 -0
- package/dist/import/analyzer/axieMarketplace/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/axieMarketplace/index.d.ts +2 -0
- package/dist/import/analyzer/axieMarketplace/index.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/addLiquidity.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/addLiquidity.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/atomicArbitrage.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/atomicArbitrage.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeFrom.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeFrom.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeTo.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/bridgeTo.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/buyNft.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/buyNft.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/createAccountActionByAction.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/createAccountActionByAction.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/deposit.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/deposit.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/depositWithBond.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/depositWithBond.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/freeMintNft.d.ts +53 -0
- package/dist/import/analyzer/createAccountActionByAction/freeMintNft.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/index.d.ts +2 -0
- package/dist/import/analyzer/createAccountActionByAction/index.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/removeLiquidity.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/removeLiquidity.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/spam.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/spam.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/trade.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/trade.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/transactionFee.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/transactionFee.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/transfer.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/transfer.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/withdraw.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/withdraw.d.ts.map +1 -0
- package/dist/import/analyzer/createAccountActionByAction/withdrawWithBond.d.ts +59 -0
- package/dist/import/analyzer/createAccountActionByAction/withdrawWithBond.d.ts.map +1 -0
- package/dist/import/analyzer/gasFee/analyze.d.ts +4 -0
- package/dist/import/analyzer/gasFee/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/gasFee/index.d.ts +2 -0
- package/dist/import/analyzer/gasFee/index.d.ts.map +1 -0
- package/dist/import/analyzer/index.d.ts +10 -0
- package/dist/import/analyzer/index.d.ts.map +1 -0
- package/dist/import/analyzer/json/analyze.d.ts +5 -0
- package/dist/import/analyzer/json/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/json/generatorAnyLog.d.ts +55 -0
- package/dist/import/analyzer/json/generatorAnyLog.d.ts.map +1 -0
- package/dist/import/analyzer/json/generatorAnyTokenTransfer.d.ts +54 -0
- package/dist/import/analyzer/json/generatorAnyTokenTransfer.d.ts.map +1 -0
- package/dist/import/analyzer/json/generatorSpecificTokenTransfer.d.ts +55 -0
- package/dist/import/analyzer/json/generatorSpecificTokenTransfer.d.ts.map +1 -0
- package/dist/import/analyzer/json/index.d.ts +2 -0
- package/dist/import/analyzer/json/index.d.ts.map +1 -0
- package/dist/import/analyzer/json/types.d.ts +177 -0
- package/dist/import/analyzer/json/types.d.ts.map +1 -0
- package/dist/import/analyzer/seaport/analyze.d.ts +4 -0
- package/dist/import/analyzer/seaport/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/seaport/index.d.ts +2 -0
- package/dist/import/analyzer/seaport/index.d.ts.map +1 -0
- package/dist/import/analyzer/seaport/orderFulfilled.d.ts +139 -0
- package/dist/import/analyzer/seaport/orderFulfilled.d.ts.map +1 -0
- package/dist/import/analyzer/spam/analyze.d.ts +4 -0
- package/dist/import/analyzer/spam/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/spam/index.d.ts +2 -0
- package/dist/import/analyzer/spam/index.d.ts.map +1 -0
- package/dist/import/analyzer/swap/analyze.d.ts +4 -0
- package/dist/import/analyzer/swap/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/swap/index.d.ts +2 -0
- package/dist/import/analyzer/swap/index.d.ts.map +1 -0
- package/dist/import/analyzer/swap/traderJoeLBPairSwap.d.ts +108 -0
- package/dist/import/analyzer/swap/traderJoeLBPairSwap.d.ts.map +1 -0
- package/dist/import/analyzer/swap/univ2PairSwap.d.ts +84 -0
- package/dist/import/analyzer/swap/univ2PairSwap.d.ts.map +1 -0
- package/dist/import/analyzer/swap/univ3PoolSwap.d.ts +96 -0
- package/dist/import/analyzer/swap/univ3PoolSwap.d.ts.map +1 -0
- package/dist/import/analyzer/swap/wrappedDeposit.d.ts +36 -0
- package/dist/import/analyzer/swap/wrappedDeposit.d.ts.map +1 -0
- package/dist/import/analyzer/swap/wrappedWithdrawal.d.ts +36 -0
- package/dist/import/analyzer/swap/wrappedWithdrawal.d.ts.map +1 -0
- package/dist/import/analyzer/transfer/analyze.d.ts +4 -0
- package/dist/import/analyzer/transfer/analyze.d.ts.map +1 -0
- package/dist/import/analyzer/transfer/index.d.ts +2 -0
- package/dist/import/analyzer/transfer/index.d.ts.map +1 -0
- package/dist/import/analyzer/types.d.ts +17 -0
- package/dist/import/analyzer/types.d.ts.map +1 -0
- package/dist/import/apps/index.d.ts +2 -0
- package/dist/import/apps/index.d.ts.map +1 -0
- package/dist/import/apps/types.d.ts +6 -0
- package/dist/import/apps/types.d.ts.map +1 -0
- package/dist/import/chains/definitions/arbitrumOne.d.ts +99 -0
- package/dist/import/chains/definitions/arbitrumOne.d.ts.map +1 -0
- package/dist/import/chains/definitions/astar.d.ts +64 -0
- package/dist/import/chains/definitions/astar.d.ts.map +1 -0
- package/dist/import/chains/definitions/avalancheC.d.ts +84 -0
- package/dist/import/chains/definitions/avalancheC.d.ts.map +1 -0
- package/dist/import/chains/definitions/base.d.ts +94 -0
- package/dist/import/chains/definitions/base.d.ts.map +1 -0
- package/dist/import/chains/definitions/bsc.d.ts +144 -0
- package/dist/import/chains/definitions/bsc.d.ts.map +1 -0
- package/dist/import/chains/definitions/defineChain.d.ts +3 -0
- package/dist/import/chains/definitions/defineChain.d.ts.map +1 -0
- package/dist/import/chains/definitions/ethereum.d.ts +129 -0
- package/dist/import/chains/definitions/ethereum.d.ts.map +1 -0
- package/dist/import/chains/definitions/fantom.d.ts +89 -0
- package/dist/import/chains/definitions/fantom.d.ts.map +1 -0
- package/dist/import/chains/definitions/index.d.ts +16 -0
- package/dist/import/chains/definitions/index.d.ts.map +1 -0
- package/dist/import/chains/definitions/linea.d.ts +69 -0
- package/dist/import/chains/definitions/linea.d.ts.map +1 -0
- package/dist/import/chains/definitions/mantle.d.ts +62 -0
- package/dist/import/chains/definitions/mantle.d.ts.map +1 -0
- package/dist/import/chains/definitions/metis.d.ts +52 -0
- package/dist/import/chains/definitions/metis.d.ts.map +1 -0
- package/dist/import/chains/definitions/moonbeam.d.ts +84 -0
- package/dist/import/chains/definitions/moonbeam.d.ts.map +1 -0
- package/dist/import/chains/definitions/moonriver.d.ts +64 -0
- package/dist/import/chains/definitions/moonriver.d.ts.map +1 -0
- package/dist/import/chains/definitions/optimism.d.ts +104 -0
- package/dist/import/chains/definitions/optimism.d.ts.map +1 -0
- package/dist/import/chains/definitions/polygonPos.d.ts +84 -0
- package/dist/import/chains/definitions/polygonPos.d.ts.map +1 -0
- package/dist/import/chains/definitions/ronin.d.ts +49 -0
- package/dist/import/chains/definitions/ronin.d.ts.map +1 -0
- package/dist/import/chains/externals/defillama/constants.d.ts +2 -0
- package/dist/import/chains/externals/defillama/constants.d.ts.map +1 -0
- package/dist/import/chains/externals/defillama/getBlockOfTimestamp.d.ts +10 -0
- package/dist/import/chains/externals/defillama/getBlockOfTimestamp.d.ts.map +1 -0
- package/dist/import/chains/externals/defillama/index.d.ts +2 -0
- package/dist/import/chains/externals/defillama/index.d.ts.map +1 -0
- package/dist/import/chains/externals/index.d.ts +2 -0
- package/dist/import/chains/externals/index.d.ts.map +1 -0
- package/dist/import/chains/index.d.ts +4 -0
- package/dist/import/chains/index.d.ts.map +1 -0
- package/dist/import/chains/types/chain.d.ts +22 -0
- package/dist/import/chains/types/chain.d.ts.map +1 -0
- package/dist/import/chains/types/index.d.ts +3 -0
- package/dist/import/chains/types/index.d.ts.map +1 -0
- package/dist/import/chains/types/rpc.d.ts +7 -0
- package/dist/import/chains/types/rpc.d.ts.map +1 -0
- package/dist/import/clients/definitions/defineClient.d.ts +3 -0
- package/dist/import/clients/definitions/defineClient.d.ts.map +1 -0
- package/dist/import/clients/definitions/index.d.ts +2 -0
- package/dist/import/clients/definitions/index.d.ts.map +1 -0
- package/dist/import/clients/definitions/viemClient.d.ts +59 -0
- package/dist/import/clients/definitions/viemClient.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/estimateFeesPerGas.d.ts +13 -0
- package/dist/import/clients/externals/viem/estimateFeesPerGas.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getBalance.d.ts +15 -0
- package/dist/import/clients/externals/viem/getBalance.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getBlock.d.ts +14 -0
- package/dist/import/clients/externals/viem/getBlock.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getBlockNumber.d.ts +13 -0
- package/dist/import/clients/externals/viem/getBlockNumber.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getEventLogs.d.ts +19 -0
- package/dist/import/clients/externals/viem/getEventLogs.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getTransaction.d.ts +15 -0
- package/dist/import/clients/externals/viem/getTransaction.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getTransactionCount.d.ts +15 -0
- package/dist/import/clients/externals/viem/getTransactionCount.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/getTransactionReceipt.d.ts +15 -0
- package/dist/import/clients/externals/viem/getTransactionReceipt.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/index.d.ts +11 -0
- package/dist/import/clients/externals/viem/index.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/middleware.d.ts +23 -0
- package/dist/import/clients/externals/viem/middleware.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/multicall.d.ts +14 -0
- package/dist/import/clients/externals/viem/multicall.d.ts.map +1 -0
- package/dist/import/clients/externals/viem/readContract.d.ts +14 -0
- package/dist/import/clients/externals/viem/readContract.d.ts.map +1 -0
- package/dist/import/clients/index.d.ts +3 -0
- package/dist/import/clients/index.d.ts.map +1 -0
- package/dist/import/clients/types.d.ts +64 -0
- package/dist/import/clients/types.d.ts.map +1 -0
- package/dist/import/createBigDecimal.d.mts +6 -0
- package/dist/import/createBigDecimal.d.mts.map +1 -0
- package/dist/import/createBigDecimal.d.ts +3 -0
- package/dist/import/createBigDecimal.d.ts.map +1 -0
- package/dist/import/creates/createEvmAccount.d.ts +5 -0
- package/dist/import/creates/createEvmAccount.d.ts.map +1 -0
- package/dist/import/decoder/decode.d.ts +3 -0
- package/dist/import/decoder/decode.d.ts.map +1 -0
- package/dist/import/decoder/decoder.d.ts +3 -0
- package/dist/import/decoder/decoder.d.ts.map +1 -0
- package/dist/import/decoder/index.d.ts +6 -0
- package/dist/import/decoder/index.d.ts.map +1 -0
- package/dist/import/decoder/parseErc1155TransferSingleLogs.d.ts +4 -0
- package/dist/import/decoder/parseErc1155TransferSingleLogs.d.ts.map +1 -0
- package/dist/import/decoder/parseErc20TransferLogs.d.ts +8 -0
- package/dist/import/decoder/parseErc20TransferLogs.d.ts.map +1 -0
- package/dist/import/decoder/parseErc721TransferLogs.d.ts +8 -0
- package/dist/import/decoder/parseErc721TransferLogs.d.ts.map +1 -0
- package/dist/import/decoder/types.d.ts +16 -0
- package/dist/import/decoder/types.d.ts.map +1 -0
- package/dist/import/divide.d.mts +8 -0
- package/dist/import/divide.d.mts.map +1 -0
- package/dist/import/divide.d.ts +3 -0
- package/dist/import/divide.d.ts.map +1 -0
- package/dist/import/equals.d.mts +3 -0
- package/dist/import/equals.d.mts.map +1 -0
- package/dist/import/equals.d.ts +3 -0
- package/dist/import/equals.d.ts.map +1 -0
- package/dist/import/explorers/definitions/blockscout.d.ts +60 -0
- package/dist/import/explorers/definitions/blockscout.d.ts.map +1 -0
- package/dist/import/explorers/definitions/defineExplorer.d.ts +3 -0
- package/dist/import/explorers/definitions/defineExplorer.d.ts.map +1 -0
- package/dist/import/explorers/definitions/etherscan.d.ts +61 -0
- package/dist/import/explorers/definitions/etherscan.d.ts.map +1 -0
- package/dist/import/explorers/definitions/index.d.ts +5 -0
- package/dist/import/explorers/definitions/index.d.ts.map +1 -0
- package/dist/import/explorers/definitions/roninExplorer.d.ts +62 -0
- package/dist/import/explorers/definitions/roninExplorer.d.ts.map +1 -0
- package/dist/import/explorers/definitions/routescan.d.ts +19 -0
- package/dist/import/explorers/definitions/routescan.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getBlockNumberOfTimestamp.d.ts +11 -0
- package/dist/import/explorers/externals/blockscout/getBlockNumberOfTimestamp.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getContractByAddress.d.ts +30 -0
- package/dist/import/explorers/externals/blockscout/getContractByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByAddress.d.ts +62 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByTransactionHash.d.ts +54 -0
- package/dist/import/explorers/externals/blockscout/getInternalTransactionsByTransactionHash.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getNormalTransactionsByAddress.d.ts +77 -0
- package/dist/import/explorers/externals/blockscout/getNormalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/getTokenTransfersByAddress.d.ts +80 -0
- package/dist/import/explorers/externals/blockscout/getTokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/index.d.ts +7 -0
- package/dist/import/explorers/externals/blockscout/index.d.ts.map +1 -0
- package/dist/import/explorers/externals/blockscout/middleware.d.ts +7 -0
- package/dist/import/explorers/externals/blockscout/middleware.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getBlockNumberOfTimestamp.d.ts +12 -0
- package/dist/import/explorers/externals/etherscan/getBlockNumberOfTimestamp.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getContractByAddress.d.ts +55 -0
- package/dist/import/explorers/externals/etherscan/getContractByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getErc1155TokenTransfersByAddress.d.ts +83 -0
- package/dist/import/explorers/externals/etherscan/getErc1155TokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getErc20TokenTransfersByAddress.d.ts +81 -0
- package/dist/import/explorers/externals/etherscan/getErc20TokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getErc721TokenTransfersByAddress.d.ts +81 -0
- package/dist/import/explorers/externals/etherscan/getErc721TokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByAddress.d.ts +62 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByTransactionHash.d.ts +55 -0
- package/dist/import/explorers/externals/etherscan/getInternalTransactionsByTransactionHash.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/getNormalTransactionsByAddress.d.ts +84 -0
- package/dist/import/explorers/externals/etherscan/getNormalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/index.d.ts +9 -0
- package/dist/import/explorers/externals/etherscan/index.d.ts.map +1 -0
- package/dist/import/explorers/externals/etherscan/middleware.d.ts +7 -0
- package/dist/import/explorers/externals/etherscan/middleware.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/getInternalTransactionByHash.d.ts +57 -0
- package/dist/import/explorers/externals/roninExplorer/getInternalTransactionByHash.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/getNormalTransactionsByAddress.d.ts +70 -0
- package/dist/import/explorers/externals/roninExplorer/getNormalTransactionsByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/getTokenTransfersByAddress.d.ts +64 -0
- package/dist/import/explorers/externals/roninExplorer/getTokenTransfersByAddress.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/index.d.ts +4 -0
- package/dist/import/explorers/externals/roninExplorer/index.d.ts.map +1 -0
- package/dist/import/explorers/externals/roninExplorer/middleware.d.ts +5 -0
- package/dist/import/explorers/externals/roninExplorer/middleware.d.ts.map +1 -0
- package/dist/import/explorers/index.d.ts +3 -0
- package/dist/import/explorers/index.d.ts.map +1 -0
- package/dist/import/explorers/types.d.ts +43 -0
- package/dist/import/explorers/types.d.ts.map +1 -0
- package/dist/import/fix.d.mts +7 -0
- package/dist/import/fix.d.mts.map +1 -0
- package/dist/import/fix.d.ts +3 -0
- package/dist/import/fix.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFulls.d.ts +15 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFulls.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getDecodedTransactionsPrices.d.ts +5 -0
- package/dist/import/getAccountsTransactionFulls/getDecodedTransactionsPrices.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getHashesAndInternalTxs.d.ts +8 -0
- package/dist/import/getAccountsTransactionFulls/getHashesAndInternalTxs.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetail.d.ts +5 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetail.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetails.d.ts +5 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionDetails.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionsApps.d.ts +8 -0
- package/dist/import/getAccountsTransactionFulls/getTransactionsApps.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/index.d.ts +3 -0
- package/dist/import/getAccountsTransactionFulls/index.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/types.d.ts +87 -0
- package/dist/import/getAccountsTransactionFulls/types.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withD.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withD.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withDA.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withDA.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withP.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withP.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withPD.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withPD.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withPDA.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withPDA.d.ts.map +1 -0
- package/dist/import/getAccountsTransactionFulls/withUndefined.d.ts +4 -0
- package/dist/import/getAccountsTransactionFulls/withUndefined.d.ts.map +1 -0
- package/dist/import/getTransactionFull/getTransactionDetail.d.ts +5 -0
- package/dist/import/getTransactionFull/getTransactionDetail.d.ts.map +1 -0
- package/dist/import/getTransactionFull/getTransactionFull.d.ts +11 -0
- package/dist/import/getTransactionFull/getTransactionFull.d.ts.map +1 -0
- package/dist/import/getTransactionFull/getTransactionFullCustom.d.ts +4 -0
- package/dist/import/getTransactionFull/getTransactionFullCustom.d.ts.map +1 -0
- package/dist/import/getTransactionFull/index.d.ts +3 -0
- package/dist/import/getTransactionFull/index.d.ts.map +1 -0
- package/dist/import/getTransactionFull/types.d.ts +63 -0
- package/dist/import/getTransactionFull/types.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withD.d.ts +4 -0
- package/dist/import/getTransactionFull/withD.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withDA.d.ts +4 -0
- package/dist/import/getTransactionFull/withDA.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withP.d.ts +4 -0
- package/dist/import/getTransactionFull/withP.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withPD.d.ts +4 -0
- package/dist/import/getTransactionFull/withPD.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withPDA.d.ts +4 -0
- package/dist/import/getTransactionFull/withPDA.d.ts.map +1 -0
- package/dist/import/getTransactionFull/withUndefined.d.ts +4 -0
- package/dist/import/getTransactionFull/withUndefined.d.ts.map +1 -0
- package/dist/import/greaterThan.d.mts +3 -0
- package/dist/import/greaterThan.d.mts.map +1 -0
- package/dist/import/greaterThan.d.ts +3 -0
- package/dist/import/greaterThan.d.ts.map +1 -0
- package/dist/import/index.d.mts +15 -0
- package/dist/import/index.d.mts.map +1 -0
- package/dist/import/index.d.ts +11 -0
- package/dist/import/index.d.ts.map +1 -0
- package/dist/import/index.mjs +1 -0
- package/dist/import/minus.d.mts +3 -0
- package/dist/import/minus.d.mts.map +1 -0
- package/dist/import/minus.d.ts +3 -0
- package/dist/import/minus.d.ts.map +1 -0
- package/dist/import/plus.d.mts +3 -0
- package/dist/import/plus.d.mts.map +1 -0
- package/dist/import/plus.d.ts +3 -0
- package/dist/import/plus.d.ts.map +1 -0
- package/dist/import/removeTrailingZeros.d.mts +6 -0
- package/dist/import/removeTrailingZeros.d.mts.map +1 -0
- package/dist/import/removeTrailingZeros.d.ts +3 -0
- package/dist/import/removeTrailingZeros.d.ts.map +1 -0
- package/dist/import/times.d.ts +3 -0
- package/dist/import/times.d.ts.map +1 -0
- package/dist/import/toStringBigDecimal.d.mts +6 -0
- package/dist/import/toStringBigDecimal.d.mts.map +1 -0
- package/dist/import/toStringBigDecimal.d.ts +3 -0
- package/dist/import/toStringBigDecimal.d.ts.map +1 -0
- package/dist/import/type.d.mts +5 -0
- package/dist/import/type.d.mts.map +1 -0
- package/dist/import/type.d.ts +5 -0
- package/dist/import/type.d.ts.map +1 -0
- package/dist/import/types/erc1155.d.ts +16 -0
- package/dist/import/types/erc1155.d.ts.map +1 -0
- package/dist/import/types/erc20.d.ts +19 -0
- package/dist/import/types/erc20.d.ts.map +1 -0
- package/dist/import/types/erc721.d.ts +18 -0
- package/dist/import/types/erc721.d.ts.map +1 -0
- package/dist/import/types/evmAccount.d.ts +10 -0
- package/dist/import/types/evmAccount.d.ts.map +1 -0
- package/dist/import/types/hex.d.ts +5 -0
- package/dist/import/types/hex.d.ts.map +1 -0
- package/dist/import/types/index.d.ts +12 -0
- package/dist/import/types/index.d.ts.map +1 -0
- package/dist/import/types/input.d.ts +26 -0
- package/dist/import/types/input.d.ts.map +1 -0
- package/dist/import/types/internalTransaction.d.ts +18 -0
- package/dist/import/types/internalTransaction.d.ts.map +1 -0
- package/dist/import/types/log.d.ts +118 -0
- package/dist/import/types/log.d.ts.map +1 -0
- package/dist/import/types/transaction.d.ts +44 -0
- package/dist/import/types/transaction.d.ts.map +1 -0
- package/dist/import/utils/bigint.d.ts +3 -0
- package/dist/import/utils/bigint.d.ts.map +1 -0
- package/dist/import/utils/index.d.ts +4 -0
- package/dist/import/utils/index.d.ts.map +1 -0
- package/dist/import/utils/timeout.d.ts +2 -0
- package/dist/import/utils/timeout.d.ts.map +1 -0
- package/dist/import/utils/types.d.ts +12 -0
- package/dist/import/utils/types.d.ts.map +1 -0
- package/dist/require/absoluteValue.d.ts +3 -0
- package/dist/require/absoluteValue.d.ts.map +1 -0
- package/dist/require/createBigDecimal.d.ts +6 -0
- package/dist/require/createBigDecimal.d.ts.map +1 -0
- package/dist/require/divide.d.ts +2 -0
- package/dist/require/divide.d.ts.map +1 -0
- package/dist/require/equals.d.ts +3 -0
- package/dist/require/equals.d.ts.map +1 -0
- package/dist/require/fix.d.ts +7 -0
- package/dist/require/fix.d.ts.map +1 -0
- package/dist/require/greaterThan.d.ts +3 -0
- package/dist/require/greaterThan.d.ts.map +1 -0
- package/dist/require/index.cjs +46 -0
- package/dist/require/index.d.cts +2 -0
- package/dist/require/index.d.cts.map +1 -0
- package/dist/require/index.d.ts +11 -0
- package/dist/require/index.d.ts.map +1 -0
- package/dist/require/minus.d.ts +3 -0
- package/dist/require/minus.d.ts.map +1 -0
- package/dist/require/plus.d.ts +3 -0
- package/dist/require/plus.d.ts.map +1 -0
- package/dist/require/removeTrailingZeros.d.ts +6 -0
- package/dist/require/removeTrailingZeros.d.ts.map +1 -0
- package/dist/require/times.d.ts +8 -0
- package/dist/require/times.d.ts.map +1 -0
- package/dist/require/toStringBigDecimal.d.ts +6 -0
- package/dist/require/toStringBigDecimal.d.ts.map +1 -0
- package/dist/require/type.d.ts +5 -0
- package/dist/require/type.d.ts.map +1 -0
- package/package.json +85 -0
- package/src/abis/erc1155.ts +314 -0
- package/src/abis/erc20.ts +222 -0
- package/src/abis/erc721.ts +346 -0
- package/src/abis/index.ts +4 -0
- package/src/abis/weth.ts +153 -0
- package/src/analyzer/analyze.ts +85 -0
- package/src/analyzer/analyzer.ts +5 -0
- package/src/analyzer/axieMarketplace/analyze.ts +326 -0
- package/src/analyzer/axieMarketplace/index.ts +1 -0
- package/src/analyzer/createAccountActionByAction/addLiquidity.ts +60 -0
- package/src/analyzer/createAccountActionByAction/atomicArbitrage.ts +115 -0
- package/src/analyzer/createAccountActionByAction/bridgeFrom.ts +61 -0
- package/src/analyzer/createAccountActionByAction/bridgeTo.ts +61 -0
- package/src/analyzer/createAccountActionByAction/buyNft.ts +106 -0
- package/src/analyzer/createAccountActionByAction/createAccountActionByAction.ts +181 -0
- package/src/analyzer/createAccountActionByAction/deposit.ts +64 -0
- package/src/analyzer/createAccountActionByAction/depositWithBond.ts +60 -0
- package/src/analyzer/createAccountActionByAction/freeMintNft.ts +54 -0
- package/src/analyzer/createAccountActionByAction/index.ts +1 -0
- package/src/analyzer/createAccountActionByAction/removeLiquidity.ts +60 -0
- package/src/analyzer/createAccountActionByAction/spam.ts +79 -0
- package/src/analyzer/createAccountActionByAction/trade.ts +105 -0
- package/src/analyzer/createAccountActionByAction/transactionFee.ts +51 -0
- package/src/analyzer/createAccountActionByAction/transfer.ts +95 -0
- package/src/analyzer/createAccountActionByAction/withdraw.ts +61 -0
- package/src/analyzer/createAccountActionByAction/withdrawWithBond.ts +60 -0
- package/src/analyzer/gasFee/analyze.test.ts +6 -0
- package/src/analyzer/gasFee/analyze.ts +72 -0
- package/src/analyzer/gasFee/index.ts +1 -0
- package/src/analyzer/index.ts +9 -0
- package/src/analyzer/json/analyze.test.ts +1819 -0
- package/src/analyzer/json/analyze.ts +536 -0
- package/src/analyzer/json/generatorAnyLog.ts +207 -0
- package/src/analyzer/json/generatorAnyTokenTransfer.ts +118 -0
- package/src/analyzer/json/generatorSpecificTokenTransfer.ts +425 -0
- package/src/analyzer/json/index.ts +1 -0
- package/src/analyzer/json/types.ts +239 -0
- package/src/analyzer/seaport/analyze.test.ts +2323 -0
- package/src/analyzer/seaport/analyze.ts +917 -0
- package/src/analyzer/seaport/index.ts +1 -0
- package/src/analyzer/seaport/orderFulfilled.ts +131 -0
- package/src/analyzer/spam/analyze.ts +219 -0
- package/src/analyzer/spam/index.ts +1 -0
- package/src/analyzer/swap/analyze.test.ts +2401 -0
- package/src/analyzer/swap/analyze.ts +939 -0
- package/src/analyzer/swap/index.ts +1 -0
- package/src/analyzer/swap/traderJoeLBPairSwap.ts +92 -0
- package/src/analyzer/swap/univ2PairSwap.ts +77 -0
- package/src/analyzer/swap/univ3PoolSwap.ts +83 -0
- package/src/analyzer/swap/wrappedDeposit.ts +51 -0
- package/src/analyzer/swap/wrappedWithdrawal.ts +53 -0
- package/src/analyzer/tests.ts +2 -0
- package/src/analyzer/transfer/analyze.test.ts +6 -0
- package/src/analyzer/transfer/analyze.ts +209 -0
- package/src/analyzer/transfer/index.ts +1 -0
- package/src/analyzer/types.ts +44 -0
- package/src/apps/index.ts +1 -0
- package/src/apps/types.ts +10 -0
- package/src/chains/definitions/arbitrumOne.test.ts +50 -0
- package/src/chains/definitions/arbitrumOne.ts +133 -0
- package/src/chains/definitions/astar.test.ts +51 -0
- package/src/chains/definitions/astar.ts +93 -0
- package/src/chains/definitions/avalancheC.test.ts +50 -0
- package/src/chains/definitions/avalancheC.ts +115 -0
- package/src/chains/definitions/base.test.ts +50 -0
- package/src/chains/definitions/base.ts +125 -0
- package/src/chains/definitions/bsc.test.ts +50 -0
- package/src/chains/definitions/bsc.ts +182 -0
- package/src/chains/definitions/defineChain.ts +7 -0
- package/src/chains/definitions/ethereum.test.ts +50 -0
- package/src/chains/definitions/ethereum.ts +169 -0
- package/src/chains/definitions/fantom.test.ts +50 -0
- package/src/chains/definitions/fantom.ts +123 -0
- package/src/chains/definitions/index.ts +88 -0
- package/src/chains/definitions/linea.test.ts +50 -0
- package/src/chains/definitions/linea.ts +95 -0
- package/src/chains/definitions/mantle.test.ts +50 -0
- package/src/chains/definitions/mantle.ts +75 -0
- package/src/chains/definitions/metis.test.ts +50 -0
- package/src/chains/definitions/metis.ts +60 -0
- package/src/chains/definitions/moonbeam.test.ts +50 -0
- package/src/chains/definitions/moonbeam.ts +117 -0
- package/src/chains/definitions/moonriver.test.ts +50 -0
- package/src/chains/definitions/moonriver.ts +94 -0
- package/src/chains/definitions/optimism.test.ts +50 -0
- package/src/chains/definitions/optimism.ts +139 -0
- package/src/chains/definitions/polygonPos.test.ts +50 -0
- package/src/chains/definitions/polygonPos.ts +121 -0
- package/src/chains/definitions/ronin.test.ts +50 -0
- package/src/chains/definitions/ronin.ts +75 -0
- package/src/chains/definitions/tests.ts +2884 -0
- package/src/chains/externals/defillama/constants.ts +1 -0
- package/src/chains/externals/defillama/getBlockOfTimestamp.test.ts +12 -0
- package/src/chains/externals/defillama/getBlockOfTimestamp.ts +26 -0
- package/src/chains/externals/defillama/index.ts +1 -0
- package/src/chains/externals/index.ts +1 -0
- package/src/chains/index.ts +62 -0
- package/src/chains/types/chain.ts +22 -0
- package/src/chains/types/index.ts +2 -0
- package/src/chains/types/rpc.ts +6 -0
- package/src/clients/definitions/defineClient.ts +7 -0
- package/src/clients/definitions/index.ts +1 -0
- package/src/clients/definitions/viemClient.ts +86 -0
- package/src/clients/externals/viem/estimateFeesPerGas.ts +23 -0
- package/src/clients/externals/viem/getBalance.ts +25 -0
- package/src/clients/externals/viem/getBlock.ts +29 -0
- package/src/clients/externals/viem/getBlockNumber.ts +23 -0
- package/src/clients/externals/viem/getEventLogs.test.ts +22 -0
- package/src/clients/externals/viem/getEventLogs.ts +40 -0
- package/src/clients/externals/viem/getTransaction.ts +25 -0
- package/src/clients/externals/viem/getTransactionCount.ts +25 -0
- package/src/clients/externals/viem/getTransactionReceipt.ts +25 -0
- package/src/clients/externals/viem/index.ts +10 -0
- package/src/clients/externals/viem/middleware.ts +437 -0
- package/src/clients/externals/viem/multicall.test.ts +26 -0
- package/src/clients/externals/viem/multicall.ts +27 -0
- package/src/clients/externals/viem/readContract.test.ts +20 -0
- package/src/clients/externals/viem/readContract.ts +38 -0
- package/src/clients/externals/viem/tests.ts +957 -0
- package/src/clients/index.ts +2 -0
- package/src/clients/types.ts +113 -0
- package/src/creates/createEvmAccount.ts +12 -0
- package/src/decoder/decode.test.ts +324 -0
- package/src/decoder/decode.ts +716 -0
- package/src/decoder/decoder.ts +6 -0
- package/src/decoder/index.ts +5 -0
- package/src/decoder/parseErc1155TransferSingleLogs.ts +40 -0
- package/src/decoder/parseErc20TransferLogs.ts +35 -0
- package/src/decoder/parseErc721TransferLogs.ts +40 -0
- package/src/decoder/tests.ts +502 -0
- package/src/decoder/types.ts +21 -0
- package/src/explorers/definitions/blockscout.test.ts +124 -0
- package/src/explorers/definitions/blockscout.ts +205 -0
- package/src/explorers/definitions/defineExplorer.ts +7 -0
- package/src/explorers/definitions/etherscan.test.ts +123 -0
- package/src/explorers/definitions/etherscan.ts +279 -0
- package/src/explorers/definitions/index.ts +4 -0
- package/src/explorers/definitions/roninExplorer.ts +150 -0
- package/src/explorers/definitions/routescan.ts +57 -0
- package/src/explorers/externals/blockscout/getBlockNumberOfTimestamp.ts +67 -0
- package/src/explorers/externals/blockscout/getContractByAddress.ts +81 -0
- package/src/explorers/externals/blockscout/getInternalTransactionsByAddress.ts +120 -0
- package/src/explorers/externals/blockscout/getInternalTransactionsByTransactionHash.ts +87 -0
- package/src/explorers/externals/blockscout/getNormalTransactionsByAddress.ts +116 -0
- package/src/explorers/externals/blockscout/getTokenTransfersByAddress.ts +127 -0
- package/src/explorers/externals/blockscout/index.ts +6 -0
- package/src/explorers/externals/blockscout/middleware.ts +56 -0
- package/src/explorers/externals/defillama/getBlockNumberOfTimestamp.ts +28 -0
- package/src/explorers/externals/defillama/index.ts +1 -0
- package/src/explorers/externals/etherscan/getBlockNumberOfTimestamp.ts +66 -0
- package/src/explorers/externals/etherscan/getContractByAddress.ts +86 -0
- package/src/explorers/externals/etherscan/getErc1155TokenTransfersByAddress.ts +133 -0
- package/src/explorers/externals/etherscan/getErc20TokenTransfersByAddress.ts +125 -0
- package/src/explorers/externals/etherscan/getErc721TokenTransfersByAddress.ts +125 -0
- package/src/explorers/externals/etherscan/getInternalTransactionsByAddress.ts +117 -0
- package/src/explorers/externals/etherscan/getInternalTransactionsByTransactionHash.ts +91 -0
- package/src/explorers/externals/etherscan/getNormalTransactionsByAddress.ts +122 -0
- package/src/explorers/externals/etherscan/index.ts +8 -0
- package/src/explorers/externals/etherscan/middleware.ts +77 -0
- package/src/explorers/externals/roninExplorer/getInternalTransactionByHash.ts +80 -0
- package/src/explorers/externals/roninExplorer/getNormalTransactionsByAddress.ts +79 -0
- package/src/explorers/externals/roninExplorer/getTokenTransfersByAddress.ts +81 -0
- package/src/explorers/externals/roninExplorer/index.ts +3 -0
- package/src/explorers/externals/roninExplorer/middleware.ts +49 -0
- package/src/explorers/index.ts +7 -0
- package/src/explorers/types.ts +56 -0
- package/src/getAccountsTransactionFulls/getAccountsTransactionFulls.test.ts +22 -0
- package/src/getAccountsTransactionFulls/getAccountsTransactionFulls.ts +46 -0
- package/src/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.ts +106 -0
- package/src/getAccountsTransactionFulls/getDecodedTransactionsPrices.ts +97 -0
- package/src/getAccountsTransactionFulls/getHashesAndInternalTxs.ts +65 -0
- package/src/getAccountsTransactionFulls/getTransactionDetail.ts +49 -0
- package/src/getAccountsTransactionFulls/getTransactionDetails.ts +39 -0
- package/src/getAccountsTransactionFulls/getTransactionsApps.ts +42 -0
- package/src/getAccountsTransactionFulls/index.ts +2 -0
- package/src/getAccountsTransactionFulls/types.ts +122 -0
- package/src/getAccountsTransactionFulls/withD.ts +80 -0
- package/src/getAccountsTransactionFulls/withDA.ts +112 -0
- package/src/getAccountsTransactionFulls/withP.ts +120 -0
- package/src/getAccountsTransactionFulls/withPD.ts +141 -0
- package/src/getAccountsTransactionFulls/withPDA.ts +167 -0
- package/src/getAccountsTransactionFulls/withUndefined.ts +88 -0
- package/src/getContractAbi.ts +15 -0
- package/src/getTransactionFull/getTransactionDetail.ts +47 -0
- package/src/getTransactionFull/getTransactionFull.test.ts +34 -0
- package/src/getTransactionFull/getTransactionFull.ts +30 -0
- package/src/getTransactionFull/getTransactionFullCustom.ts +91 -0
- package/src/getTransactionFull/index.ts +2 -0
- package/src/getTransactionFull/types.ts +98 -0
- package/src/getTransactionFull/withD.ts +57 -0
- package/src/getTransactionFull/withDA.ts +78 -0
- package/src/getTransactionFull/withP.ts +69 -0
- package/src/getTransactionFull/withPD.ts +119 -0
- package/src/getTransactionFull/withPDA.ts +147 -0
- package/src/getTransactionFull/withUndefined.ts +39 -0
- package/src/index.cts +1 -0
- package/src/index.mts +110 -0
- package/src/tests.ts +1 -0
- package/src/types/erc1155.ts +17 -0
- package/src/types/erc20.ts +22 -0
- package/src/types/erc721.ts +19 -0
- package/src/types/evmAccount.ts +12 -0
- package/src/types/hex.test.ts +10 -0
- package/src/types/hex.ts +9 -0
- package/src/types/index.ts +16 -0
- package/src/types/input.ts +27 -0
- package/src/types/internalTransaction.ts +19 -0
- package/src/types/log.ts +68 -0
- package/src/types/transaction.ts +78 -0
- package/src/utils/bigint.ts +5 -0
- package/src/utils/index.ts +3 -0
- package/src/utils/timeout.ts +5 -0
- package/src/utils/types.ts +12 -0
- package/tsconfig.json +28 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { Logger } from '@0xtorch/core';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { Hex } from '../../../types';
|
|
4
|
+
type GetNormalTransactionsByAddressParameters = {
|
|
5
|
+
readonly apiEndpoint: string;
|
|
6
|
+
readonly address: Hex;
|
|
7
|
+
readonly size?: number;
|
|
8
|
+
readonly from?: number;
|
|
9
|
+
readonly logger?: Logger;
|
|
10
|
+
};
|
|
11
|
+
declare const transactionSchema: z.ZodObject<{
|
|
12
|
+
hash: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
13
|
+
block_hash: z.ZodString;
|
|
14
|
+
block_number: z.ZodNumber;
|
|
15
|
+
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
16
|
+
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}` | undefined, string>;
|
|
17
|
+
gas: z.ZodEffects<z.ZodString, bigint, string>;
|
|
18
|
+
gas_price: z.ZodEffects<z.ZodString, bigint, string>;
|
|
19
|
+
input: z.ZodString;
|
|
20
|
+
nonce: z.ZodNumber;
|
|
21
|
+
tx_index: z.ZodNumber;
|
|
22
|
+
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
23
|
+
gas_used: z.ZodEffects<z.ZodString, bigint, string>;
|
|
24
|
+
cumulative_gas_used: z.ZodEffects<z.ZodString, bigint, string>;
|
|
25
|
+
contract_address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}` | undefined, string>;
|
|
26
|
+
status: z.ZodNumber;
|
|
27
|
+
timestamp: z.ZodNumber;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
from: `0x${Lowercase<string>}`;
|
|
30
|
+
value: bigint;
|
|
31
|
+
gas: bigint;
|
|
32
|
+
nonce: number;
|
|
33
|
+
hash: `0x${Lowercase<string>}`;
|
|
34
|
+
input: string;
|
|
35
|
+
timestamp: number;
|
|
36
|
+
status: number;
|
|
37
|
+
block_number: number;
|
|
38
|
+
block_hash: string;
|
|
39
|
+
gas_price: bigint;
|
|
40
|
+
tx_index: number;
|
|
41
|
+
gas_used: bigint;
|
|
42
|
+
cumulative_gas_used: bigint;
|
|
43
|
+
to?: `0x${Lowercase<string>}` | undefined;
|
|
44
|
+
contract_address?: `0x${Lowercase<string>}` | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
from: string;
|
|
47
|
+
to: string;
|
|
48
|
+
value: string;
|
|
49
|
+
gas: string;
|
|
50
|
+
nonce: number;
|
|
51
|
+
hash: string;
|
|
52
|
+
input: string;
|
|
53
|
+
timestamp: number;
|
|
54
|
+
status: number;
|
|
55
|
+
block_number: number;
|
|
56
|
+
block_hash: string;
|
|
57
|
+
gas_price: string;
|
|
58
|
+
tx_index: number;
|
|
59
|
+
gas_used: string;
|
|
60
|
+
cumulative_gas_used: string;
|
|
61
|
+
contract_address: string;
|
|
62
|
+
}>;
|
|
63
|
+
type Transaction = Readonly<z.infer<typeof transactionSchema>>;
|
|
64
|
+
type ReturnType = {
|
|
65
|
+
readonly total: number;
|
|
66
|
+
readonly transactions: readonly Transaction[];
|
|
67
|
+
};
|
|
68
|
+
export declare const getNormalTransactionsByAddress: ({ apiEndpoint, address, size, from, logger, }: GetNormalTransactionsByAddressParameters) => Promise<ReturnType>;
|
|
69
|
+
export {};
|
|
70
|
+
//# sourceMappingURL=getNormalTransactionsByAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNormalTransactionsByAddress.d.ts","sourceRoot":"","sources":["../../../../../src/explorers/externals/roninExplorer/getNormalTransactionsByAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAIzC,KAAK,wCAAwC,GAAG;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAA;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBrB,CAAA;AAMF,KAAK,WAAW,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAA;AAC9D,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,YAAY,EAAE,SAAS,WAAW,EAAE,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,8BAA8B,kDAMxC,wCAAwC,KAAG,QAAQ,UAAU,CAqB/D,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { Logger } from '@0xtorch/core';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import type { Hex } from '../../../types';
|
|
4
|
+
type GetTokenTransfersByAddressParameters = {
|
|
5
|
+
readonly apiEndpoint: string;
|
|
6
|
+
readonly address: Hex;
|
|
7
|
+
readonly size?: number;
|
|
8
|
+
readonly from?: number;
|
|
9
|
+
readonly logger?: Logger;
|
|
10
|
+
};
|
|
11
|
+
declare const transferSchema: z.ZodObject<{
|
|
12
|
+
from: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
13
|
+
to: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
14
|
+
value: z.ZodEffects<z.ZodString, bigint, string>;
|
|
15
|
+
log_index: z.ZodString;
|
|
16
|
+
tx_hash: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
17
|
+
block_number: z.ZodNumber;
|
|
18
|
+
token_address: z.ZodEffects<z.ZodString, `0x${Lowercase<string>}`, string>;
|
|
19
|
+
token_decimals: z.ZodNumber;
|
|
20
|
+
token_name: z.ZodString;
|
|
21
|
+
token_symbol: z.ZodString;
|
|
22
|
+
token_type: z.ZodString;
|
|
23
|
+
token_id: z.ZodString;
|
|
24
|
+
block_hash: z.ZodString;
|
|
25
|
+
timestamp: z.ZodNumber;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
from: `0x${Lowercase<string>}`;
|
|
28
|
+
to: `0x${Lowercase<string>}`;
|
|
29
|
+
value: bigint;
|
|
30
|
+
timestamp: number;
|
|
31
|
+
tx_hash: `0x${Lowercase<string>}`;
|
|
32
|
+
block_number: number;
|
|
33
|
+
block_hash: string;
|
|
34
|
+
log_index: string;
|
|
35
|
+
token_address: `0x${Lowercase<string>}`;
|
|
36
|
+
token_decimals: number;
|
|
37
|
+
token_name: string;
|
|
38
|
+
token_symbol: string;
|
|
39
|
+
token_type: string;
|
|
40
|
+
token_id: string;
|
|
41
|
+
}, {
|
|
42
|
+
from: string;
|
|
43
|
+
to: string;
|
|
44
|
+
value: string;
|
|
45
|
+
timestamp: number;
|
|
46
|
+
tx_hash: string;
|
|
47
|
+
block_number: number;
|
|
48
|
+
block_hash: string;
|
|
49
|
+
log_index: string;
|
|
50
|
+
token_address: string;
|
|
51
|
+
token_decimals: number;
|
|
52
|
+
token_name: string;
|
|
53
|
+
token_symbol: string;
|
|
54
|
+
token_type: string;
|
|
55
|
+
token_id: string;
|
|
56
|
+
}>;
|
|
57
|
+
type Transfer = Readonly<z.infer<typeof transferSchema>>;
|
|
58
|
+
type ReturnType = {
|
|
59
|
+
readonly total: number;
|
|
60
|
+
readonly transfers: readonly Transfer[];
|
|
61
|
+
};
|
|
62
|
+
export declare const getTokenTransfersByAddress: ({ apiEndpoint, address, size, from, logger, }: GetTokenTransfersByAddressParameters) => Promise<ReturnType>;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=getTokenTransfersByAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTokenTransfersByAddress.d.ts","sourceRoot":"","sources":["../../../../../src/explorers/externals/roninExplorer/getTokenTransfersByAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AAIzC,KAAK,oCAAoC,GAAG;IAC1C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAA;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BlB,CAAA;AAMF,KAAK,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC,CAAA;AACxD,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,SAAS,EAAE,SAAS,QAAQ,EAAE,CAAA;CACxC,CAAA;AAED,eAAO,MAAM,0BAA0B,kDAMpC,oCAAoC,KAAG,QAAQ,UAAU,CAqB3D,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { getInternalTransactionByHash } from './getInternalTransactionByHash';
|
|
2
|
+
export { getNormalTransactionsByAddress } from './getNormalTransactionsByAddress';
|
|
3
|
+
export { getTokenTransfersByAddress } from './getTokenTransfersByAddress';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/explorers/externals/roninExplorer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../src/explorers/externals/roninExplorer/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAGnD,eAAO,MAAM,yBAAyB;sBAI7B,MAAM,0CAEF,MAAM;CAuCf,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/explorers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,eAAe,GAChB,MAAM,eAAe,CAAA;AACtB,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CryptoCurrency, Logger } from '@0xtorch/core';
|
|
2
|
+
import type { Hex, InternalTransaction } from '../types';
|
|
3
|
+
export type Explorer = {
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly url: string;
|
|
6
|
+
readonly apiUrl: string;
|
|
7
|
+
readonly getAddressTransactionHashes: FunctionGetAddressTransactionHashes;
|
|
8
|
+
readonly getAddressInternalTransactions: FunctionGetAddressInternalTransactions;
|
|
9
|
+
readonly getAddressTokenTransferHashes: FunctionGetAddressTokenTransferHashes;
|
|
10
|
+
readonly getBlockNumberOfTimestamp: (timestamp: number, logger?: Logger) => Promise<bigint>;
|
|
11
|
+
readonly getContract: FunctionGetContract;
|
|
12
|
+
readonly getInternalTransactionOfTransaction: FunctionGetInternalTransactionOfTransaction;
|
|
13
|
+
};
|
|
14
|
+
type FunctionGetAddressTransactionHashes = (parameters: {
|
|
15
|
+
readonly address: Hex;
|
|
16
|
+
readonly startBlock?: bigint;
|
|
17
|
+
readonly endBlock?: bigint;
|
|
18
|
+
readonly logger?: Logger;
|
|
19
|
+
}) => Promise<readonly Hex[]>;
|
|
20
|
+
type FunctionGetAddressInternalTransactions = (parameters: {
|
|
21
|
+
readonly address: Hex;
|
|
22
|
+
readonly startBlock?: bigint;
|
|
23
|
+
readonly endBlock?: bigint;
|
|
24
|
+
readonly nativeCurrency: CryptoCurrency;
|
|
25
|
+
readonly logger?: Logger;
|
|
26
|
+
}) => Promise<readonly InternalTransaction<undefined>[]>;
|
|
27
|
+
type FunctionGetAddressTokenTransferHashes = (parameters: {
|
|
28
|
+
readonly address: Hex;
|
|
29
|
+
readonly startBlock?: bigint;
|
|
30
|
+
readonly endBlock?: bigint;
|
|
31
|
+
readonly logger?: Logger;
|
|
32
|
+
}) => Promise<readonly Hex[]>;
|
|
33
|
+
type FunctionGetContract = (address: Hex, logger?: Logger) => Promise<{
|
|
34
|
+
readonly name: string;
|
|
35
|
+
readonly abi: string;
|
|
36
|
+
} | undefined>;
|
|
37
|
+
type FunctionGetInternalTransactionOfTransaction = (parameters: {
|
|
38
|
+
readonly hash: Hex;
|
|
39
|
+
readonly nativeCurrency: CryptoCurrency;
|
|
40
|
+
readonly logger?: Logger;
|
|
41
|
+
}) => Promise<readonly InternalTransaction<undefined>[]>;
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/explorers/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3D,OAAO,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAExD,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,2BAA2B,EAAE,mCAAmC,CAAA;IACzE,QAAQ,CAAC,8BAA8B,EAAE,sCAAsC,CAAA;IAC/E,QAAQ,CAAC,6BAA6B,EAAE,qCAAqC,CAAA;IAC7E,QAAQ,CAAC,yBAAyB,EAAE,CAClC,SAAS,EAAE,MAAM,EACjB,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,MAAM,CAAC,CAAA;IACpB,QAAQ,CAAC,WAAW,EAAE,mBAAmB,CAAA;IACzC,QAAQ,CAAC,mCAAmC,EAAE,2CAA2C,CAAA;CAC1F,CAAA;AAED,KAAK,mCAAmC,GAAG,CAAC,UAAU,EAAE;IACtD,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAA;IACrB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,KAAK,OAAO,CAAC,SAAS,GAAG,EAAE,CAAC,CAAA;AAE7B,KAAK,sCAAsC,GAAG,CAAC,UAAU,EAAE;IACzD,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAA;IACrB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAA;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,KAAK,OAAO,CAAC,SAAS,mBAAmB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;AAExD,KAAK,qCAAqC,GAAG,CAAC,UAAU,EAAE;IACxD,QAAQ,CAAC,OAAO,EAAE,GAAG,CAAA;IACrB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,KAAK,OAAO,CAAC,SAAS,GAAG,EAAE,CAAC,CAAA;AAE7B,KAAK,mBAAmB,GAAG,CACzB,OAAO,EAAE,GAAG,EACZ,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CACR;IACE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CACrB,GACD,SAAS,CACZ,CAAA;AAED,KAAK,2CAA2C,GAAG,CAAC,UAAU,EAAE;IAC9D,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAA;IAClB,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAA;IACvC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB,KAAK,OAAO,CAAC,SAAS,mBAAmB,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fix.d.mts","sourceRoot":"","sources":["../../src/fix.mts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAE5C,eAAO,MAAM,GAAG,wBACO,UAAU,eAClB,MAAM,YACT,OAAO,GAAG,OAAO,GAAG,MAAM,KACnC,UAYF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fix.d.ts","sourceRoot":"","sources":["../../src/fix.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAExC,eAAO,MAAM,GAAG,wBACO,UAAU,eAClB,MAAM,YACT,OAAO,GAAG,OAAO,GAAG,MAAM,KACnC,UAYF,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Config, FiatCurrency } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { LowerHex } from '../types';
|
|
4
|
+
type GetAccountsTransactionFullsParameters = {
|
|
5
|
+
readonly chain: Chain;
|
|
6
|
+
readonly addresses: readonly LowerHex[];
|
|
7
|
+
readonly fromBlock: bigint;
|
|
8
|
+
readonly toBlock: bigint;
|
|
9
|
+
readonly fiat?: FiatCurrency;
|
|
10
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
11
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const getAccountsTransactionFulls: ({ chain, addresses, fromBlock, toBlock, fiat, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsParameters, config?: Config) => Promise<readonly import("../types").TransactionFull<import("@0xtorch/core").CryptoCurrencyPrice | undefined, true, true>[]>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=getAccountsTransactionFulls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountsTransactionFulls.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getAccountsTransactionFulls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAGzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAEtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGxC,KAAK,qCAAqC,GAAG;IAC3C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAA;IACrB,QAAQ,CAAC,SAAS,EAAE,SAAS,QAAQ,EAAE,CAAA;IACvC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAA;IAC5B,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,QAAQ,EAAE,KAAK,IAAI,CAAA;IAC9D,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAA;CACvD,CAAA;AAED,eAAO,MAAM,2BAA2B,uFASnC,qCAAqC,WAC/B,MAAM,gIAiBd,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParameters, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustom: <T extends GetAccountsTransactionFullsCustomParameters>(parameters: T, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<T>>;
|
|
4
|
+
//# sourceMappingURL=getAccountsTransactionFullsCustom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountsTransactionFullsCustom.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getAccountsTransactionFullsCustom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EACV,2CAA2C,EAO3C,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAQhB,eAAO,MAAM,iCAAiC,kFAInC,MAAM,4DA6ChB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Config, CryptoCurrencyDataSource, CryptoCurrencyPrice, FiatCurrency } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { TransactionDecoded } from '../types';
|
|
4
|
+
export declare const getDecodedTransactionsPrices: (chain: Chain, priceDataSource: CryptoCurrencyDataSource, fiat: FiatCurrency, transactions: readonly TransactionDecoded<undefined>[], config?: Config) => Promise<readonly CryptoCurrencyPrice[]>;
|
|
5
|
+
//# sourceMappingURL=getDecodedTransactionsPrices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDecodedTransactionsPrices.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getDecodedTransactionsPrices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EAEN,wBAAwB,EACxB,mBAAmB,EACnB,YAAY,EACb,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAElD,eAAO,MAAM,4BAA4B,UAChC,KAAK,mBACK,wBAAwB,QACnC,YAAY,gBACJ,SAAS,mBAAmB,SAAS,CAAC,EAAE,WAC7C,MAAM,KACd,QAAQ,SAAS,mBAAmB,EAAE,CAgFxC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { Hex, InternalTransaction, LowerHex } from '../types';
|
|
4
|
+
export declare const getHashesAndInternalTxs: (chain: Chain, addresses: readonly LowerHex[], fromBlock: bigint, toBlock: bigint, config?: Config) => Promise<{
|
|
5
|
+
readonly hashes: readonly Hex[];
|
|
6
|
+
readonly internalTransactions: readonly InternalTransaction<undefined>[];
|
|
7
|
+
}>;
|
|
8
|
+
//# sourceMappingURL=getHashesAndInternalTxs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHashesAndInternalTxs.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getHashesAndInternalTxs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAGlE,eAAO,MAAM,uBAAuB,UAC3B,KAAK,aACD,SAAS,QAAQ,EAAE,aACnB,MAAM,WACR,MAAM,WACN,MAAM,KACd,QAAQ;IACT,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,EAAE,CAAA;IAC/B,QAAQ,CAAC,oBAAoB,EAAE,SAAS,oBAAoB,SAAS,CAAC,EAAE,CAAA;CACzE,CAkDA,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { Hex, InternalTransaction, TransactionDetail } from '../types';
|
|
4
|
+
export declare const getTransactionDetail: (chain: Chain, hash: Hex, internalTransactions: readonly InternalTransaction<undefined>[], config?: Config) => Promise<TransactionDetail>;
|
|
5
|
+
//# sourceMappingURL=getTransactionDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransactionDetail.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getTransactionDetail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE3E,eAAO,MAAM,oBAAoB,UACxB,KAAK,QACN,GAAG,wBACa,SAAS,oBAAoB,SAAS,CAAC,EAAE,WACtD,MAAM,KACd,QAAQ,iBAAiB,CAuC3B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { Hex, InternalTransaction, TransactionDetail } from '../types';
|
|
4
|
+
export declare const getTransactionDetails: (chain: Chain, hashes: readonly Hex[], internalTransactions: readonly InternalTransaction<undefined>[], onFetchTransaction: ((hash: `0x${Lowercase<string>}`) => void) | undefined, config?: Config) => Promise<readonly TransactionDetail[]>;
|
|
5
|
+
//# sourceMappingURL=getTransactionDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransactionDetails.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getTransactionDetails.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAE3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAI3E,eAAO,MAAM,qBAAqB,UACzB,KAAK,UACJ,SAAS,GAAG,EAAE,wBACA,SAAS,oBAAoB,SAAS,CAAC,EAAE,8BACnC,KAAK,UAAU,MAAM,CAAC,EAAE,KAAK,IAAI,wBACpD,MAAM,KACd,QAAQ,SAAS,iBAAiB,EAAE,CAyBtC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { App, Config } from '@0xtorch/core';
|
|
2
|
+
import type { AppDataSource } from '../apps';
|
|
3
|
+
import type { LowerHex, TransactionDetail } from '../types';
|
|
4
|
+
export declare const getTransactionsApps: (appDataSource: AppDataSource | undefined, transactionos: readonly TransactionDetail[], config?: Config) => Promise<{
|
|
5
|
+
readonly address: LowerHex;
|
|
6
|
+
readonly app: App | undefined;
|
|
7
|
+
}[]>;
|
|
8
|
+
//# sourceMappingURL=getTransactionsApps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransactionsApps.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/getTransactionsApps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAG3D,eAAO,MAAM,mBAAmB,kBACf,aAAa,GAAG,SAAS,iBACzB,SAAS,iBAAiB,EAAE,WAClC,MAAM,KACd,QACD;IACE,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAA;IAC1B,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,SAAS,CAAA;CAC9B,EAAE,CA4BJ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAA"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { CryptoCurrencyDataSource, CryptoCurrencyPrice, FiatCurrency } from '@0xtorch/core';
|
|
2
|
+
import type { Analyzer } from '../analyzer';
|
|
3
|
+
import type { AppDataSource } from '../apps';
|
|
4
|
+
import type { Chain } from '../chains';
|
|
5
|
+
import type { Decoder } from '../decoder';
|
|
6
|
+
import type { LowerHex, TransactionFull } from '../types';
|
|
7
|
+
export type GetAccountsTransactionFullsCustomParameters = GetAccountsTransactionFullsCustomParametersAllUndefined | GetAccountsTransactionFullsCustomParametersP | GetAccountsTransactionFullsCustomParametersPD | GetAccountsTransactionFullsCustomParametersPDA | GetAccountsTransactionFullsCustomParametersD | GetAccountsTransactionFullsCustomParametersDA;
|
|
8
|
+
export type GetAccountsTransactionFullsCustomParametersAllUndefined = {
|
|
9
|
+
readonly chain: Chain;
|
|
10
|
+
readonly addresses: readonly LowerHex[];
|
|
11
|
+
readonly fromBlock: bigint;
|
|
12
|
+
readonly toBlock: bigint;
|
|
13
|
+
readonly appDataSource: AppDataSource | undefined;
|
|
14
|
+
readonly priceDataSource: undefined;
|
|
15
|
+
readonly fiat: undefined;
|
|
16
|
+
readonly decoder: undefined;
|
|
17
|
+
readonly analyzer: undefined;
|
|
18
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
19
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
20
|
+
};
|
|
21
|
+
export type GetAccountsTransactionFullsCustomParametersP = {
|
|
22
|
+
readonly chain: Chain;
|
|
23
|
+
readonly addresses: readonly LowerHex[];
|
|
24
|
+
readonly fromBlock: bigint;
|
|
25
|
+
readonly toBlock: bigint;
|
|
26
|
+
readonly appDataSource: AppDataSource | undefined;
|
|
27
|
+
readonly priceDataSource: CryptoCurrencyDataSource;
|
|
28
|
+
readonly fiat: FiatCurrency;
|
|
29
|
+
readonly decoder: undefined;
|
|
30
|
+
readonly analyzer: undefined;
|
|
31
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
32
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
33
|
+
};
|
|
34
|
+
export type GetAccountsTransactionFullsCustomParametersPD = {
|
|
35
|
+
readonly chain: Chain;
|
|
36
|
+
readonly addresses: readonly LowerHex[];
|
|
37
|
+
readonly fromBlock: bigint;
|
|
38
|
+
readonly toBlock: bigint;
|
|
39
|
+
readonly appDataSource: AppDataSource | undefined;
|
|
40
|
+
readonly priceDataSource: CryptoCurrencyDataSource;
|
|
41
|
+
readonly fiat: FiatCurrency;
|
|
42
|
+
readonly decoder: Decoder;
|
|
43
|
+
readonly analyzer: undefined;
|
|
44
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
45
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
46
|
+
};
|
|
47
|
+
export type GetAccountsTransactionFullsCustomParametersPDA = {
|
|
48
|
+
readonly chain: Chain;
|
|
49
|
+
readonly addresses: readonly LowerHex[];
|
|
50
|
+
readonly fromBlock: bigint;
|
|
51
|
+
readonly toBlock: bigint;
|
|
52
|
+
readonly appDataSource: AppDataSource | undefined;
|
|
53
|
+
readonly priceDataSource: CryptoCurrencyDataSource;
|
|
54
|
+
readonly fiat: FiatCurrency;
|
|
55
|
+
readonly decoder: Decoder;
|
|
56
|
+
readonly analyzer: Analyzer<CryptoCurrencyPrice | undefined>;
|
|
57
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
58
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
59
|
+
};
|
|
60
|
+
export type GetAccountsTransactionFullsCustomParametersD = {
|
|
61
|
+
readonly chain: Chain;
|
|
62
|
+
readonly addresses: readonly LowerHex[];
|
|
63
|
+
readonly fromBlock: bigint;
|
|
64
|
+
readonly toBlock: bigint;
|
|
65
|
+
readonly appDataSource: AppDataSource | undefined;
|
|
66
|
+
readonly priceDataSource: undefined;
|
|
67
|
+
readonly fiat: undefined;
|
|
68
|
+
readonly decoder: Decoder;
|
|
69
|
+
readonly analyzer: undefined;
|
|
70
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
71
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
72
|
+
};
|
|
73
|
+
export type GetAccountsTransactionFullsCustomParametersDA = {
|
|
74
|
+
readonly chain: Chain;
|
|
75
|
+
readonly addresses: readonly LowerHex[];
|
|
76
|
+
readonly fromBlock: bigint;
|
|
77
|
+
readonly toBlock: bigint;
|
|
78
|
+
readonly appDataSource: AppDataSource | undefined;
|
|
79
|
+
readonly priceDataSource: undefined;
|
|
80
|
+
readonly fiat: undefined;
|
|
81
|
+
readonly decoder: Decoder;
|
|
82
|
+
readonly analyzer: Analyzer<undefined>;
|
|
83
|
+
readonly onFetchHashes?: (hashes: readonly LowerHex[]) => void;
|
|
84
|
+
readonly onFetchTransaction?: (hash: LowerHex) => void;
|
|
85
|
+
};
|
|
86
|
+
export type GetAccountsTransactionFullsCustomReturnType<T extends GetAccountsTransactionFullsCustomParameters> = T extends GetAccountsTransactionFullsCustomParametersAllUndefined ? readonly TransactionFull<undefined, false, false>[] : T extends GetAccountsTransactionFullsCustomParametersP ? readonly TransactionFull<CryptoCurrencyPrice | undefined, false, false>[] : T extends GetAccountsTransactionFullsCustomParametersPD ? readonly TransactionFull<CryptoCurrencyPrice | undefined, true, false>[] : T extends GetAccountsTransactionFullsCustomParametersPDA ? readonly TransactionFull<CryptoCurrencyPrice | undefined, true, true>[] : T extends GetAccountsTransactionFullsCustomParametersD ? readonly TransactionFull<undefined, true, false>[] : T extends GetAccountsTransactionFullsCustomParametersDA ? readonly TransactionFull<undefined, true, true>[] : never;
|
|
87
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParametersD, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustomWithD: ({ chain, addresses, fromBlock, toBlock, appDataSource, decoder, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsCustomParametersD, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<GetAccountsTransactionFullsCustomParametersD>>;
|
|
4
|
+
//# sourceMappingURL=withD.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withD.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/withD.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAK3C,OAAO,KAAK,EACV,4CAA4C,EAC5C,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,sCAAsC,yGAU9C,4CAA4C,WACtC,MAAM,KACd,QACD,4CAA4C,4CAA4C,CAAC,CAwD1F,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParametersDA, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustomWithDA: ({ chain, addresses, fromBlock, toBlock, appDataSource, decoder, analyzer, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsCustomParametersDA, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<GetAccountsTransactionFullsCustomParametersDA>>;
|
|
4
|
+
//# sourceMappingURL=withDA.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withDA.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/withDA.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAK3C,OAAO,KAAK,EACV,6CAA6C,EAC7C,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,uCAAuC,mHAW/C,6CAA6C,WACvC,MAAM,KACd,QACD,4CAA4C,6CAA6C,CAAC,CAsF3F,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParametersP, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustomWithP: ({ chain, addresses, fromBlock, toBlock, appDataSource, priceDataSource, fiat, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsCustomParametersP, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<GetAccountsTransactionFullsCustomParametersP>>;
|
|
4
|
+
//# sourceMappingURL=withP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withP.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/withP.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAA;AAKhE,OAAO,KAAK,EACV,4CAA4C,EAC5C,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,sCAAsC,uHAW9C,4CAA4C,WACtC,MAAM,KACd,QACD,4CAA4C,4CAA4C,CAAC,CA+F1F,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParametersPD, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustomWithPD: ({ chain, addresses, fromBlock, toBlock, appDataSource, priceDataSource, fiat, decoder, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsCustomParametersPD, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<GetAccountsTransactionFullsCustomParametersPD>>;
|
|
4
|
+
//# sourceMappingURL=withPD.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withPD.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/withPD.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAA;AAMhE,OAAO,KAAK,EACV,6CAA6C,EAC7C,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,uCAAuC,gIAY/C,6CAA6C,WACvC,MAAM,KACd,QACD,4CAA4C,6CAA6C,CAAC,CAiH3F,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParametersPDA, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustomWithPDA: ({ chain, addresses, fromBlock, toBlock, appDataSource, priceDataSource, fiat, decoder, analyzer, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsCustomParametersPDA, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<GetAccountsTransactionFullsCustomParametersPDA>>;
|
|
4
|
+
//# sourceMappingURL=withPDA.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withPDA.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/withPDA.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAuB,MAAM,eAAe,CAAA;AAMhE,OAAO,KAAK,EACV,8CAA8C,EAC9C,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,wCAAwC,0IAahD,8CAA8C,WACxC,MAAM,KACd,QACD,4CAA4C,8CAA8C,CAAC,CA0I5F,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetAccountsTransactionFullsCustomParametersAllUndefined, GetAccountsTransactionFullsCustomReturnType } from './types';
|
|
3
|
+
export declare const getAccountsTransactionFullsCustomWithAllUndefined: ({ chain, addresses, fromBlock, toBlock, appDataSource, onFetchHashes, onFetchTransaction, }: GetAccountsTransactionFullsCustomParametersAllUndefined, config?: Config) => Promise<GetAccountsTransactionFullsCustomReturnType<GetAccountsTransactionFullsCustomParametersAllUndefined>>;
|
|
4
|
+
//# sourceMappingURL=withUndefined.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withUndefined.d.ts","sourceRoot":"","sources":["../../../src/getAccountsTransactionFulls/withUndefined.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAK3C,OAAO,KAAK,EACV,uDAAuD,EACvD,2CAA2C,EAC5C,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,iDAAiD,gGASzD,uDAAuD,WACjD,MAAM,KACd,QACD,4CAA4C,uDAAuD,CAAC,CAiErG,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { Hex, TransactionDetail } from '../types';
|
|
4
|
+
export declare const getTransactionDetail: (chain: Chain, hash: Hex, config?: Config) => Promise<TransactionDetail | undefined>;
|
|
5
|
+
//# sourceMappingURL=getTransactionDetail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransactionDetail.d.ts","sourceRoot":"","sources":["../../../src/getTransactionFull/getTransactionDetail.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAEtD,eAAO,MAAM,oBAAoB,UACxB,KAAK,QACN,GAAG,WACA,MAAM,KACd,QAAQ,iBAAiB,GAAG,SAAS,CAsCvC,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Config, FiatCurrency } from '@0xtorch/core';
|
|
2
|
+
import type { Chain } from '../chains';
|
|
3
|
+
import type { Hex } from '../types';
|
|
4
|
+
type GetTransactionFullParameters = {
|
|
5
|
+
readonly chain: Chain;
|
|
6
|
+
readonly hash: Hex;
|
|
7
|
+
readonly fiat?: FiatCurrency;
|
|
8
|
+
};
|
|
9
|
+
export declare const getTransactionFull: ({ chain, hash, fiat }: GetTransactionFullParameters, config?: Config) => Promise<import("../types").TransactionFull<import("@0xtorch/core").CryptoCurrencyPrice | undefined, true, true> | undefined>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=getTransactionFull.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransactionFull.d.ts","sourceRoot":"","sources":["../../../src/getTransactionFull/getTransactionFull.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAGzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAA;AAEtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAGnC,KAAK,4BAA4B,GAAG;IAClC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAA;IACrB,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAA;IAClB,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,CAAA;CAC7B,CAAA;AAED,eAAO,MAAM,kBAAkB,0BACA,4BAA4B,WAChD,MAAM,iIAad,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Config } from '@0xtorch/core';
|
|
2
|
+
import type { GetTransactionFullCustomParameters, GetTransactionFullCustomReturnType } from './types';
|
|
3
|
+
export declare const getTransactionFullCustom: <T extends GetTransactionFullCustomParameters>(parameters: T, config?: Config) => Promise<GetTransactionFullCustomReturnType<T>>;
|
|
4
|
+
//# sourceMappingURL=getTransactionFullCustom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTransactionFullCustom.d.ts","sourceRoot":"","sources":["../../../src/getTransactionFull/getTransactionFullCustom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EACV,kCAAkC,EAOlC,kCAAkC,EACnC,MAAM,SAAS,CAAA;AAQhB,eAAO,MAAM,wBAAwB,yEAI1B,MAAM,mDA8BhB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/getTransactionFull/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA"}
|