From a6a374ca03f29a107f80b3315671daa6f5d68696 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Mon, 11 Aug 2025 10:50:54 +0200 Subject: [PATCH] docs: Clarify transactionOrigin field --- packages/snaps-sdk/src/types/handlers/transaction.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/snaps-sdk/src/types/handlers/transaction.ts b/packages/snaps-sdk/src/types/handlers/transaction.ts index 1bd85554c7..7af399a545 100644 --- a/packages/snaps-sdk/src/types/handlers/transaction.ts +++ b/packages/snaps-sdk/src/types/handlers/transaction.ts @@ -91,9 +91,9 @@ export type Transaction = EIP1559Transaction | LegacyTransaction; * @param args.chainId - The CAIP-2 {@link CaipChainId} of the network the * transaction is being submitted to. * @param args.transactionOrigin - The origin of the transaction. This is the - * URL of the website that submitted the transaction. This is only available if - * the Snap has enabled the `allowTransactionOrigin` option in the - * `endowment:transaction-insight` permission. + * URL of the website that submitted the transaction or 'metamask'. + * This is only available if the Snap has enabled the `allowTransactionOrigin` + * option in the `endowment:transaction-insight` permission. * @returns An object containing insights about the transaction. See * {@link OnTransactionResponse}. Can also return `null` if no insights are * available.