loopring-lightcone
Version:
A library to interact with the Loopring relayer system
31 lines (29 loc) • 527 B
JavaScript
const { request } = require("../../../request");
exports.getDeposits = async (
accountId,
apiKey,
start,
end,
allTypes,
status,
offset,
limit,
fromHash,
tokenSymbol
) =>
request(
"GET",
"api/v2/user/deposits",
{
accountId,
start,
end,
allType: allTypes,
status,
offset,
limit,
fromHash,
tokenSymbol,
},
{ "X-API-KEY": apiKey }
);