@accret/api-client
Version:
A comprehensive SDK for blockchain data access via Moralis, Alchemy, and Shyft APIs
22 lines • 1.28 kB
TypeScript
import type { EvmChain, GetWalletHistoryOperationResponse, GetWalletHistoryOperationResponseJSON } from "@moralisweb3/common-evm-utils";
import { PaginatedResponseV3Adapter } from "@moralisweb3/api-utils";
import type { SolanaTransactionHistory } from "../types";
type Address = {
address: string;
network: EvmChain;
};
/**
* Get the EVM transaction history for a specific address and network.
* @param address The wallet address to fetch the transaction history for.
* @param network The EVM chain to fetch the transaction history from.
* @returns A promise that resolves to the transaction history response.
*/
export declare function getEVMTransactionHistory({ address, network, }: Address): Promise<PaginatedResponseV3Adapter<GetWalletHistoryOperationResponse, GetWalletHistoryOperationResponseJSON>>;
/**
* @description Fetches the transaction history for a given Solana address using the Helius API.
* @param address The Solana wallet address to fetch the transaction history for.
* @returns A promise that resolves to the transaction history for the specified Solana address.
*/
export declare function getSolanaTransactionHistory(address: string): Promise<SolanaTransactionHistory[] | null>;
export {};
//# sourceMappingURL=transaction-history.d.ts.map