From 8529a56288df1f4d6e3a658cdfbdead45fd1cc84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Thu, 10 Jul 2025 17:14:39 +0300 Subject: [PATCH] Adjust subtitle (JS cookbook). --- docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v14.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v14.md b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v14.md index 875b9929b..76f507f53 100644 --- a/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v14.md +++ b/docs/sdk-and-tools/sdk-js/sdk-js-cookbook-v14.md @@ -1240,7 +1240,7 @@ First, we load the abi file, then we fetch the transaction, we extract the event } ``` -#### Decoding transaction events +#### Encoding / decoding custom types Whenever needed, the contract ABI can be used for manually encoding or decoding custom types. Let's encode a struct called EsdtTokenPayment (of [multisig](https://github.com/multiversx/mx-contracts-rs/tree/main/contracts/multisig) contract) into binary data.