UNPKG

@cityofzion/neo-js

Version:

Running NEO blockchain full node with Node.js and MongoDB.

12 lines (10 loc) 243 B
export class NeoValidator { static validateHeight(height: number) { if (height <= 0) { throw new Error(`'height' must be an integer 1 or above.`) } } static validateTransactionId(transactionId: string) { // TODO } }