UNPKG

@stellar/stellar-sdk

Version:

A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.

31 lines (30 loc) 678 B
import { Spec } from "../contract"; /** * Generates TypeScript client class for contract methods */ export declare class ClientGenerator { private spec; constructor(spec: Spec); /** * Generate client class */ generate(): string; private generateImports; /** * Generate interface method signature */ private generateInterfaceMethod; private generateFromJSONMethod; /** * Generate deploy method */ private generateDeployMethod; /** * Format method parameters */ private formatMethodParameters; /** * Format constructor parameters */ private formatConstructorParameters; }