Types and functions for translating between Uint8Array and strings of hex data.
import * as PlaHex from 'plutus-ledger-api/Hex.js'const myHexString = "aa";const bytes = PlaHex.bytesFromHex(myHexString)console.log(PlaHex.bytesToHex(bytes)) Copy
import * as PlaHex from 'plutus-ledger-api/Hex.js'const myHexString = "aa";const bytes = PlaHex.bytesFromHex(myHexString)console.log(PlaHex.bytesToHex(bytes))
Generated using TypeDoc
Types and functions for translating between Uint8Array and strings of hex data.
Example