@truenetworkio/sdk
Version:
True Network SDK is the abstracted interface for interacting with True Network nodes.
20 lines (19 loc) • 413 B
TypeScript
import { SchemaType } from "../schemas";
export type NetworkConfig = {
name: string;
unit: string;
rpc: string;
denomination: number;
};
export type AttestationResponseType = {
attestationId: number;
prismUrl: string;
transaction: {
hash: string;
explorerUrl: string;
events: any[];
};
};
export type SchemaObject = {
[key: string]: SchemaType<any>;
};