n8n-nodes-wax
Version:
n8n Community Node Package for the WAX Blockchain
15 lines (14 loc) • 515 B
TypeScript
import { ISchema, SchemaObject } from '../../Schema';
import { ISchemaRow } from './RpcCache';
import RpcApi from './index';
export default class RpcSchema {
private readonly api;
readonly collection: string;
readonly name: string;
private readonly _data;
private readonly _collection;
constructor(api: RpcApi, collection: string, name: string, data?: ISchemaRow, cache?: boolean);
format(): Promise<ISchema>;
rawFormat(): Promise<SchemaObject[]>;
toObject(): Promise<object>;
}