https://docs.elrond.com/sdk-and-tools/erdjs/erdjs-cookbook/#contract-queries
I would recommend parsing it with the abi:
let queryResponse = await networkProvider.queryContract(query);
let endpointDefinition = contract.getEndpoint("getClaimableRewards");
let { firstValue, secondValue, returnCode } = resultsParser.parseQueryResponse(queryResponse, endpointDefinition);
Your firstValue will contain a Variadic value which contains all your u64values :)
https://docs.elrond.com/sdk-and-tools/erdjs/erdjs-cookbook/#contract-queries I would recommend parsing it with the abi: let queryResponse = await networkProvider.queryContract(query); let endpointDefinition = contract.getEndpoint("getClaimableRewards"); let { firstValue, secondValue, returnCode } = resultsParser.parseQueryResponse(queryResponse, endpointDefinition); Your firstValue will contain a Variadic value which contains all your u64values :)