python-proxy-scraper-client
Version:
A TypeScript client for interacting with a Python proxy scraper service
18 lines (17 loc) • 723 B
TypeScript
import { BaseClient, BaseClientConfig } from '../../shared/base-client';
import { SolscanGetAccountResponse, SolscanGetAccountTokensResponse } from './types';
export declare class SolscanClient extends BaseClient {
constructor(config?: BaseClientConfig);
/**
* Get account data from Solscan
* @param address The wallet address to get data for
* @returns Account data
*/
getAccount(address: string): Promise<SolscanGetAccountResponse>;
/**
* Get token balances for an account from Solscan
* @param address The wallet address to get token balances for
* @returns Token balances data
*/
getAccountTokens(address: string): Promise<SolscanGetAccountTokensResponse>;
}