n8n-nodes-wax
Version:
n8n Community Node Package for the WAX Blockchain
19 lines (18 loc) • 1.32 kB
TypeScript
import { IExecuteFunctions } from 'n8n-workflow';
export declare function getCredentials(context: IExecuteFunctions, errorMessage?: string): Promise<import("n8n-workflow").ICredentialDataDecryptedObject>;
export interface ValidateEndpointOptions {
signing?: boolean;
}
export declare function validateEndpoint(context: IExecuteFunctions, raw: string, options?: ValidateEndpointOptions): string;
export declare function buildUrl(endpoint: string, path: string): string;
export declare const MAX_PAGINATION_ITERATIONS = 5000;
export declare function requireAccountName(context: IExecuteFunctions, raw: unknown, field: string): string;
export declare function requireAmount(context: IExecuteFunctions, raw: unknown, field: string): number;
export declare function requirePrecision(context: IExecuteFunctions, raw: unknown, field: string, fallback?: number): number;
export declare function requireSymbol(context: IExecuteFunctions, raw: unknown, field: string): string;
export declare function requireAssetIds(context: IExecuteFunctions, raw: unknown, field: string): string[];
export declare function normalizeMemo(context: IExecuteFunctions, raw: unknown, field: string): string;
export declare function redactSensitive(input: string): string;
export declare function safeError(error: unknown): {
message: string;
};