@roochnetwork/rooch-sdk
Version:
27 lines (26 loc) • 500 B
TypeScript
import { Args, type TypeTag } from '../bcs/index.js';
export type CallScript = {
code: string;
args: Args[];
typeArgs: TypeTag[];
};
type FunctionArgs = {
address: string;
module: string;
function: string;
} | {
target: string;
};
export type CallFunctionArgs = {
args?: Args[];
maxGas?: number;
typeArgs?: TypeTag[];
} & FunctionArgs;
export type TypeArgs = {
address: string;
module: string;
name: string;
} | {
target: string;
};
export {};