I need to parse two different uint256 values from the same JSON response to do a simple calculation. I am currently implementing two different requests (one for each of the uint) using the same chainlink test node and jobID
/**
* Receive the response in the form of uint256
*/
function fulfillWeight(bytes32 _requestId, uint256 _weight) public recordChainlinkFulfillment(_requestId)
{
weight = _weight;
}
function fulfillHeight(bytes32 _requestId2, uint256 _height) public recordChainlinkFulfillment(_requestId2)
{
height = _height;
}
Is there a way of implementing this without resorting to using two different requests, how could I combine parsing the same json response for the two uint256 values under the same request? would I need to search for a specific Node / JobId that carried this out? Thanks !