airgap-coin-lib
Version:
The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
9 lines (8 loc) • 470 B
TypeScript
import { SchemaItem, SchemaRoot } from '../schemas/schema';
import { RLPData } from './toBuffer';
export declare function getDefinitionByRefPath(schema: SchemaRoot, refPath: string): SchemaItem;
export declare function unwrapSchema(schema: SchemaRoot): SchemaItem;
export declare function jsonToArray(key: string, schema: SchemaItem, value: Object): RLPData;
export declare function rlpArrayToJson(schema: SchemaItem, decoded: RLPData): {
[key: string]: unknown;
};