@roochnetwork/rooch-sdk
Version:
12 lines (11 loc) • 637 B
TypeScript
import { StructTag, TypeTag, BcsTypeTag } from './types.js';
import { address } from '../types/rooch.js';
export declare class Serializer {
static structTagToObjectID(input: StructTag | string): string;
static accountNamedObjectID(address: address, structTag: StructTag | string): string;
static structTagToCanonicalString(input: StructTag): string;
static typeTagToString(input: TypeTag): string;
static typeTagParseFromStr(str: string, normalizeAddress?: boolean): BcsTypeTag;
static parseStructTypeArgs(str: string, normalizeAddress?: boolean): BcsTypeTag[];
static tagToString(tag: BcsTypeTag): string;
}