buildDataOut
@opcat-labs/scrypt-ts-opcat v1.0.4
@opcat-labs/scrypt-ts-opcat / Script / buildDataOut
Function: buildDataOut()
buildDataOut(
data,encoding):Script
Defined in: node_modules/@opcat-labs/opcat/types/script/script.d.cts:410
Parameters
data
the data to embed in the output - it is a string, buffer, or array of strings or buffers
string | any[] | Buffer
encoding
string
the type of encoding of the string(s)
Returns
a new OP_RETURN script with data