@iyonger/aptos-web3-bip44.js
Version:
Web3 SDK For Aptos
18 lines • 801 B
TypeScript
import { TypeTag, TransactionArgument } from "../aptos_types";
import { Serializer } from "../bcs";
/**
* Parser to parse a type tag string
*/
export declare class TypeTagParser {
private readonly tokens;
constructor(tagStr: string);
private consume;
private parseCommaList;
parseTypeTag(): TypeTag;
}
export declare function ensureBoolean(val: boolean | string): boolean;
export declare function ensureNumber(val: number | string): number;
export declare function ensureBigInt(val: number | bigint | string): bigint;
export declare function serializeArg(argVal: any, argType: TypeTag, serializer: Serializer): void;
export declare function argToTransactionArgument(argVal: any, argType: TypeTag): TransactionArgument;
//# sourceMappingURL=builder_utils.d.ts.map