UNPKG

@libra-opensource/client-sdk-typescript

Version:
13 lines (12 loc) 660 B
import { BaseSubmitCommand } from './'; import { AccountAddress, Script, StructTag } from '../../../bcs/diemTypes'; import { ArgDef } from '../../../bcs/diemStdlib'; export interface GenericTransactionSubmitCommand extends BaseSubmitCommand { _: ['submit', string]; stdlibEncodeFunction: (...args: any) => Script; [key: string]: any; } declare type ReturnTypes = boolean | number | BigInt | AccountAddress | Uint8Array | StructTag[]; export declare function convertArg(arg: ArgDef, argvValue: string): ReturnTypes; export declare function submitGenericTypeTransaction(type: string, argv: GenericTransactionSubmitCommand): Promise<void>; export {};