From 579d6d6aec6ae2c749b3655921ce2099fe95c334 Mon Sep 17 00:00:00 2001 From: Isma <71719097+Doozers@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:51:13 +0100 Subject: [PATCH] fix strings to bytes conversions funcs --- .../pages/en/subgraphs/developing/creating/graph-ts/api.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/pages/en/subgraphs/developing/creating/graph-ts/api.mdx b/website/pages/en/subgraphs/developing/creating/graph-ts/api.mdx index 2e22f85a18c0..22066d9add95 100644 --- a/website/pages/en/subgraphs/developing/creating/graph-ts/api.mdx +++ b/website/pages/en/subgraphs/developing/creating/graph-ts/api.mdx @@ -800,8 +800,8 @@ When the type of a value is certain, it can be converted to a [built-in type](#b | Bytes | Address | Address.fromBytes(s) | | String | BigInt | BigInt.fromString(s) | | String | BigDecimal | BigDecimal.fromString(s) | -| String (hexadecimal) | Bytes | ByteArray.fromHexString(s) | -| String (UTF-8) | Bytes | ByteArray.fromUTF8(s) | +| String (hexadecimal) | Bytes | Bytes.fromHexString(s) | +| String (UTF-8) | Bytes | Bytes.fromUTF8(s) | ### Data Source Metadata