# Transaction Building Tools

### Transaction Blob(**`zetrix_get_transaction_blob`)**

Serialize transaction data to hex format.

**Purpose:** Convert transaction objects into blockchain-ready hex format.

**Process:** JSON transaction → Protocol Buffer serialization → Hex encoding

**Use Cases:**

* Custom transaction signing
* Offline transaction preparation

***

### Submit Signed Transaction(**`zetrix_submit_transaction`)**

Submit signed transaction to blockchain.

**Purpose:** Broadcast signed transaction for network processing.

**Input:** Signed transaction blob (hex format)

**Returns:** Transaction hash if successful

**Validation:** Checks signature, nonce, and fee before submission

**Finality:** Typically confirmed in 1-5 seconds

***

### Test Transaction Execution(**`zetrix_test_transaction`)**

Evaluate transaction fees without submission.

**Purpose:** Estimate gas costs and validate transaction structure.

**Process:** Simulates transaction execution without state changes

**Cost:** Free (no actual transaction)

**Use Cases:**

* Fee calculation
* Transaction validation
* Error detection

***

### Read-Only Smart Contract Call(**`zetrix_call_contract`)**

Call smart contract in sandbox environment.

**Purpose:** Test contract functions in isolated environment.

**Environment:** Sandboxed execution, no state changes

**Returns:** Function return value, execution logs

**Cost:** Free, no gas required

***


---

# 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://docs.zetrix.com/en/developer-resources/zetrix-mcp-server/tools-reference/transaction-building-tools.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.
