# Transact (with a Session)

1. To transact with a session, create a method and pass an EosSharp Action-Object to it.
2. Call the method `await LinkSession.Transact(new TransactArgs(){Action = action)` to attempt the transaction.
3. When this method is called from your UI or another script, the Transport will display a prompt and ask the user to sign the transaction containing the Action passed (without requiring the user to log in again).

```csharp
internal async Task TransactWithoutSession(EosSharp.Core.Api.v1.Action action)
{
	var transactResult = await mySession.Transact(new TransactArgs() { Action = action });
	Debug.Log($"Transaction broadcast! {transactResult.Processed}");
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liquiidio.gitbook.io/unity-plugin-suite/anchorlink/examples/transact_with_session.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
