diff --git a/packages/snaps-execution-environments/src/common/commands.ts b/packages/snaps-execution-environments/src/common/commands.ts index d05ac67feb..88a10fe888 100644 --- a/packages/snaps-execution-environments/src/common/commands.ts +++ b/packages/snaps-execution-environments/src/common/commands.ts @@ -80,7 +80,7 @@ export function getHandlerArguments( assertIsOnProtocolRequestArguments(request.params); const { request: nestedRequest, scope } = request.params; - return { request: nestedRequest, scope }; + return { origin, request: nestedRequest, scope }; } case HandlerType.OnRpcRequest: