Skip to content

Function: ipfsHashToSolBytesArray()

ts
function ipfsHashToSolBytesArray(hash): number[];

Converts IPFS hash to byte array needed to submit results

Parameters

ParameterTypeDescription
hashstringIPFS hash

Returns

number[]

Array<number>