Authenticated Transaction Feature powered by NEAR Chain Signatures
Overview
The Authenticated Transaction feature in Tachyon API enables cross-chain transaction signing using NEAR Protocol’s Chain Signatures technology. When a transaction is submitted with isAuthenticatedTx: true, Tachyon leverages NEAR’s Multi-Party Computation (MPC) service to sign transactions for external blockchains while maintaining security and decentralization.
How It Works
Transaction Flow
- Transaction Submission: A user submits a transaction with 
isAuthenticatedTx: true - Transaction Type Assignment: The transaction is automatically classified as 
TransactionType.AUTHENTICATED - Chain Signature Process:
- The transaction is prepared for signing on the target blockchain
 - NEAR’s Chain Signature contract (
v1.signer) is invoked - The MPC service generates signatures using the specified derivation path
 
 - Funding Transaction: The newly derived address is funded with the required amount of native tokens for gas fees
 - Transaction Finalization: The signed transaction is broadcast to the target blockchain
 
Supported Blockchains
Chain Signatures work with any blockchain that uses ECDSA signatures, including:
- Ethereum and EVM-compatible networks
 - Solana
 - Aptos
 - Sui
 
Security Features
- Decentralized Signing: No single entity controls the signing process
 - Multi-Party Computation: Signatures are generated by multiple independent nodes
 - Derivation Path Security: Each user gets unique derived addresses per blockchain
 - On-Chain Verification: All signature requests are processed on NEAR blockchain
 
Usage Example
Submitting an Authenticated Transaction
authenticated-transaction.js
const transactionData = {
  to: "0x1234567890abcdef1234567890abcdef12345678",
  callData: "0x",
  value: "1", // 1 Wei in wei
  chainId: 1, // Ethereum mainnet
  isAuthenticatedTx: true, // Enable Chain Signatures
  maxFeePerGas: "20000000000",
  maxPriorityFeePerGas: "2000000000",
  gasLimit: "21000",
  userId: "your-user-id",
  label: "default"
};
 
const response = await fetch('/submit-tx', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'api-key': 'your-api-key'
  },
  body: JSON.stringify(transactionData)
});Benefits
- Unified Key Management: Control multiple blockchain accounts from a single Tachyon account
 - Enhanced Security: Leverage NEAR’s decentralized MPC infrastructure
 - Cross-Chain Interoperability: Sign transactions for any ECDSA-compatible blockchain
 - Simplified Integration: Single API call handles complex multi-chain operations
 - Cost Efficiency: Batch multiple signatures in a single MPC request
 
Limitations
- Requires Tachyon account and availability of Rath Services
 - Dependent on NEAR network availability and MPC service uptime
 
For more information about NEAR Chain Signatures, see the official NEAR documentation .
Last updated on