@noditlabs/nodit-mcp-server 1.0.0
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/LICENSE +201 -0
- package/README.md +179 -0
- package/build/index.js +22 -0
- package/build/nodit-apidoc-helper.js +116 -0
- package/build/nodit-aptos-indexer-api-schema.json +2421 -0
- package/build/spec/reference/aptos.yaml +651 -0
- package/build/spec/reference/arbitrum.yaml +10975 -0
- package/build/spec/reference/base.yaml +10975 -0
- package/build/spec/reference/bitcoin.yaml +1856 -0
- package/build/spec/reference/dogecoin.yaml +1856 -0
- package/build/spec/reference/ethereum.yaml +12527 -0
- package/build/spec/reference/evm-arbitrum-debug_traceblockbyhash.yaml +198 -0
- package/build/spec/reference/evm-arbitrum-debug_traceblockbynumber.yaml +225 -0
- package/build/spec/reference/evm-arbitrum-debug_tracecall.yaml +261 -0
- package/build/spec/reference/evm-arbitrum-debug_tracetransaction.yaml +173 -0
- package/build/spec/reference/evm-arbitrum-eth_blocknumber.yaml +96 -0
- package/build/spec/reference/evm-arbitrum-eth_call.yaml +233 -0
- package/build/spec/reference/evm-arbitrum-eth_chainid.yaml +98 -0
- package/build/spec/reference/evm-arbitrum-eth_createaccesslist.yaml +221 -0
- package/build/spec/reference/evm-arbitrum-eth_estimategas.yaml +156 -0
- package/build/spec/reference/evm-arbitrum-eth_feehistory.yaml +187 -0
- package/build/spec/reference/evm-arbitrum-eth_gasprice.yaml +96 -0
- package/build/spec/reference/evm-arbitrum-eth_getbalance.yaml +176 -0
- package/build/spec/reference/evm-arbitrum-eth_getblockbyhash.yaml +189 -0
- package/build/spec/reference/evm-arbitrum-eth_getblockbynumber.yaml +210 -0
- package/build/spec/reference/evm-arbitrum-eth_getblockreceipts.yaml +210 -0
- package/build/spec/reference/evm-arbitrum-eth_getblocktransactioncountbyhash.yaml +119 -0
- package/build/spec/reference/evm-arbitrum-eth_getblocktransactioncountbynumber.yaml +153 -0
- package/build/spec/reference/evm-arbitrum-eth_getcode.yaml +163 -0
- package/build/spec/reference/evm-arbitrum-eth_getfilterchanges.yaml +135 -0
- package/build/spec/reference/evm-arbitrum-eth_getfilterlogs.yaml +135 -0
- package/build/spec/reference/evm-arbitrum-eth_getlogs.yaml +217 -0
- package/build/spec/reference/evm-arbitrum-eth_getproof.yaml +225 -0
- package/build/spec/reference/evm-arbitrum-eth_getstorageat.yaml +170 -0
- package/build/spec/reference/evm-arbitrum-eth_gettransactionbyblockhashandindex.yaml +212 -0
- package/build/spec/reference/evm-arbitrum-eth_gettransactionbyblocknumberandindex.yaml +245 -0
- package/build/spec/reference/evm-arbitrum-eth_gettransactionbyhash.yaml +202 -0
- package/build/spec/reference/evm-arbitrum-eth_gettransactioncount.yaml +169 -0
- package/build/spec/reference/evm-arbitrum-eth_gettransactionreceipt.yaml +148 -0
- package/build/spec/reference/evm-arbitrum-eth_getunclebyblockhashandindex.yaml +153 -0
- package/build/spec/reference/evm-arbitrum-eth_getunclebyblocknumberandindex.yaml +186 -0
- package/build/spec/reference/evm-arbitrum-eth_getunclecountbyblockhash.yaml +115 -0
- package/build/spec/reference/evm-arbitrum-eth_getunclecountbyblocknumber.yaml +149 -0
- package/build/spec/reference/evm-arbitrum-eth_maxpriorityfeepergas.yaml +98 -0
- package/build/spec/reference/evm-arbitrum-eth_newblockfilter.yaml +98 -0
- package/build/spec/reference/evm-arbitrum-eth_newfilter.yaml +188 -0
- package/build/spec/reference/evm-arbitrum-eth_newpendingtransactionfilter.yaml +98 -0
- package/build/spec/reference/evm-arbitrum-eth_sendrawtransaction.yaml +130 -0
- package/build/spec/reference/evm-arbitrum-eth_uninstallfilter.yaml +117 -0
- package/build/spec/reference/evm-arbitrum-net_version.yaml +100 -0
- package/build/spec/reference/evm-arbitrum-web3_clientversion.yaml +96 -0
- package/build/spec/reference/evm-arbitrum-web3_sha3.yaml +122 -0
- package/build/spec/reference/evm-base-debug_traceblockbyhash.yaml +198 -0
- package/build/spec/reference/evm-base-debug_traceblockbynumber.yaml +225 -0
- package/build/spec/reference/evm-base-debug_tracecall.yaml +261 -0
- package/build/spec/reference/evm-base-debug_tracetransaction.yaml +173 -0
- package/build/spec/reference/evm-base-eth_blocknumber.yaml +96 -0
- package/build/spec/reference/evm-base-eth_call.yaml +233 -0
- package/build/spec/reference/evm-base-eth_chainid.yaml +98 -0
- package/build/spec/reference/evm-base-eth_createaccesslist.yaml +221 -0
- package/build/spec/reference/evm-base-eth_estimategas.yaml +156 -0
- package/build/spec/reference/evm-base-eth_feehistory.yaml +187 -0
- package/build/spec/reference/evm-base-eth_gasprice.yaml +96 -0
- package/build/spec/reference/evm-base-eth_getbalance.yaml +176 -0
- package/build/spec/reference/evm-base-eth_getblockbyhash.yaml +189 -0
- package/build/spec/reference/evm-base-eth_getblockbynumber.yaml +210 -0
- package/build/spec/reference/evm-base-eth_getblockreceipts.yaml +210 -0
- package/build/spec/reference/evm-base-eth_getblocktransactioncountbyhash.yaml +119 -0
- package/build/spec/reference/evm-base-eth_getblocktransactioncountbynumber.yaml +153 -0
- package/build/spec/reference/evm-base-eth_getcode.yaml +163 -0
- package/build/spec/reference/evm-base-eth_getfilterchanges.yaml +135 -0
- package/build/spec/reference/evm-base-eth_getfilterlogs.yaml +135 -0
- package/build/spec/reference/evm-base-eth_getlogs.yaml +217 -0
- package/build/spec/reference/evm-base-eth_getproof.yaml +225 -0
- package/build/spec/reference/evm-base-eth_getstorageat.yaml +170 -0
- package/build/spec/reference/evm-base-eth_gettransactionbyblockhashandindex.yaml +212 -0
- package/build/spec/reference/evm-base-eth_gettransactionbyblocknumberandindex.yaml +245 -0
- package/build/spec/reference/evm-base-eth_gettransactionbyhash.yaml +202 -0
- package/build/spec/reference/evm-base-eth_gettransactioncount.yaml +169 -0
- package/build/spec/reference/evm-base-eth_gettransactionreceipt.yaml +148 -0
- package/build/spec/reference/evm-base-eth_getunclebyblockhashandindex.yaml +153 -0
- package/build/spec/reference/evm-base-eth_getunclebyblocknumberandindex.yaml +186 -0
- package/build/spec/reference/evm-base-eth_getunclecountbyblockhash.yaml +115 -0
- package/build/spec/reference/evm-base-eth_getunclecountbyblocknumber.yaml +149 -0
- package/build/spec/reference/evm-base-eth_maxpriorityfeepergas.yaml +98 -0
- package/build/spec/reference/evm-base-eth_newblockfilter.yaml +98 -0
- package/build/spec/reference/evm-base-eth_newfilter.yaml +188 -0
- package/build/spec/reference/evm-base-eth_newpendingtransactionfilter.yaml +98 -0
- package/build/spec/reference/evm-base-eth_sendrawtransaction.yaml +130 -0
- package/build/spec/reference/evm-base-eth_uninstallfilter.yaml +117 -0
- package/build/spec/reference/evm-base-net_listening.yaml +96 -0
- package/build/spec/reference/evm-base-net_version.yaml +100 -0
- package/build/spec/reference/evm-base-optimism_outputatblock.yaml +120 -0
- package/build/spec/reference/evm-base-optimism_rollupconfig.yaml +125 -0
- package/build/spec/reference/evm-base-web3_clientversion.yaml +96 -0
- package/build/spec/reference/evm-base-web3_sha3.yaml +122 -0
- package/build/spec/reference/evm-ethereum-debug_traceblockbyhash.yaml +199 -0
- package/build/spec/reference/evm-ethereum-debug_traceblockbynumber.yaml +226 -0
- package/build/spec/reference/evm-ethereum-debug_tracecall.yaml +262 -0
- package/build/spec/reference/evm-ethereum-debug_tracetransaction.yaml +174 -0
- package/build/spec/reference/evm-ethereum-eth_blocknumber.yaml +97 -0
- package/build/spec/reference/evm-ethereum-eth_call.yaml +234 -0
- package/build/spec/reference/evm-ethereum-eth_chainid.yaml +99 -0
- package/build/spec/reference/evm-ethereum-eth_createaccesslist.yaml +222 -0
- package/build/spec/reference/evm-ethereum-eth_estimategas.yaml +157 -0
- package/build/spec/reference/evm-ethereum-eth_feehistory.yaml +188 -0
- package/build/spec/reference/evm-ethereum-eth_gasprice.yaml +97 -0
- package/build/spec/reference/evm-ethereum-eth_getbalance.yaml +177 -0
- package/build/spec/reference/evm-ethereum-eth_getblockbyhash.yaml +190 -0
- package/build/spec/reference/evm-ethereum-eth_getblockbynumber.yaml +211 -0
- package/build/spec/reference/evm-ethereum-eth_getblockreceipts.yaml +211 -0
- package/build/spec/reference/evm-ethereum-eth_getblocktransactioncountbyhash.yaml +120 -0
- package/build/spec/reference/evm-ethereum-eth_getblocktransactioncountbynumber.yaml +154 -0
- package/build/spec/reference/evm-ethereum-eth_getcode.yaml +164 -0
- package/build/spec/reference/evm-ethereum-eth_getfilterchanges.yaml +136 -0
- package/build/spec/reference/evm-ethereum-eth_getfilterlogs.yaml +136 -0
- package/build/spec/reference/evm-ethereum-eth_getlogs.yaml +218 -0
- package/build/spec/reference/evm-ethereum-eth_getproof.yaml +226 -0
- package/build/spec/reference/evm-ethereum-eth_getstorageat.yaml +171 -0
- package/build/spec/reference/evm-ethereum-eth_gettransactionbyblockhashandindex.yaml +213 -0
- package/build/spec/reference/evm-ethereum-eth_gettransactionbyblocknumberandindex.yaml +246 -0
- package/build/spec/reference/evm-ethereum-eth_gettransactionbyhash.yaml +203 -0
- package/build/spec/reference/evm-ethereum-eth_gettransactioncount.yaml +170 -0
- package/build/spec/reference/evm-ethereum-eth_gettransactionreceipt.yaml +149 -0
- package/build/spec/reference/evm-ethereum-eth_getunclebyblockhashandindex.yaml +154 -0
- package/build/spec/reference/evm-ethereum-eth_getunclebyblocknumberandindex.yaml +187 -0
- package/build/spec/reference/evm-ethereum-eth_getunclecountbyblockhash.yaml +116 -0
- package/build/spec/reference/evm-ethereum-eth_getunclecountbyblocknumber.yaml +150 -0
- package/build/spec/reference/evm-ethereum-eth_maxpriorityfeepergas.yaml +99 -0
- package/build/spec/reference/evm-ethereum-eth_newblockfilter.yaml +99 -0
- package/build/spec/reference/evm-ethereum-eth_newfilter.yaml +189 -0
- package/build/spec/reference/evm-ethereum-eth_newpendingtransactionfilter.yaml +99 -0
- package/build/spec/reference/evm-ethereum-eth_sendrawtransaction.yaml +131 -0
- package/build/spec/reference/evm-ethereum-eth_uninstallfilter.yaml +118 -0
- package/build/spec/reference/evm-ethereum-net_listening.yaml +97 -0
- package/build/spec/reference/evm-ethereum-net_version.yaml +101 -0
- package/build/spec/reference/evm-ethereum-trace_block.yaml +173 -0
- package/build/spec/reference/evm-ethereum-trace_call.yaml +255 -0
- package/build/spec/reference/evm-ethereum-trace_filter.yaml +167 -0
- package/build/spec/reference/evm-ethereum-trace_get.yaml +155 -0
- package/build/spec/reference/evm-ethereum-trace_replayblocktransactions.yaml +202 -0
- package/build/spec/reference/evm-ethereum-trace_replaytransaction.yaml +173 -0
- package/build/spec/reference/evm-ethereum-trace_transaction.yaml +140 -0
- package/build/spec/reference/evm-ethereum-web3_clientversion.yaml +97 -0
- package/build/spec/reference/evm-ethereum-web3_sha3.yaml +123 -0
- package/build/spec/reference/evm-kaia-debug_traceblockbyhash.yaml +198 -0
- package/build/spec/reference/evm-kaia-debug_traceblockbynumber.yaml +225 -0
- package/build/spec/reference/evm-kaia-debug_tracecall.yaml +261 -0
- package/build/spec/reference/evm-kaia-debug_tracetransaction.yaml +173 -0
- package/build/spec/reference/evm-kaia-eth_blocknumber.yaml +96 -0
- package/build/spec/reference/evm-kaia-eth_call.yaml +233 -0
- package/build/spec/reference/evm-kaia-eth_chainid.yaml +98 -0
- package/build/spec/reference/evm-kaia-eth_createaccesslist.yaml +221 -0
- package/build/spec/reference/evm-kaia-eth_estimategas.yaml +156 -0
- package/build/spec/reference/evm-kaia-eth_feehistory.yaml +187 -0
- package/build/spec/reference/evm-kaia-eth_gasprice.yaml +96 -0
- package/build/spec/reference/evm-kaia-eth_getbalance.yaml +176 -0
- package/build/spec/reference/evm-kaia-eth_getblockbyhash.yaml +189 -0
- package/build/spec/reference/evm-kaia-eth_getblockbynumber.yaml +210 -0
- package/build/spec/reference/evm-kaia-eth_getblockreceipts.yaml +210 -0
- package/build/spec/reference/evm-kaia-eth_getblocktransactioncountbyhash.yaml +119 -0
- package/build/spec/reference/evm-kaia-eth_getblocktransactioncountbynumber.yaml +153 -0
- package/build/spec/reference/evm-kaia-eth_getcode.yaml +163 -0
- package/build/spec/reference/evm-kaia-eth_getfilterchanges.yaml +135 -0
- package/build/spec/reference/evm-kaia-eth_getfilterlogs.yaml +135 -0
- package/build/spec/reference/evm-kaia-eth_getlogs.yaml +217 -0
- package/build/spec/reference/evm-kaia-eth_getproof.yaml +225 -0
- package/build/spec/reference/evm-kaia-eth_getstorageat.yaml +170 -0
- package/build/spec/reference/evm-kaia-eth_gettransactionbyblockhashandindex.yaml +212 -0
- package/build/spec/reference/evm-kaia-eth_gettransactionbyblocknumberandindex.yaml +245 -0
- package/build/spec/reference/evm-kaia-eth_gettransactionbyhash.yaml +202 -0
- package/build/spec/reference/evm-kaia-eth_gettransactioncount.yaml +169 -0
- package/build/spec/reference/evm-kaia-eth_gettransactionreceipt.yaml +148 -0
- package/build/spec/reference/evm-kaia-eth_getunclebyblockhashandindex.yaml +153 -0
- package/build/spec/reference/evm-kaia-eth_getunclebyblocknumberandindex.yaml +186 -0
- package/build/spec/reference/evm-kaia-eth_getunclecountbyblockhash.yaml +115 -0
- package/build/spec/reference/evm-kaia-eth_getunclecountbyblocknumber.yaml +149 -0
- package/build/spec/reference/evm-kaia-eth_maxpriorityfeepergas.yaml +98 -0
- package/build/spec/reference/evm-kaia-eth_newblockfilter.yaml +98 -0
- package/build/spec/reference/evm-kaia-eth_newfilter.yaml +188 -0
- package/build/spec/reference/evm-kaia-eth_newpendingtransactionfilter.yaml +98 -0
- package/build/spec/reference/evm-kaia-eth_sendrawtransaction.yaml +130 -0
- package/build/spec/reference/evm-kaia-eth_uninstallfilter.yaml +117 -0
- package/build/spec/reference/evm-kaia-kaia_blocknumber.yaml +92 -0
- package/build/spec/reference/evm-kaia-kaia_call.yaml +221 -0
- package/build/spec/reference/evm-kaia-kaia_chainid.yaml +94 -0
- package/build/spec/reference/evm-kaia-kaia_createaccesslist.yaml +202 -0
- package/build/spec/reference/evm-kaia-kaia_estimategas.yaml +152 -0
- package/build/spec/reference/evm-kaia-kaia_feehistory.yaml +163 -0
- package/build/spec/reference/evm-kaia-kaia_gasprice.yaml +92 -0
- package/build/spec/reference/evm-kaia-kaia_getbalance.yaml +165 -0
- package/build/spec/reference/evm-kaia-kaia_getblockbyhash.yaml +133 -0
- package/build/spec/reference/evm-kaia-kaia_getblockbynumber.yaml +147 -0
- package/build/spec/reference/evm-kaia-kaia_getblockreceipts.yaml +144 -0
- package/build/spec/reference/evm-kaia-kaia_getblocktransactioncountbyhash.yaml +115 -0
- package/build/spec/reference/evm-kaia-kaia_getblocktransactioncountbynumber.yaml +142 -0
- package/build/spec/reference/evm-kaia-kaia_getcode.yaml +152 -0
- package/build/spec/reference/evm-kaia-kaia_getfilterchanges.yaml +113 -0
- package/build/spec/reference/evm-kaia-kaia_getfilterlogs.yaml +113 -0
- package/build/spec/reference/evm-kaia-kaia_getlogs.yaml +195 -0
- package/build/spec/reference/evm-kaia-kaia_getproof.yaml +171 -0
- package/build/spec/reference/evm-kaia-kaia_getstorageat.yaml +158 -0
- package/build/spec/reference/evm-kaia-kaia_gettransactionbyblockhashandindex.yaml +123 -0
- package/build/spec/reference/evm-kaia-kaia_gettransactionbyblocknumberandindex.yaml +149 -0
- package/build/spec/reference/evm-kaia-kaia_gettransactionbyhash.yaml +113 -0
- package/build/spec/reference/evm-kaia-kaia_gettransactioncount.yaml +158 -0
- package/build/spec/reference/evm-kaia-kaia_gettransactionreceipt.yaml +113 -0
- package/build/spec/reference/evm-kaia-kaia_maxpriorityfeepergas.yaml +94 -0
- package/build/spec/reference/evm-kaia-kaia_newblockfilter.yaml +94 -0
- package/build/spec/reference/evm-kaia-kaia_newfilter.yaml +184 -0
- package/build/spec/reference/evm-kaia-kaia_newpendingtransactionfilter.yaml +94 -0
- package/build/spec/reference/evm-kaia-kaia_sendrawtransaction.yaml +126 -0
- package/build/spec/reference/evm-kaia-kaia_uninstallfilter.yaml +113 -0
- package/build/spec/reference/evm-kaia-klay_blocknumber.yaml +92 -0
- package/build/spec/reference/evm-kaia-klay_call.yaml +221 -0
- package/build/spec/reference/evm-kaia-klay_chainid.yaml +94 -0
- package/build/spec/reference/evm-kaia-klay_createaccesslist.yaml +202 -0
- package/build/spec/reference/evm-kaia-klay_estimategas.yaml +152 -0
- package/build/spec/reference/evm-kaia-klay_feehistory.yaml +163 -0
- package/build/spec/reference/evm-kaia-klay_gasprice.yaml +92 -0
- package/build/spec/reference/evm-kaia-klay_getbalance.yaml +165 -0
- package/build/spec/reference/evm-kaia-klay_getblockbyhash.yaml +133 -0
- package/build/spec/reference/evm-kaia-klay_getblockbynumber.yaml +147 -0
- package/build/spec/reference/evm-kaia-klay_getblockreceipts.yaml +144 -0
- package/build/spec/reference/evm-kaia-klay_getblocktransactioncountbyhash.yaml +115 -0
- package/build/spec/reference/evm-kaia-klay_getblocktransactioncountbynumber.yaml +142 -0
- package/build/spec/reference/evm-kaia-klay_getcode.yaml +159 -0
- package/build/spec/reference/evm-kaia-klay_getfilterchanges.yaml +113 -0
- package/build/spec/reference/evm-kaia-klay_getfilterlogs.yaml +113 -0
- package/build/spec/reference/evm-kaia-klay_getlogs.yaml +195 -0
- package/build/spec/reference/evm-kaia-klay_getproof.yaml +171 -0
- package/build/spec/reference/evm-kaia-klay_getstorageat.yaml +158 -0
- package/build/spec/reference/evm-kaia-klay_gettransactionbyblockhashandindex.yaml +123 -0
- package/build/spec/reference/evm-kaia-klay_gettransactionbyblocknumberandindex.yaml +149 -0
- package/build/spec/reference/evm-kaia-klay_gettransactionbyhash.yaml +113 -0
- package/build/spec/reference/evm-kaia-klay_gettransactioncount.yaml +158 -0
- package/build/spec/reference/evm-kaia-klay_gettransactionreceipt.yaml +113 -0
- package/build/spec/reference/evm-kaia-klay_maxpriorityfeepergas.yaml +94 -0
- package/build/spec/reference/evm-kaia-klay_newblockfilter.yaml +94 -0
- package/build/spec/reference/evm-kaia-klay_newfilter.yaml +184 -0
- package/build/spec/reference/evm-kaia-klay_newpendingtransactionfilter.yaml +94 -0
- package/build/spec/reference/evm-kaia-klay_sendrawtransaction.yaml +126 -0
- package/build/spec/reference/evm-kaia-klay_uninstallfilter.yaml +113 -0
- package/build/spec/reference/evm-kaia-net_listening.yaml +96 -0
- package/build/spec/reference/evm-kaia-net_version.yaml +100 -0
- package/build/spec/reference/evm-kaia-web3_clientversion.yaml +96 -0
- package/build/spec/reference/evm-kaia-web3_sha3.yaml +122 -0
- package/build/spec/reference/evm-luniverse-debug_traceblockbyhash.yaml +197 -0
- package/build/spec/reference/evm-luniverse-debug_traceblockbynumber.yaml +224 -0
- package/build/spec/reference/evm-luniverse-debug_tracecall.yaml +260 -0
- package/build/spec/reference/evm-luniverse-debug_tracetransaction.yaml +172 -0
- package/build/spec/reference/evm-luniverse-eth_blocknumber.yaml +95 -0
- package/build/spec/reference/evm-luniverse-eth_call.yaml +232 -0
- package/build/spec/reference/evm-luniverse-eth_chainid.yaml +97 -0
- package/build/spec/reference/evm-luniverse-eth_createaccesslist.yaml +220 -0
- package/build/spec/reference/evm-luniverse-eth_estimategas.yaml +155 -0
- package/build/spec/reference/evm-luniverse-eth_feehistory.yaml +186 -0
- package/build/spec/reference/evm-luniverse-eth_gasprice.yaml +95 -0
- package/build/spec/reference/evm-luniverse-eth_getbalance.yaml +175 -0
- package/build/spec/reference/evm-luniverse-eth_getblockbyhash.yaml +188 -0
- package/build/spec/reference/evm-luniverse-eth_getblockbynumber.yaml +209 -0
- package/build/spec/reference/evm-luniverse-eth_getblocktransactioncountbyhash.yaml +118 -0
- package/build/spec/reference/evm-luniverse-eth_getblocktransactioncountbynumber.yaml +152 -0
- package/build/spec/reference/evm-luniverse-eth_getcode.yaml +162 -0
- package/build/spec/reference/evm-luniverse-eth_getfilterchanges.yaml +134 -0
- package/build/spec/reference/evm-luniverse-eth_getfilterlogs.yaml +134 -0
- package/build/spec/reference/evm-luniverse-eth_getlogs.yaml +216 -0
- package/build/spec/reference/evm-luniverse-eth_getproof.yaml +224 -0
- package/build/spec/reference/evm-luniverse-eth_getstorageat.yaml +169 -0
- package/build/spec/reference/evm-luniverse-eth_gettransactionbyblockhashandindex.yaml +211 -0
- package/build/spec/reference/evm-luniverse-eth_gettransactionbyblocknumberandindex.yaml +244 -0
- package/build/spec/reference/evm-luniverse-eth_gettransactionbyhash.yaml +201 -0
- package/build/spec/reference/evm-luniverse-eth_gettransactioncount.yaml +168 -0
- package/build/spec/reference/evm-luniverse-eth_gettransactionreceipt.yaml +147 -0
- package/build/spec/reference/evm-luniverse-eth_getunclebyblockhashandindex.yaml +152 -0
- package/build/spec/reference/evm-luniverse-eth_getunclebyblocknumberandindex.yaml +185 -0
- package/build/spec/reference/evm-luniverse-eth_getunclecountbyblockhash.yaml +114 -0
- package/build/spec/reference/evm-luniverse-eth_getunclecountbyblocknumber.yaml +148 -0
- package/build/spec/reference/evm-luniverse-eth_maxpriorityfeepergas.yaml +97 -0
- package/build/spec/reference/evm-luniverse-eth_newblockfilter.yaml +97 -0
- package/build/spec/reference/evm-luniverse-eth_newfilter.yaml +187 -0
- package/build/spec/reference/evm-luniverse-eth_newpendingtransactionfilter.yaml +97 -0
- package/build/spec/reference/evm-luniverse-eth_sendrawtransaction.yaml +129 -0
- package/build/spec/reference/evm-luniverse-eth_uninstallfilter.yaml +116 -0
- package/build/spec/reference/evm-luniverse-net_listening.yaml +95 -0
- package/build/spec/reference/evm-luniverse-net_version.yaml +99 -0
- package/build/spec/reference/evm-luniverse-web3_clientversion.yaml +95 -0
- package/build/spec/reference/evm-luniverse-web3_sha3.yaml +121 -0
- package/build/spec/reference/evm-optimism-debug_traceblockbyhash.yaml +198 -0
- package/build/spec/reference/evm-optimism-debug_traceblockbynumber.yaml +225 -0
- package/build/spec/reference/evm-optimism-debug_tracecall.yaml +261 -0
- package/build/spec/reference/evm-optimism-debug_tracetransaction.yaml +173 -0
- package/build/spec/reference/evm-optimism-eth_blocknumber.yaml +96 -0
- package/build/spec/reference/evm-optimism-eth_call.yaml +233 -0
- package/build/spec/reference/evm-optimism-eth_chainid.yaml +98 -0
- package/build/spec/reference/evm-optimism-eth_createaccesslist.yaml +221 -0
- package/build/spec/reference/evm-optimism-eth_estimategas.yaml +156 -0
- package/build/spec/reference/evm-optimism-eth_feehistory.yaml +187 -0
- package/build/spec/reference/evm-optimism-eth_gasprice.yaml +96 -0
- package/build/spec/reference/evm-optimism-eth_getbalance.yaml +176 -0
- package/build/spec/reference/evm-optimism-eth_getblockbyhash.yaml +189 -0
- package/build/spec/reference/evm-optimism-eth_getblockbynumber.yaml +210 -0
- package/build/spec/reference/evm-optimism-eth_getblockreceipts.yaml +210 -0
- package/build/spec/reference/evm-optimism-eth_getblocktransactioncountbyhash.yaml +119 -0
- package/build/spec/reference/evm-optimism-eth_getblocktransactioncountbynumber.yaml +153 -0
- package/build/spec/reference/evm-optimism-eth_getcode.yaml +163 -0
- package/build/spec/reference/evm-optimism-eth_getfilterchanges.yaml +135 -0
- package/build/spec/reference/evm-optimism-eth_getfilterlogs.yaml +135 -0
- package/build/spec/reference/evm-optimism-eth_getlogs.yaml +217 -0
- package/build/spec/reference/evm-optimism-eth_getproof.yaml +225 -0
- package/build/spec/reference/evm-optimism-eth_getstorageat.yaml +170 -0
- package/build/spec/reference/evm-optimism-eth_gettransactionbyblockhashandindex.yaml +212 -0
- package/build/spec/reference/evm-optimism-eth_gettransactionbyblocknumberandindex.yaml +245 -0
- package/build/spec/reference/evm-optimism-eth_gettransactionbyhash.yaml +202 -0
- package/build/spec/reference/evm-optimism-eth_gettransactioncount.yaml +169 -0
- package/build/spec/reference/evm-optimism-eth_gettransactionreceipt.yaml +148 -0
- package/build/spec/reference/evm-optimism-eth_getunclebyblockhashandindex.yaml +153 -0
- package/build/spec/reference/evm-optimism-eth_getunclebyblocknumberandindex.yaml +186 -0
- package/build/spec/reference/evm-optimism-eth_getunclecountbyblockhash.yaml +115 -0
- package/build/spec/reference/evm-optimism-eth_getunclecountbyblocknumber.yaml +149 -0
- package/build/spec/reference/evm-optimism-eth_maxpriorityfeepergas.yaml +98 -0
- package/build/spec/reference/evm-optimism-eth_newblockfilter.yaml +98 -0
- package/build/spec/reference/evm-optimism-eth_newfilter.yaml +188 -0
- package/build/spec/reference/evm-optimism-eth_newpendingtransactionfilter.yaml +98 -0
- package/build/spec/reference/evm-optimism-eth_sendrawtransaction.yaml +130 -0
- package/build/spec/reference/evm-optimism-eth_uninstallfilter.yaml +117 -0
- package/build/spec/reference/evm-optimism-net_listening.yaml +96 -0
- package/build/spec/reference/evm-optimism-net_version.yaml +100 -0
- package/build/spec/reference/evm-optimism-optimism_outputatblock.yaml +120 -0
- package/build/spec/reference/evm-optimism-optimism_rollupconfig.yaml +125 -0
- package/build/spec/reference/evm-optimism-web3_clientversion.yaml +96 -0
- package/build/spec/reference/evm-optimism-web3_sha3.yaml +122 -0
- package/build/spec/reference/evm-polygon-bor_getauthor.yaml +152 -0
- package/build/spec/reference/evm-polygon-bor_getcurrentproposer.yaml +99 -0
- package/build/spec/reference/evm-polygon-bor_getcurrentvalidators.yaml +103 -0
- package/build/spec/reference/evm-polygon-bor_getsignersathash.yaml +145 -0
- package/build/spec/reference/evm-polygon-debug_traceblockbyhash.yaml +198 -0
- package/build/spec/reference/evm-polygon-debug_traceblockbynumber.yaml +225 -0
- package/build/spec/reference/evm-polygon-debug_tracecall.yaml +261 -0
- package/build/spec/reference/evm-polygon-debug_tracetransaction.yaml +173 -0
- package/build/spec/reference/evm-polygon-eth_blocknumber.yaml +96 -0
- package/build/spec/reference/evm-polygon-eth_call.yaml +233 -0
- package/build/spec/reference/evm-polygon-eth_chainid.yaml +98 -0
- package/build/spec/reference/evm-polygon-eth_createaccesslist.yaml +221 -0
- package/build/spec/reference/evm-polygon-eth_estimategas.yaml +156 -0
- package/build/spec/reference/evm-polygon-eth_feehistory.yaml +187 -0
- package/build/spec/reference/evm-polygon-eth_gasprice.yaml +96 -0
- package/build/spec/reference/evm-polygon-eth_getbalance.yaml +176 -0
- package/build/spec/reference/evm-polygon-eth_getblockbyhash.yaml +189 -0
- package/build/spec/reference/evm-polygon-eth_getblockbynumber.yaml +210 -0
- package/build/spec/reference/evm-polygon-eth_getblocktransactioncountbyhash.yaml +119 -0
- package/build/spec/reference/evm-polygon-eth_getblocktransactioncountbynumber.yaml +153 -0
- package/build/spec/reference/evm-polygon-eth_getcode.yaml +163 -0
- package/build/spec/reference/evm-polygon-eth_getfilterchanges.yaml +135 -0
- package/build/spec/reference/evm-polygon-eth_getfilterlogs.yaml +135 -0
- package/build/spec/reference/evm-polygon-eth_getlogs.yaml +217 -0
- package/build/spec/reference/evm-polygon-eth_getproof.yaml +225 -0
- package/build/spec/reference/evm-polygon-eth_getstorageat.yaml +170 -0
- package/build/spec/reference/evm-polygon-eth_gettransactionbyblockhashandindex.yaml +212 -0
- package/build/spec/reference/evm-polygon-eth_gettransactionbyblocknumberandindex.yaml +245 -0
- package/build/spec/reference/evm-polygon-eth_gettransactionbyhash.yaml +202 -0
- package/build/spec/reference/evm-polygon-eth_gettransactioncount.yaml +169 -0
- package/build/spec/reference/evm-polygon-eth_gettransactionreceipt.yaml +148 -0
- package/build/spec/reference/evm-polygon-eth_getunclebyblockhashandindex.yaml +153 -0
- package/build/spec/reference/evm-polygon-eth_getunclebyblocknumberandindex.yaml +186 -0
- package/build/spec/reference/evm-polygon-eth_getunclecountbyblockhash.yaml +115 -0
- package/build/spec/reference/evm-polygon-eth_getunclecountbyblocknumber.yaml +149 -0
- package/build/spec/reference/evm-polygon-eth_maxpriorityfeepergas.yaml +98 -0
- package/build/spec/reference/evm-polygon-eth_newblockfilter.yaml +98 -0
- package/build/spec/reference/evm-polygon-eth_newfilter.yaml +188 -0
- package/build/spec/reference/evm-polygon-eth_newpendingtransactionfilter.yaml +98 -0
- package/build/spec/reference/evm-polygon-eth_sendrawtransaction.yaml +130 -0
- package/build/spec/reference/evm-polygon-eth_uninstallfilter.yaml +117 -0
- package/build/spec/reference/evm-polygon-net_listening.yaml +96 -0
- package/build/spec/reference/evm-polygon-net_version.yaml +100 -0
- package/build/spec/reference/evm-polygon-web3_clientversion.yaml +96 -0
- package/build/spec/reference/evm-polygon-web3_sha3.yaml +122 -0
- package/build/spec/reference/kaia.yaml +11568 -0
- package/build/spec/reference/luniverse.yaml +11940 -0
- package/build/spec/reference/optimism.yaml +10453 -0
- package/build/spec/reference/polygon.yaml +10453 -0
- package/build/spec/reference/tron.yaml +5826 -0
- package/build/spec/reference/web3-data-api.yaml +23872 -0
- package/build/spec/reference/webhook.yaml +1324 -0
- package/build/spec/reference/xrpl.yaml +4419 -0
- package/build/tools/api-categories.js +70 -0
- package/build/tools/aptos-indexer.js +154 -0
- package/build/tools/call-nodit-api.js +84 -0
- package/build/tools/data-apis.js +39 -0
- package/build/tools/get-nodit-api-spec.js +21 -0
- package/build/tools/index.js +14 -0
- package/build/tools/node-apis.js +70 -0
- package/package.json +28 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# Nodit MCP Server
|
|
2
|
+
|
|
3
|
+
A Model Context Provider (MCP) server that connects AI agents and developers to structured, context-ready blockchain data across multiple networks through Nodit's Web3 infrastructure.
|
|
4
|
+
|
|
5
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
6
|
+
[](https://nodejs.org/)
|
|
7
|
+
[](https://www.typescriptlang.org/)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Nodit MCP Server simplifies how AI models and applications interact with blockchain ecosystems.
|
|
13
|
+
Instead of handling complex node RPCs, raw event logs, or chain-specific data structures, developers can access normalized, multi-chain blockchain data in a format optimized for AI reasoning and decision-making.
|
|
14
|
+
|
|
15
|
+
With Nodit's MCP, you can:
|
|
16
|
+
- Build AI agents that query, analyze, and act on real-time blockchain data across EVM-compatible and non-EVM networks.
|
|
17
|
+
- Create Web3-integrated applications without requiring specialized blockchain development expertise.
|
|
18
|
+
- Leverage Nodit's reliable node infrastructure, Web3 Data APIs, and GraphQL indexing services through a unified access layer.
|
|
19
|
+
|
|
20
|
+
Supported networks include Ethereum, Base, Optimism, Arbitrum, Polygon, Aptos, Bitcoin, Dogecoin, TRON, XRPL, and more.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## How Nodit MCP Tools Work
|
|
24
|
+
|
|
25
|
+
Nodit MCP Server provides tools enabling AI agents to dynamically discover, understand, and interact with Nodit's Web3 APIs and data infrastructure. The tools minimize token consumption and maintain a lightweight context by modularizing API interactions into distinct steps:
|
|
26
|
+
|
|
27
|
+
- **List API Categories (`list_nodit_api_categories`)**
|
|
28
|
+
Retrieve a list of high-level API categories available.
|
|
29
|
+
|
|
30
|
+
- **List API Operations (`list_nodit_node_apis`, `list_nodit_data_apis`, `list_nodit_aptos_indexer_api_query_root`)**
|
|
31
|
+
Fetch available operations within a selected category (Node APIs, Data APIs, Aptos Indexer APIs).
|
|
32
|
+
|
|
33
|
+
- **Get API Specification (`get_nodit_api_spec`)**
|
|
34
|
+
Obtain detailed information for a specific API operation (parameters, request/response schema).
|
|
35
|
+
|
|
36
|
+
- **Call API (`call_nodit_api`,`call_nodit_aptos_indexer_api`)**
|
|
37
|
+
Execute an API call using the operationId and validated parameters.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
## Features
|
|
41
|
+
|
|
42
|
+
The following are the key features and supported blockchain networks provided through Nodit MCP Server for AI agents and LLMs.
|
|
43
|
+
For detailed API specifications and usage guidelines, please refer to the [Nodit Developer Documentation](https://developer.nodit.io/).
|
|
44
|
+
|
|
45
|
+
- **RPC Node & Node APIs**
|
|
46
|
+
Access blockchain node endpoints through Nodit's professionally operated infrastructure.
|
|
47
|
+
Supports real-time network queries, transaction submissions, smart contract interactions, and more.
|
|
48
|
+
|
|
49
|
+
- **Web3 Data APIs**
|
|
50
|
+
High-level APIs for accessing meticulously indexed blockchain data.
|
|
51
|
+
Includes processed datasets such as block and transaction details, token transfer histories, account-level transaction summaries, and asset movement details — information that would be difficult to assemble directly through raw RPC calls.
|
|
52
|
+
|
|
53
|
+
- **GraphQL Indexer APIs (Aptos only)**
|
|
54
|
+
Query detailed Aptos blockchain activities through GraphQL endpoints.
|
|
55
|
+
|
|
56
|
+
- **Supported Networks**
|
|
57
|
+
- EVM-Compatible: Ethereum, Arbitrum, Avalanche, Base, Kaia, Optimism, Polygon
|
|
58
|
+
- Non-EVM: Aptos, Bitcoin, Dogecoin, TRON, XRPL
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## Prerequisites
|
|
62
|
+
|
|
63
|
+
- Node.js 18+
|
|
64
|
+
- **Nodit API Key** (Sign up and get an API key at [Nodit Console](https://nodit.lambda256.io/))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## Installation & Integration
|
|
68
|
+
|
|
69
|
+
### Using npx (Recommended)
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx @noditlabs/nodit-mcp-server@latest
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Connect to Cursor IDE or Claude Desktop
|
|
77
|
+
|
|
78
|
+
Add the following configuration to your `.cursor/mcp.json` or `claude_desktop_config.json`:
|
|
79
|
+
|
|
80
|
+
- **Cursor**
|
|
81
|
+
- MacOS: `~/.cursor/mcp.json`
|
|
82
|
+
- Windows: `C:\Users\<Username>\.cursor\mcp.json`
|
|
83
|
+
|
|
84
|
+
- **Claude Desktop**
|
|
85
|
+
- MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
86
|
+
- Windows: `C:\Users\<Username>\AppData\Roaming\Claude\claude_desktop_config.json`
|
|
87
|
+
|
|
88
|
+
```json
|
|
89
|
+
{
|
|
90
|
+
"mcpServers": {
|
|
91
|
+
"nodit": {
|
|
92
|
+
"command": "npx",
|
|
93
|
+
"args": ["@noditlabs/nodit-mcp-server@latest"],
|
|
94
|
+
"env": {
|
|
95
|
+
"NODIT_API_KEY": "****"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
```
|
|
101
|
+
> 🔔 **Important**
|
|
102
|
+
> Replace `****` with your actual Nodit API key.
|
|
103
|
+
> If the API key is not configured properly, API requests will fail due to authentication errors.
|
|
104
|
+
|
|
105
|
+
### Connect to Claude CLI
|
|
106
|
+
|
|
107
|
+
You can also use Nodit MCP Server directly with Claude CLI for a quick setup.
|
|
108
|
+
|
|
109
|
+
Add Nodit MCP Server with the following commands:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
# Add the Nodit MCP server
|
|
113
|
+
claude mcp add nodit-mcp-server npx @noditlabs/nodit-mcp-server
|
|
114
|
+
|
|
115
|
+
# Set API Key
|
|
116
|
+
export NODIT_API_KEY=your-api-key
|
|
117
|
+
|
|
118
|
+
# Start Claude with the Nodit MCP server enabled
|
|
119
|
+
claude
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### Running Locally (Optional)
|
|
123
|
+
|
|
124
|
+
Clone and run the server locally:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
# Clone the repository
|
|
128
|
+
git clone --recurse-submodules https://github.com/noditlabs/nodit-mcp-server.git
|
|
129
|
+
|
|
130
|
+
# Move into the project directory
|
|
131
|
+
cd nodit-mcp-server
|
|
132
|
+
|
|
133
|
+
# Install dependencies
|
|
134
|
+
npm install
|
|
135
|
+
|
|
136
|
+
# Build the project
|
|
137
|
+
npm run build
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Before starting, set your Nodit API key:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
export NODIT_API_KEY=your-api-key
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Then start the server:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
node build/index.js
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Scope & Limitations
|
|
153
|
+
|
|
154
|
+
Nodit MCP Server provides structured context to help LLM-based agents utilize Nodit's APIs effectively.
|
|
155
|
+
Its responsibilities include:
|
|
156
|
+
|
|
157
|
+
- Structuring Nodit APIs (Node APIs, Web3 Data APIs) in an LLM-consumable format.
|
|
158
|
+
- Exposing endpoint details, input/output schemas, sample responses, and error handling guidelines.
|
|
159
|
+
|
|
160
|
+
However, the following are **outside the MCP's control**:
|
|
161
|
+
|
|
162
|
+
- API selection may vary depending on the LLM version (e.g., GPT-4, Claude 3), prompt engineering, or agent design.
|
|
163
|
+
- Interpretation of API responses or errors depends on the consuming LLM's reasoning capabilities.
|
|
164
|
+
|
|
165
|
+
Nodit MCP Server focuses on delivering accurate and structured API context,
|
|
166
|
+
but does **not guarantee** the final reasoning outcomes or behavior of external LLMs.
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
## License
|
|
170
|
+
|
|
171
|
+
This project is licensed under the [Apache License 2.0](./LICENSE).
|
|
172
|
+
Refer to the LICENSE file for full license terms.
|
|
173
|
+
Relevant legal notices are provided in the [NOTICE](./NOTICE) file.
|
|
174
|
+
|
|
175
|
+
"Nodit" and the Nodit logo are trademarks of Lambda256.
|
|
176
|
+
Use of the name or logo without prior written permission is prohibited.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
© Lambda256. All rights reserved.
|
package/build/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
|
+
import { log } from "./nodit-apidoc-helper.js";
|
|
5
|
+
import { registerAllTools } from "./tools/index.js";
|
|
6
|
+
async function main() {
|
|
7
|
+
const server = new McpServer({
|
|
8
|
+
name: "nodit-blockchain-context",
|
|
9
|
+
version: "1.0.0",
|
|
10
|
+
capabilities: {
|
|
11
|
+
resources: {},
|
|
12
|
+
tools: {},
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
registerAllTools(server);
|
|
16
|
+
const transport = new StdioServerTransport();
|
|
17
|
+
await server.connect(transport);
|
|
18
|
+
}
|
|
19
|
+
main().catch((error) => {
|
|
20
|
+
log("Fatal error in main():", error);
|
|
21
|
+
process.exit(1);
|
|
22
|
+
});
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import yaml from 'js-yaml';
|
|
2
|
+
import fs from 'fs';
|
|
3
|
+
import path from 'path';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = path.dirname(__filename);
|
|
7
|
+
export function log(message, ...args) {
|
|
8
|
+
console.error(message, ...args);
|
|
9
|
+
}
|
|
10
|
+
export function loadNoditDataApiSpec() {
|
|
11
|
+
const specPath = path.resolve(__dirname, './spec/reference/web3-data-api.yaml');
|
|
12
|
+
return loadOpenapiSpecFile(specPath);
|
|
13
|
+
}
|
|
14
|
+
export function loadNoditNodeApiSpecMap() {
|
|
15
|
+
const noditApiSpecMap = new Map();
|
|
16
|
+
const specDir = path.resolve(__dirname, './spec/reference');
|
|
17
|
+
try {
|
|
18
|
+
const files = fs.readdirSync(specDir);
|
|
19
|
+
const evmSpecFiles = files.filter(file => file.startsWith('evm-') && file.endsWith('.yaml'));
|
|
20
|
+
for (const file of evmSpecFiles) {
|
|
21
|
+
const parts = file.replace('.yaml', '').split('-');
|
|
22
|
+
if (parts.length >= 2) {
|
|
23
|
+
const protocol = parts[1];
|
|
24
|
+
const filePath = path.join(specDir, file);
|
|
25
|
+
try {
|
|
26
|
+
const spec = loadOpenapiSpecFile(filePath);
|
|
27
|
+
const operationId = spec.paths['/'].post.operationId;
|
|
28
|
+
if (operationId) {
|
|
29
|
+
const key = protocol === 'ethereum' ? `ethereum-${operationId}` : operationId;
|
|
30
|
+
noditApiSpecMap.set(key, spec);
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
log(`Could not extract operationId from spec file ${file}`);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
catch (error) {
|
|
37
|
+
log(`Error loading spec file ${file}:`, error);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return noditApiSpecMap;
|
|
42
|
+
}
|
|
43
|
+
catch (error) {
|
|
44
|
+
log('Error reading spec directory:', error);
|
|
45
|
+
return new Map();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export function loadNoditAptosIndexerApiSpec() {
|
|
49
|
+
const schemaPath = path.resolve(__dirname, './nodit-aptos-indexer-api-schema.json');
|
|
50
|
+
return loadOpenapiSpecFile(schemaPath);
|
|
51
|
+
}
|
|
52
|
+
export function isNodeApi(operationId) {
|
|
53
|
+
return operationId.includes("_");
|
|
54
|
+
}
|
|
55
|
+
export function isEthereumNodeApi(operationId) {
|
|
56
|
+
return !operationId.includes("-");
|
|
57
|
+
}
|
|
58
|
+
export function findNoditNodeApiSpec(operationId, noditNodeApiSpecMap) {
|
|
59
|
+
let key = operationId;
|
|
60
|
+
if (isEthereumNodeApi(operationId)) {
|
|
61
|
+
key = `ethereum-${operationId}`;
|
|
62
|
+
}
|
|
63
|
+
return noditNodeApiSpecMap.get(key);
|
|
64
|
+
}
|
|
65
|
+
export function isValidNodeApi(operationId, noditNodeApiSpecMap) {
|
|
66
|
+
return findNoditNodeApiSpec(operationId, noditNodeApiSpecMap) !== undefined;
|
|
67
|
+
}
|
|
68
|
+
export function loadOpenapiSpecFile(path) {
|
|
69
|
+
const fileContents = fs.readFileSync(path, 'utf8');
|
|
70
|
+
if (path.endsWith('.json')) {
|
|
71
|
+
return JSON.parse(fileContents);
|
|
72
|
+
}
|
|
73
|
+
return yaml.load(fileContents);
|
|
74
|
+
}
|
|
75
|
+
export function normalizeDescription(description) {
|
|
76
|
+
if (!description) {
|
|
77
|
+
return "No description available.";
|
|
78
|
+
}
|
|
79
|
+
const lines = description.split('\n');
|
|
80
|
+
const filteredLines = lines.filter(line => !line.trimStart().startsWith('>'));
|
|
81
|
+
return filteredLines.join('\n').trim();
|
|
82
|
+
}
|
|
83
|
+
export function findNoditDataApiDetails(operationId, spec) {
|
|
84
|
+
if (!spec || !spec.paths) {
|
|
85
|
+
log("findApiDetails: Invalid spec object or missing paths.");
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
for (const pathKey in spec.paths) {
|
|
89
|
+
if (Object.prototype.hasOwnProperty.call(spec.paths, pathKey)) {
|
|
90
|
+
const pathItem = spec.paths[pathKey];
|
|
91
|
+
if (pathItem?.post?.operationId === operationId) {
|
|
92
|
+
return {
|
|
93
|
+
path: pathKey,
|
|
94
|
+
method: 'post',
|
|
95
|
+
details: pathItem.post
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
export function findNoditNodeApiDetails(operationId, specMap) {
|
|
103
|
+
const spec = findNoditNodeApiSpec(operationId, specMap);
|
|
104
|
+
if (!spec) {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
return {
|
|
108
|
+
path: '/',
|
|
109
|
+
method: 'post',
|
|
110
|
+
details: spec.paths['/']?.post
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
export function createErrorResponse(message, toolName) {
|
|
114
|
+
log(`Tool Error (${toolName}): ${message}`);
|
|
115
|
+
return { content: [{ type: "text", text: `Tool Error: ${message}` }] };
|
|
116
|
+
}
|