Sha256: d7d705a8cd2d8fce665396e2e2c9bcc54ccdbc855a3b9935883cde3443c3919f

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

import request from "../../tools/request";
import { toArray } from "../../tools/utils";
import query from "../../tools/query";
export function fetchEthAssetDetails(base, ethAssetId) {
    const id = toArray(ethAssetId);
    return request({ base, url: `/eth/assets?${query({ id })}` }).then(list => Array.isArray(ethAssetId) ? list : list[0]);
}
//# 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/es/api-node/eth/index.js