blockchain-api
Version:
API utilities for interacting with the Exatechl2 blockchain
9 lines (8 loc) • 392 B
TypeScript
import { SearchResult } from '../../types/search';
/**
* Search for blocks, transactions, addresses, or tokens
*
* @param {string} query - The search query (block number, transaction hash, address, etc.)
* @returns {Promise<SearchResult | null>} - Basic search result with type and ID, or null if not found
*/
export declare function search(query: string): Promise<SearchResult | null>;