# All files / src/api/methods constants.js

100% Statements 6/6
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    21x
    21x
    21x

    21x
    21x
    21x
     // JSON RPC 2.0 invalid params error code
    const INVALID_PARAMS = -32602;
    const NFT_COLOR_BASE = 32769; // 2^15 + 1
    const NST_COLOR_BASE = 49153; // 2^15 + 1 + 2^14

    exports.INVALID_PARAMS = INVALID_PARAMS;
    exports.NFT_COLOR_BASE = NFT_COLOR_BASE;
    exports.NST_COLOR_BASE = NST_COLOR_BASE;