skynet-substratecontains the code necessary to do the following Skynet behavior in an off-chain worker:
&average_height_bytes(L133) and we’ll name the file after our
DATA_KEY(L134). In Line 135, we can supply a timeout time, but could supply a number of UploadOptions. The result, if successful, should be a skylink in byte form.