UNPKG

@taquito/local-forging

Version:

Local Tezos operation forging for Taquito.

14 lines (13 loc) 599 B
import { OpKind } from '@taquito/rpc'; import { OperationContents } from '@taquito/rpc'; /** * @returns A boolean value to indicate whether the operation kind is valid or not */ export declare const validateOperationKind: (opKind: OpKind) => boolean; /** * returns 0 when the two array of properties are identical or the passed property * does not have any missing parameters from the corresponding schema * * @returns array element differences if there are missing required property keys */ export declare const validateMissingProperty: (operationContent: OperationContents) => string[];