Sha256: 510221fce9e6b947db142bf54264af1853fd4051bf81dab4a0cb36d327b19e48

Contents?: true

Size: 779 Bytes

Versions: 1

Compression:

Stored size: 779 Bytes

Contents

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.fetchEthAssetDetails = void 0;
var request_1 = __importDefault(require("../../tools/request"));
var utils_1 = require("../../tools/utils");
var query_1 = __importDefault(require("../../tools/query"));
function fetchEthAssetDetails(base, ethAssetId) {
    var id = utils_1.toArray(ethAssetId);
    return request_1.default({ base: base, url: "/eth/assets?" + query_1.default({ id: id }) }).then(function (list) { return Array.isArray(ethAssetId) ? list : list[0]; });
}
exports.fetchEthAssetDetails = fetchEthAssetDetails;
//# sourceMappingURL=index.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@waves/node-api-js/cjs/api-node/eth/index.js