PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/xrpl/node_modules/ripple-binary-codec/dist/enums

Просмотр файла: field.d.ts

import { Bytes } from './bytes';
import { SerializedType } from '../types/serialized-type';
/**
 * Encoding information for a rippled field, often used in transactions.
 * See the enums [README.md](https://github.com/XRPLF/xrpl.js/tree/main/packages/ripple-binary-codec/src/enums) for more details on what each means.
 */
export interface FieldInfo {
    nth: number;
    isVLEncoded: boolean;
    isSerialized: boolean;
    isSigningField: boolean;
    type: string;
}
export interface FieldInstance {
    readonly nth: number;
    readonly isVariableLengthEncoded: boolean;
    readonly isSerialized: boolean;
    readonly isSigningField: boolean;
    readonly type: Bytes;
    readonly ordinal: number;
    readonly name: string;
    readonly header: Uint8Array;
    readonly associatedType: typeof SerializedType;
}
export declare class FieldLookup {
    constructor(fields: Array<[string, FieldInfo]>, types: Record<string, number>);
    fromString(value: string): FieldInstance;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!