Web3JS Online
Viem Online
Webhooks, Alerts, and a simple API.
concat is a versatile function that concatenates a set of hex values or byte arrays into a single hex string or byte array. It is a useful tool for working with binary data in TypeScript.
The function takes an arbitrary number of arguments, each of which can be a hex string, a byte array, or a combination of both. Hex strings are represented as sequences of bytes, and byte arrays are converted to hex strings before concatenation.
Here are some examples of how you can use concat: