import INodeClient from "./INodeClient"; import { SmartAccountByOwnerDto, TokenByChainIdAndAddressDto, TokenPriceResponse, SupportedChainsResponse, IndividualChainResponse, SupportedTokensResponse, IndividualTokenResponse, SmartAccountsResponse, BalancesDto, BalancesResponse, UsdBalanceResponse, SCWTransactionResponse, WhiteListSignatureResponse } from "./types/NodeClientTypes"; export interface NodeClientConfig { /** txServiceUrl - Safe Transaction Service URL */ txServiceUrl: string; } declare class NodeClient implements INodeClient { #private; constructor({ txServiceUrl }: NodeClientConfig); /** * * @returns The list of Network info */ getAllSupportedChains(): Promise; /** * * @param chainId * @description thie function will return the chain detail base on supplied { chainId } * @returns */ getChainById(chainId: number): Promise; /** * * @param chainId * @description this function will return token price base on supplied {chainId} * @returns */ getTokenPricesByChainId(chainId: number): Promise; getAllTokens(): Promise; getTokensByChainId(chainId: number): Promise; getTokenByChainIdAndAddress(tokenByChainIdAndAddressDto: TokenByChainIdAndAddressDto): Promise; getSmartAccountsByOwner(smartAccountByOwnerDto: SmartAccountByOwnerDto): Promise; getAllTokenBalances(balancesDto: BalancesDto): Promise; getTotalBalanceInUsd(balancesDto: BalancesDto): Promise; /** * * @param origin * @description this function will return the signature for your domain * @returns */ whitelistUrl(origin: string): Promise; getTransactionByAddress(chainId: number, address: string): Promise; getTransactionByHash(txHash: string): Promise; } export default NodeClient;