ByteVector is a data type for byte array.
let a = base16'52696465' let b = base58'8t38fWQhrYJsqxXtPpiRCEk1g5RJdq9bG5Rkr2N7mDFC' let c = base64'UmlkZQ=='
let a = 42.toBytes() let b = true.toBytes() let c = "Ride".toBytes()
The maximum size of a
ByteVector variable is:
For Standard library version 3 — 65,536 bytes.
For Standard library version 4 — 32,767 bytes.
bodyBytesfield of transaction structure. You can pass this value as an argument to the
sigVerifyverification functions (but cannot concatenate with other byte arrays in case the limit is exceeded).
⚠️ Standard library version 4 becomes available since node version 1.2.0, after activation of feature #15 “Ride V4, VRF, Protobuf, Failed transactions”. Versions 1.2.x are currently available on Stagenet only.