UNPKG

@agentek/tools

Version:

Blockchain tools for AI agents

972 lines 38.7 kB
declare const supportedChains: ({ blockExplorers: { readonly default: { readonly name: "Etherscan"; readonly url: "https://etherscan.io"; readonly apiUrl: "https://api.etherscan.io/api"; }; }; contracts: { readonly ensRegistry: { readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"; }; readonly ensUniversalResolver: { readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67"; readonly blockCreated: 19258213; }; readonly multicall3: { readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; readonly blockCreated: 14353601; }; }; ensTlds?: readonly string[] | undefined; id: 1; name: "Ethereum"; nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; rpcUrls: { readonly default: { readonly http: readonly ["https://eth.merkle.io"]; }; }; sourceId?: number | undefined | undefined; testnet?: boolean | undefined | undefined; custom?: Record<string, unknown> | undefined; fees?: import("viem").ChainFees<undefined> | undefined; formatters?: undefined; serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined; } | { blockExplorers: { readonly default: { readonly name: "Arbiscan"; readonly url: "https://arbiscan.io"; readonly apiUrl: "https://api.arbiscan.io/api"; }; }; contracts: { readonly multicall3: { readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; readonly blockCreated: 7654707; }; }; ensTlds?: readonly string[] | undefined; id: 42161; name: "Arbitrum One"; nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; rpcUrls: { readonly default: { readonly http: readonly ["https://arb1.arbitrum.io/rpc"]; }; }; sourceId?: number | undefined | undefined; testnet?: boolean | undefined | undefined; custom?: Record<string, unknown> | undefined; fees?: import("viem").ChainFees<undefined> | undefined; formatters?: undefined; serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined; } | { blockExplorers: { readonly default: { readonly name: "Basescan"; readonly url: "https://basescan.org"; readonly apiUrl: "https://api.basescan.org/api"; }; }; contracts: { readonly disputeGameFactory: { readonly 1: { readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e"; }; }; readonly l2OutputOracle: { readonly 1: { readonly address: "0x56315b90c40730925ec5485cf004d835058518A0"; }; }; readonly multicall3: { readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; readonly blockCreated: 5022; }; readonly portal: { readonly 1: { readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e"; readonly blockCreated: 17482143; }; }; readonly l1StandardBridge: { readonly 1: { readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35"; readonly blockCreated: 17482143; }; }; readonly gasPriceOracle: { readonly address: "0x420000000000000000000000000000000000000F"; }; readonly l1Block: { readonly address: "0x4200000000000000000000000000000000000015"; }; readonly l2CrossDomainMessenger: { readonly address: "0x4200000000000000000000000000000000000007"; }; readonly l2Erc721Bridge: { readonly address: "0x4200000000000000000000000000000000000014"; }; readonly l2StandardBridge: { readonly address: "0x4200000000000000000000000000000000000010"; }; readonly l2ToL1MessagePasser: { readonly address: "0x4200000000000000000000000000000000000016"; }; }; ensTlds?: readonly string[] | undefined; id: 8453; name: "Base"; nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; rpcUrls: { readonly default: { readonly http: readonly ["https://mainnet.base.org"]; }; }; sourceId: 1; testnet?: boolean | undefined | undefined; custom?: Record<string, unknown> | undefined; fees?: import("viem").ChainFees<undefined> | undefined; formatters: { readonly block: { exclude: [] | undefined; format: (args: import("viem/chains").OpStackRpcBlock) => { baseFeePerGas: bigint | null; blobGasUsed: bigint; difficulty: bigint; excessBlobGas: bigint; extraData: import("viem").Hex; gasLimit: bigint; gasUsed: bigint; hash: `0x${string}` | null; logsBloom: `0x${string}` | null; miner: import("viem").Address; mixHash: import("viem").Hash; nonce: `0x${string}` | null; number: bigint | null; parentBeaconBlockRoot?: `0x${string}` | undefined; parentHash: import("viem").Hash; receiptsRoot: import("viem").Hex; sealFields: import("viem").Hex[]; sha3Uncles: import("viem").Hash; size: bigint; stateRoot: import("viem").Hash; timestamp: bigint; totalDifficulty: bigint | null; transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[]; transactionsRoot: import("viem").Hash; uncles: import("viem").Hash[]; withdrawals?: import("viem").Withdrawal[] | undefined | undefined; withdrawalsRoot?: `0x${string}` | undefined; } & {}; type: "block"; }; readonly transaction: { exclude: [] | undefined; format: (args: import("viem/chains").OpStackRpcTransaction) => ({ blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: boolean; mint?: bigint | undefined | undefined; sourceHash: import("viem").Hex; type: "deposit"; } | { r: import("viem").Hex; s: import("viem").Hex; v: bigint; to: import("viem").Address | null; from: import("viem").Address; gas: bigint; nonce: number; value: bigint; blockHash: `0x${string}` | null; blockNumber: bigint | null; hash: import("viem").Hash; input: import("viem").Hex; transactionIndex: number | null; typeHex: import("viem").Hex | null; accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId?: number | undefined; yParity?: undefined | undefined; type: "legacy"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip2930"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip1559"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes: readonly import("viem").Hex[]; chainId: number; type: "eip4844"; gasPrice?: undefined | undefined; maxFeePerBlobGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList: import("viem").SignedAuthorizationList; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip7702"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; }) & {}; type: "transaction"; }; readonly transactionReceipt: { exclude: [] | undefined; format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => { blobGasPrice?: bigint | undefined; blobGasUsed?: bigint | undefined; blockHash: import("viem").Hash; blockNumber: bigint; contractAddress: import("viem").Address | null | undefined; cumulativeGasUsed: bigint; effectiveGasPrice: bigint; from: import("viem").Address; gasUsed: bigint; logs: import("viem").Log<bigint, number, false>[]; logsBloom: import("viem").Hex; root?: `0x${string}` | undefined; status: "success" | "reverted"; to: import("viem").Address | null; transactionHash: import("viem").Hash; transactionIndex: number; type: import("viem").TransactionType; l1GasPrice: bigint | null; l1GasUsed: bigint | null; l1Fee: bigint | null; l1FeeScalar: number | null; } & {}; type: "transactionReceipt"; }; }; serializers: { readonly transaction: typeof import("viem/chains").serializeTransactionOpStack; }; } | { blockExplorers: { readonly default: { readonly name: "PolygonScan"; readonly url: "https://polygonscan.com"; readonly apiUrl: "https://api.polygonscan.com/api"; }; }; contracts: { readonly multicall3: { readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; readonly blockCreated: 25770160; }; }; ensTlds?: readonly string[] | undefined; id: 137; name: "Polygon"; nativeCurrency: { readonly name: "POL"; readonly symbol: "POL"; readonly decimals: 18; }; rpcUrls: { readonly default: { readonly http: readonly ["https://polygon-rpc.com"]; }; }; sourceId?: number | undefined | undefined; testnet?: boolean | undefined | undefined; custom?: Record<string, unknown> | undefined; fees?: import("viem").ChainFees<undefined> | undefined; formatters?: undefined; serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined; } | { blockExplorers: { readonly default: { readonly name: "Optimism Explorer"; readonly url: "https://optimistic.etherscan.io"; readonly apiUrl: "https://api-optimistic.etherscan.io/api"; }; }; contracts: { readonly disputeGameFactory: { readonly 1: { readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9"; }; }; readonly l2OutputOracle: { readonly 1: { readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27"; }; }; readonly multicall3: { readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; readonly blockCreated: 4286263; }; readonly portal: { readonly 1: { readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"; }; }; readonly l1StandardBridge: { readonly 1: { readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"; }; }; readonly gasPriceOracle: { readonly address: "0x420000000000000000000000000000000000000F"; }; readonly l1Block: { readonly address: "0x4200000000000000000000000000000000000015"; }; readonly l2CrossDomainMessenger: { readonly address: "0x4200000000000000000000000000000000000007"; }; readonly l2Erc721Bridge: { readonly address: "0x4200000000000000000000000000000000000014"; }; readonly l2StandardBridge: { readonly address: "0x4200000000000000000000000000000000000010"; }; readonly l2ToL1MessagePasser: { readonly address: "0x4200000000000000000000000000000000000016"; }; }; ensTlds?: readonly string[] | undefined; id: 10; name: "OP Mainnet"; nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; rpcUrls: { readonly default: { readonly http: readonly ["https://mainnet.optimism.io"]; }; }; sourceId: 1; testnet?: boolean | undefined | undefined; custom?: Record<string, unknown> | undefined; fees?: import("viem").ChainFees<undefined> | undefined; formatters: { readonly block: { exclude: [] | undefined; format: (args: import("viem/chains").OpStackRpcBlock) => { baseFeePerGas: bigint | null; blobGasUsed: bigint; difficulty: bigint; excessBlobGas: bigint; extraData: import("viem").Hex; gasLimit: bigint; gasUsed: bigint; hash: `0x${string}` | null; logsBloom: `0x${string}` | null; miner: import("viem").Address; mixHash: import("viem").Hash; nonce: `0x${string}` | null; number: bigint | null; parentBeaconBlockRoot?: `0x${string}` | undefined; parentHash: import("viem").Hash; receiptsRoot: import("viem").Hex; sealFields: import("viem").Hex[]; sha3Uncles: import("viem").Hash; size: bigint; stateRoot: import("viem").Hash; timestamp: bigint; totalDifficulty: bigint | null; transactions: `0x${string}`[] | import("viem/chains").OpStackTransaction<boolean>[]; transactionsRoot: import("viem").Hash; uncles: import("viem").Hash[]; withdrawals?: import("viem").Withdrawal[] | undefined | undefined; withdrawalsRoot?: `0x${string}` | undefined; } & {}; type: "block"; }; readonly transaction: { exclude: [] | undefined; format: (args: import("viem/chains").OpStackRpcTransaction) => ({ blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: boolean; mint?: bigint | undefined | undefined; sourceHash: import("viem").Hex; type: "deposit"; } | { r: import("viem").Hex; s: import("viem").Hex; v: bigint; to: import("viem").Address | null; from: import("viem").Address; gas: bigint; nonce: number; value: bigint; blockHash: `0x${string}` | null; blockNumber: bigint | null; hash: import("viem").Hash; input: import("viem").Hex; transactionIndex: number | null; typeHex: import("viem").Hex | null; accessList?: undefined | undefined; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId?: number | undefined; yParity?: undefined | undefined; type: "legacy"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip2930"; gasPrice: bigint; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas?: undefined | undefined; maxPriorityFeePerGas?: undefined | undefined; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip1559"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList?: undefined | undefined; blobVersionedHashes: readonly import("viem").Hex[]; chainId: number; type: "eip4844"; gasPrice?: undefined | undefined; maxFeePerBlobGas: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; } | { blockHash: `0x${string}` | null; blockNumber: bigint | null; from: import("viem").Address; gas: bigint; hash: import("viem").Hash; input: import("viem").Hex; nonce: number; r: import("viem").Hex; s: import("viem").Hex; to: import("viem").Address | null; transactionIndex: number | null; typeHex: import("viem").Hex | null; v: bigint; value: bigint; yParity: number; accessList: import("viem").AccessList; authorizationList: import("viem").SignedAuthorizationList; blobVersionedHashes?: undefined | undefined; chainId: number; type: "eip7702"; gasPrice?: undefined | undefined; maxFeePerBlobGas?: undefined | undefined; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; isSystemTx?: undefined | undefined; mint?: undefined | undefined; sourceHash?: undefined | undefined; }) & {}; type: "transaction"; }; readonly transactionReceipt: { exclude: [] | undefined; format: (args: import("viem/chains").OpStackRpcTransactionReceipt) => { blobGasPrice?: bigint | undefined; blobGasUsed?: bigint | undefined; blockHash: import("viem").Hash; blockNumber: bigint; contractAddress: import("viem").Address | null | undefined; cumulativeGasUsed: bigint; effectiveGasPrice: bigint; from: import("viem").Address; gasUsed: bigint; logs: import("viem").Log<bigint, number, false>[]; logsBloom: import("viem").Hex; root?: `0x${string}` | undefined; status: "success" | "reverted"; to: import("viem").Address | null; transactionHash: import("viem").Hash; transactionIndex: number; type: import("viem").TransactionType; l1GasPrice: bigint | null; l1GasUsed: bigint | null; l1Fee: bigint | null; l1FeeScalar: number | null; } & {}; type: "transactionReceipt"; }; }; serializers: { readonly transaction: typeof import("viem/chains").serializeTransactionOpStack; }; })[]; type SupportedChain = (typeof supportedChains)[number]["id"]; /** * Helper to call a Blockscout v2 endpoint. * The endpoint parameter should be the "path" (starting with a slash) after the base URL. * An optional query object is appended as query parameters. */ export declare function fetchFromBlockscoutV2(chain: SupportedChain, endpoint: string, query?: Record<string, string>): Promise<any>; /** * /addresses ENDPOINTS * - GET /addresses => Get native coin holders list * - GET /addresses/{address_hash} => Get address info * - GET /addresses/{address_hash}/counters => Get address counters * - GET /addresses/{address_hash}/transactions => Get address transactions * - GET /addresses/{address_hash}/token-transfers => Get address token transfers * - GET /addresses/{address_hash}/internal-transactions => Get address internal transactions * - GET /addresses/{address_hash}/logs => Get address logs * - GET /addresses/{address_hash}/blocks-validated => Get blocks validated by address * - GET /addresses/{address_hash}/token-balances => Get all tokens balances for the address * - GET /addresses/{address_hash}/tokens => Token balances with filtering and pagination * - GET /addresses/{address_hash}/coin-balance-history => Get address coin balance history * - GET /addresses/{address_hash}/coin-balance-history-by-day => Get address coin balance history by day * - GET /addresses/{address_hash}/withdrawals => Get address withdrawals * - GET /addresses/{address_hash}/nft => Get list of NFT owned by address * - GET /addresses/{address_hash}/nft/collections => Get list of NFT owned by address, grouped by collection */ /** * Get native coin holders * Get native coin holders list * Endpoint: GET /addresses */ export declare const getNativeCoinHolders: import("../client.js").BaseTool; /** * Get address info * Get information about a specific address * Endpoint: GET /addresses/{address_hash} */ export declare const getAddressInfo: import("../client.js").BaseTool; /** * Get address counters * Get counters for a specific address * Endpoint: GET /addresses/{address_hash}/counters */ export declare const getAddressCounters: import("../client.js").BaseTool; /** * Get address transactions * Get transactions for a specific address * Endpoint: GET /addresses/{address_hash}/transactions */ export declare const getAddressTransactions: import("../client.js").BaseTool; /** * Get token transfers for address * Get token transfers for a specific address * Endpoint: GET /addresses/{address_hash}/token-transfers */ export declare const getAddressTokenTransfers: import("../client.js").BaseTool; /** * Get internal transactions for address * Get internal transactions for a specific address * Endpoint: GET /addresses/{address_hash}/internal-transactions */ export declare const getAddressInternalTransactions: import("../client.js").BaseTool; /** * Get logs for address * Get logs for a specific address * Endpoint: GET /addresses/{address_hash}/logs */ export declare const getAddressLogs: import("../client.js").BaseTool; /** * Get blocks validated by address * Get blocks validated by a specific address * Endpoint: GET /addresses/{address_hash}/blocks-validated */ export declare const getAddressBlocksValidated: import("../client.js").BaseTool; /** * Get token balances for address * Get all token balances for a specific address * Endpoint: GET /addresses/{address_hash}/token-balances */ export declare const getAddressTokenBalances: import("../client.js").BaseTool; /** * Get address tokens * Get token balances with filtering and pagination * Endpoint: GET /addresses/{address_hash}/tokens */ export declare const getAddressTokens: import("../client.js").BaseTool; /** * Get coin balance history * Get address coin balance history * Endpoint: GET /addresses/{address_hash}/coin-balance-history */ export declare const getAddressCoinBalanceHistory: import("../client.js").BaseTool; /** * Get daily coin balance history * Get address coin balance history by day * Endpoint: GET /addresses/{address_hash}/coin-balance-history-by-day */ export declare const getAddressCoinBalanceHistoryByDay: import("../client.js").BaseTool; /** * Get address withdrawals * Get withdrawals for a specific address * Endpoint: GET /addresses/{address_hash}/withdrawals */ export declare const getAddressWithdrawals: import("../client.js").BaseTool; /** * Get NFTs owned by address * Get list of NFTs owned by address * Endpoint: GET /addresses/{address_hash}/nft */ export declare const getAddressNFTs: import("../client.js").BaseTool; /** * Get NFT collections owned by address * Get list of NFTs owned by address, grouped by collection * Endpoint: GET /addresses/{address_hash}/nft/collections */ export declare const getAddressNFTCollections: import("../client.js").BaseTool; /** * /blocks ENDPOINTS * - GET /blocks/{block_number_or_hash} => Get block info * - GET /blocks/{block_number_or_hash}/transactions => Get block transactions * - GET /blocks/{block_number_or_hash}/withdrawals => Get block withdrawals */ /** * Get block info * Get information about a specific block * Endpoint: GET /blocks/{blockNumberOrHash} */ export declare const getBlockInfo: import("../client.js").BaseTool; /** * Get block transactions * Get transactions within a specific block * Endpoint: GET /blocks/{blockNumberOrHash}/transactions */ export declare const getBlockTransactions: import("../client.js").BaseTool; /** * Get block withdrawals * Get withdrawals within a specific block * Endpoint: GET /blocks/{blockNumberOrHash}/withdrawals */ export declare const getBlockWithdrawals: import("../client.js").BaseTool; /** * /stats ENDPOINTS * - GET /stats/counters => Get statistics counters for the chain * - GET /stats/charts/market => Get market chart data * - GET /stats/charts/transactions => Get daily transactions chart */ /** * Get statistics counters for the chain * Returns statistics counters for various blockchain metrics. * Endpoint: GET /stats/counters */ export declare const getStats: import("../client.js").BaseTool; /** * Get transactions chart data. * Returns daily transaction statistics. * Endpoint: GET /stats/charts/transactions */ export declare const getTransactionsChart: import("../client.js").BaseTool; /** * /transactions ENDPOINTS * - GET /transactions/{txhash} => Get transaction details * - GET /transactions/{txhash}/token-transfers => Get token transfers * - GET /transactions/{txhash}/internal-transactions => Get internal transactions * - GET /transactions/{txhash}/logs => Get transaction logs * - GET /transactions/{txhash}/raw-trace => Get raw trace info * - GET /transactions/{txhash}/state-changes => Get state changes * - GET /transactions/{txhash}/summary => Get transaction summary */ /** * 13. getTransactionInfo * Retrieve detailed info for a given transaction hash. * Endpoint: GET /transactions/{txhash}?index=... */ export declare const getTransactionInfo: import("../client.js").BaseTool; /** * 13. getTransactionTokenTransfers * Retrieve token transfers for a given transaction hash. * Endpoint: GET /transactions/{txhash}/token-transfers */ export declare const getTransactionTokenTransfers: import("../client.js").BaseTool; /** * getTransactionInternalTransactions * Retrieve internal transactions for a given transaction hash. * Endpoint: GET /transactions/{txhash}/internal-transactions */ export declare const getTransactionInternalTransactions: import("../client.js").BaseTool; /** * getTransactionLogs * Retrieve logs generated from a transaction. * Endpoint: GET /transactions/{txhash}/logs */ export declare const getTransactionLogs: import("../client.js").BaseTool; /** * getTransactionRawTrace * Retrieve raw trace info for a transaction. * Endpoint: GET /transactions/{txhash}/raw-trace */ export declare const getTransactionRawTrace: import("../client.js").BaseTool; /** * getTransactionStateChanges * Retrieve state changes made by a specific transaction. * Endpoint: GET /transactions/{txhash}/state-changes */ export declare const getTransactionStateChanges: import("../client.js").BaseTool; /** * getTransactionSummary * Retrieve a summary of a transaction. * Endpoint: GET /transactions/{txhash}/summary */ export declare const getTransactionSummary: import("../client.js").BaseTool; /** * /smart-contracts ENDPOINTS * - GET /smart-contracts => Get smart contracts * - GET /smart-contracts/{address} => Get smart contract info */ /** * 19. getContracts * List contract addresses known to the explorer. * Endpoint: GET /smart-contracts */ export declare const getSmartContracts: import("../client.js").BaseTool; /** * 17. getContractSource * Retrieve the source code of a verified contract. * Endpoint: GET /contracts/{address}/source-code */ export declare const getSmartContract: import("../client.js").BaseTool; /** * /tokens ENDPOINTS * - GET /tokens/{token_address} => Get token data and state by provided contract address * - GET /tokens/{token_address}/holders => Get token holders * - GET /tokens/{token_address}/transfers => Get token transfers by provided contract address */ /** * 21. getTokenInfo * Fetch metadata for a token contract. * Endpoint: GET /tokens/{tokenContract} */ export declare const getTokenInfo: import("../client.js").BaseTool; /** * 22. getTokenHolders * Retrieve token holders and their balances for a token. * Endpoint: GET /tokens/{tokenContract}/holders */ export declare const getTokenHolders: import("../client.js").BaseTool; /** * 23. getTokenTransfers * List transfers for a specific token contract. * Endpoint: GET /tokens/{tokenContract}/transfers */ export declare const getTokenTransfers: import("../client.js").BaseTool; /** * /search ENDPOINTS * - GET /search => Get search results */ export declare const getBlockscoutSearch: import("../client.js").BaseTool; export {}; //# sourceMappingURL=tools.d.ts.map