From fc1ca3de559f1c9aafbacaef7b6d4fdc4118ac53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hussein?= <80422357+nhussein11@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:26:11 -0300 Subject: [PATCH] Update .snippets/code/develop/toolkit/interoperability/asset-transfer-api/reference/tx-result.md Co-authored-by: Erin Shaben --- .../asset-transfer-api/reference/tx-result.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.snippets/code/develop/toolkit/interoperability/asset-transfer-api/reference/tx-result.md b/.snippets/code/develop/toolkit/interoperability/asset-transfer-api/reference/tx-result.md index 07517690..d992451e 100644 --- a/.snippets/code/develop/toolkit/interoperability/asset-transfer-api/reference/tx-result.md +++ b/.snippets/code/develop/toolkit/interoperability/asset-transfer-api/reference/tx-result.md @@ -133,6 +133,6 @@ A promise containing the result of constructing the transaction. The `ConstructedFormat` type is a conditional type that returns a specific type based on the value of the TxResult `format` field. - - Payload format - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/3b7b44f048ff515579dd233ea6964acec39c0589/packages/types/src/extrinsic/ExtrinsicPayload.ts#L48){target=\_blank} - - Call format - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call - - Submittable format - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/3b7b44f048ff515579dd233ea6964acec39c0589/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain + - **Payload format** - if the format field is set to `'payload'`, the `ConstructedFormat` type will return a [`GenericExtrinsicPayload`](https://github.com/polkadot-js/api/blob/3b7b44f048ff515579dd233ea6964acec39c0589/packages/types/src/extrinsic/ExtrinsicPayload.ts#L48){target=\_blank} + - **Call format** - if the format field is set to `'call'`, the `ConstructedFormat` type will return a hexadecimal string (`0x${string}`). This is the encoded representation of the extrinsic call + - **Submittable format** - if the format field is set to `'submittable'`, the `ConstructedFormat` type will return a [`SubmittableExtrinsic`](https://github.com/polkadot-js/api/blob/3b7b44f048ff515579dd233ea6964acec39c0589/packages/api-base/src/types/submittable.ts#L56){target=\_blank}. This is a Polkadot.js type that represents a transaction that can be submitted to the blockchain