UNPKG

loopring-lightcone

Version:

A library to interact with the Loopring relayer system

13 lines (10 loc) 356 B
const { request } = require("../../../request"); exports.getApiKey = async (accountId, publicKeyX, publicKeyY, signature) => request( "GET", "api/v2/apiKey", { accountId, publicKeyX, publicKeyY }, { "X-API-SIG": signature } ); exports.getAccount = async (owner) => request("GET", "api/v2/account", { owner });