slpjs
Version:
Simple Ledger Protocol (SLP) JavaScript Library
12 lines (11 loc) • 443 B
TypeScript
import { IGrpcClient } from "grpc-bchrpc";
import { logger, SlpValidator } from "..";
export declare class BchdValidator implements SlpValidator {
client: IGrpcClient;
private logger?;
constructor(client: IGrpcClient, logger?: logger);
getRawTransactions(txid: string[]): Promise<string[]>;
isValidSlpTxid(txid: string): Promise<boolean>;
validateSlpTransactions(txids: string[]): Promise<string[]>;
private log;
}