Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZETRIX_NETWORK | No | The Zetrix network to connect to (mainnet or testnet) | |
| ZETRIX_RPC_URL | No | Custom RPC URL for Zetrix node (overrides ZETRIX_NETWORK if set) |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| zetrix_check_health | Check the health status of the Zetrix node |
| zetrix_get_account | Get Zetrix account information including balance and metadata |
| zetrix_get_block | Get information about a specific block by height |
| zetrix_get_latest_block | Get the latest block information from Zetrix blockchain |
| zetrix_get_transaction | Get transaction details by transaction hash |
| zetrix_get_balance | Get the ZETRIX balance of an account. Returns balance in both ZETA (micro units) and ZETRIX (main units). Note: 1 ZETRIX = 1,000,000 ZETA |
| zetrix_create_keypair | Generate a new public-private key pair (for testing only) |
| zetrix_get_account_base | Get basic account information without assets and metadata |
| zetrix_get_account_assets | Get asset holdings for an account |
| zetrix_get_account_metadata | Get metadata associated with an account |
| zetrix_get_transaction_history | Get completed transaction records |
| zetrix_get_transaction_cache | Get pending transactions not yet executed |
| zetrix_get_ledger | Get block/ledger information with optional details |
| zetrix_multi_query | Execute multiple API queries simultaneously |
| zetrix_get_transaction_blob | Serialize transaction data into hexadecimal format |
| zetrix_submit_transaction | Submit signed transaction to blockchain for execution |
| zetrix_call_contract | Call smart contract in sandbox environment for debugging |
| zetrix_test_transaction | Evaluate transaction fees without blockchain submission |
| zetrix_ws_connect | Connect and register to Zetrix WebSocket for real-time updates |
| zetrix_ws_submit_transaction | Submit transaction via WebSocket and get real-time status updates |
| zetrix_ws_subscribe_tx | Subscribe to transaction notifications for specific addresses |
| zetrix_ws_disconnect | Disconnect from WebSocket |
| zetrix_ws_status | Check WebSocket connection status |
| zetrix_sdk_create_account | Create a new Zetrix account using the official SDK |
| zetrix_sdk_get_balance | Get account balance using the official SDK |
| zetrix_sdk_is_activated | Check if an account is activated on the blockchain |
| zetrix_sdk_get_nonce | Get account nonce (transaction sequence number) |
| zetrix_sdk_call_contract | Call a smart contract function (query only, no state change) using SDK |
| zetrix_sdk_invoke_contract | Invoke a smart contract function with state change (requires private key) |
| zetrix_crypto_generate_keypair | Generate a new Zetrix key pair with private key, public key, and address |
| zetrix_crypto_get_public_key | Derive public key from private key |
| zetrix_crypto_get_address | Get Zetrix address from public key |
| zetrix_crypto_validate_key | Validate private key, public key, or address format |
| zetrix_crypto_sign | Sign a message with a private key |
| zetrix_crypto_verify | Verify a signature against a message and public key |
| zetrix_crypto_encrypt_key | Encrypt a private key with a password for secure storage |
| zetrix_crypto_decrypt_key | Decrypt an encrypted private key with a password |
| zetrix_contract_get_chain_functions | Get documentation for all built-in Chain object functions available in Zetrix smart contracts |
| zetrix_contract_get_utils_functions | Get documentation for all built-in Utils object functions available in Zetrix smart contracts |
| zetrix_contract_get_structure_guide | Get guide on how to structure Zetrix smart contracts with ES5 patterns, classes, and inheritance |
| zetrix_contract_get_token_standard | Get token standard specification (ZTP20, ZTP721, or ZTP1155) |
| zetrix_contract_init_dev_environment | Initialize a new Zetrix smart contract development environment using create-zetrix-tool. This creates a complete project structure with testing framework, examples, and utilities. |
| zetrix_contract_generate_advanced | Generate advanced multi-class Zetrix smart contract with interfaces, libraries, utilities, main contract, and comprehensive test specs. MANDATORY WORKFLOW: (1) First call zetrix_contract_init_dev_environment with contractName (e.g., 'CertificateContract'). (2) Then call this tool with the SAME contractName and outputDirectory set to './{contractName}'. Calling this tool WITHOUT initializing the project first will result in an error. Supports complex architectures with inheritance, composition, and modular design. |
| zetrix_contract_get_testing_guide | Get guide on testing Zetrix smart contracts with TEST_INVOKE and TEST_QUERY |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |