UNPKG

@venly/connect

Version:

Venly Connect SDK

37 lines (36 loc) 924 B
import { TransactionRequest } from '../../TransactionRequest'; export interface SuiInput { type: string; value: string; } export interface SuiCommand { type: string; } export declare class SuiMoveCallCommand implements SuiCommand { type: string; functionName: string; inputs: SuiInput[]; typeArguments: string[]; constructor(); } export declare class SuiObjectTransferCommand implements SuiCommand { type: string; vecElementType: string; elements: any[]; constructor(); } export declare class SuiMakeMoveVecCommand implements SuiCommand { type: string; objects: string[]; constructor(); } export declare class SuiPackageExecutionExecutionRequest extends TransactionRequest { gasPrice?: number; gasBudget?: number; to: string; value: number; targetPackage: string; functionName: string; commands: SuiCommand[]; inputs: SuiInput[]; }