{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Class: TransactionManager"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/readme"},"children":["PERS SDK - v2.3.26"]}," / ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/modules"},"children":["Exports"]}," / TransactionManager"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"class-transactionmanager","__idx":0},"children":["Class: TransactionManager"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Transaction Manager - Clean, high-level interface for transaction operations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Provides a comprehensive API for loyalty transaction management including transaction"," ","creation, history tracking, reporting, and administrative oversight. Transactions"," ","are the core financial operations that track token movements, purchases, rewards,"," ","and all value exchanges within the loyalty ecosystem."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Create a purchase transaction\nconst transaction = await sdk.transactions.createTransaction({\n  type: 'PURCHASE',\n  amount: 100.00,\n  currency: 'USD',\n  businessId: 'partner-store-123',\n  description: 'Coffee shop purchase'\n});\n\n// Get transaction details\nconst details = await sdk.transactions.getTransactionById(transaction.id);\nconsole.log('Transaction:', details.description, details.status);\n\n// View transaction history\nconst history = await sdk.transactions.getUserTransactionHistory('ALL');\nconsole.log(`Found ${history.length} transactions`);\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Get different types of transactions\nconst purchases = await sdk.transactions.getUserTransactionHistory('PURCHASE');\nconst rewards = await sdk.transactions.getUserTransactionHistory('REWARD');\nconst redemptions = await sdk.transactions.getUserTransactionHistory('REDEMPTION');\n\nconsole.log('Transaction Summary:');\nconsole.log(`Purchases: ${purchases.length}`);\nconsole.log(`Rewards: ${rewards.length}`);\nconsole.log(`Redemptions: ${redemptions.length}`);\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Admin: Get paginated transactions for analysis\nconst allTransactions = await sdk.transactions.getPaginatedTransactions({ page: 1, limit: 100 });\n\n// Export transaction data\nconst csvBlob = await sdk.transactions.exportTransactionsCSV();\nconst downloadUrl = URL.createObjectURL(csvBlob);\nconsole.log('Download transaction report:', downloadUrl);\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"table-of-contents","__idx":1},"children":["Table of contents"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"constructors","__idx":2},"children":["Constructors"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#constructor"},"children":["constructor"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"methods","__idx":3},"children":["Methods"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#gettransactionbyid"},"children":["getTransactionById"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#createtransaction"},"children":["createTransaction"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#getusertransactionhistory"},"children":["getUserTransactionHistory"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#getpaginatedtransactions"},"children":["getPaginatedTransactions"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#exportcsv"},"children":["exportCSV"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#exporttransactionscsv"},"children":["exportTransactionsCSV"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#prepareexistingtransaction"},"children":["prepareExistingTransaction"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#prepareclientsignedtransaction"},"children":["prepareClientSignedTransaction"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#submitsignedtransaction"},"children":["submitSignedTransaction"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#querytransactionsbysender"},"children":["queryTransactionsBySender"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#querytransactionsbyrecipient"},"children":["queryTransactionsByRecipient"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#gettransactionanalytics"},"children":["getTransactionAnalytics"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager#gettransactionservice"},"children":["getTransactionService"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"constructors-1","__idx":4},"children":["Constructors"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"constructor","__idx":5},"children":["constructor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["• ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["new TransactionManager"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apiClient"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["events?"]},"): ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionManager"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters","__idx":6},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["apiClient"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/persapiclient"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PersApiClient"]}]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["events?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/perseventemitter"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PersEventEmitter"]}]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns","__idx":7},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionmanager"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionManager"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in","__idx":8},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L65"},"children":["managers/transaction-manager.ts:65"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"methods-1","__idx":9},"children":["Methods"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"gettransactionbyid","__idx":10},"children":["getTransactionById"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getTransactionById"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["include?"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get transaction by ID"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves detailed information for a specific transaction including status,"," ","amounts, participants, token transfers, and blockchain confirmations."," ","Provides complete transaction audit trail and verification data."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-1","__idx":11},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Unique transaction identifier"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["include?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionIncludeRelation"]},"[]"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Optional relations to include (sender, recipient, business) for enriched entity data"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-1","__idx":12},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to complete transaction data"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Throws"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When transaction with specified ID is not found or access denied"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"try {\n  // Get transaction with enriched sender/recipient data\n  const transaction = await sdk.transactions.getTransactionById(\n    'txn-abc123',\n    ['sender', 'recipient', 'business']\n  );\n  \n  console.log('Transaction Details:');\n  console.log('ID:', transaction.id);\n  console.log('Type:', transaction.type);\n  console.log('Status:', transaction.status);\n  console.log('Amount:', transaction.amount, transaction.currency);\n  console.log('Date:', new Date(transaction.createdAt).toLocaleString());\n  \n  if (transaction.description) {\n    console.log('Description:', transaction.description);\n  }\n  \n  // Access enriched sender data\n  if (transaction.included?.sender) {\n    console.log('Sender:', transaction.included.sender);\n  }\n  \n  // Access enriched recipient data\n  if (transaction.included?.recipient) {\n    console.log('Recipient:', transaction.included.recipient);\n  }\n  \n  // Access enriched business data\n  if (transaction.included?.engagedBusiness) {\n    console.log('Business:', transaction.included.engagedBusiness.displayName);\n  }\n  \n  // Show blockchain confirmation\n  if (transaction.blockchainHash) {\n    console.log('Blockchain:', transaction.blockchainHash);\n  }\n  \n} catch (error) {\n  console.log('Transaction not found or access denied:', error.message);\n}\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-1","__idx":13},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L130"},"children":["managers/transaction-manager.ts:130"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"createtransaction","__idx":14},"children":["createTransaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["createTransaction"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionData"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a new transaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Creates a new transaction in the loyalty system, processing token transfers,"," ","applying rewards, and updating user balances. Supports various transaction"," ","types including purchases, rewards, redemptions, and transfers."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-2","__idx":15},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionData"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestDTO"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Transaction configuration including type, amounts, and context"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-2","__idx":16},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to transaction creation response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Throws"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When validation fails or insufficient balance"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"try {\n  const purchase = await sdk.transactions.createTransaction({\n    type: 'PURCHASE',\n    amount: 25.50,\n    currency: 'USD',\n    businessId: 'coffee-shop-123',\n    description: 'Morning coffee and pastry',\n    metadata: {\n      items: ['Latte', 'Croissant'],\n      location: 'Downtown Store'\n    }\n  });\n  \n  console.log('Purchase completed!');\n  console.log('Transaction ID:', purchase.id);\n  console.log('Status:', purchase.status);\n  \n  if (purchase.tokensEarned?.length) {\n    console.log('\\nLoyalty rewards earned:');\n    purchase.tokensEarned.forEach(reward => {\n      console.log(`${reward.amount} ${reward.token.symbol}`);\n    });\n  }\n  \n} catch (error) {\n  console.log('Transaction failed:', error.message);\n}\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Create reward transaction (typically triggered by campaigns)\nconst reward = await sdk.transactions.createTransaction({\n  type: 'REWARD',\n  businessId: 'partner-hotel-456',\n  description: 'Welcome bonus for new customer',\n  tokenRewards: [\n    {\n      tokenId: 'loyalty-points',\n      amount: 500\n    }\n  ]\n});\n\nconsole.log('Reward transaction created:', reward.id);\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Create token transfer between users\nconst transfer = await sdk.transactions.createTransaction({\n  type: 'TRANSFER',\n  recipientUserId: 'user-789',\n  description: 'Gift to friend',\n  tokenTransfers: [\n    {\n      tokenId: 'loyalty-points',\n      amount: 100,\n      direction: 'OUTBOUND'\n    }\n  ]\n});\n\nconsole.log('Transfer initiated:', transfer.id);\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-2","__idx":17},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L216"},"children":["managers/transaction-manager.ts:216"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getusertransactionhistory","__idx":18},"children":["getUserTransactionHistory"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getUserTransactionHistory"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options?"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get user's transaction history"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves transaction history for the authenticated user with comprehensive"," ","filtering options. Provides chronological view of all user's loyalty"," ","activities including purchases, rewards, redemptions, and transfers."," ","Optionally enrich with related entities (sender, recipient, business)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-3","__idx":19},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionQueryParams"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Query options including filters, pagination, and include relations"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-3","__idx":20},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to paginated transaction data with optional included entities"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"const result = await sdk.transactions.getUserTransactionHistory();\n\nconsole.log(`Transaction History (${result.data.length} of ${result.pagination.total} transactions)`);\n\nresult.data.forEach((transaction, index) => {\n  const date = new Date(transaction.createdAt).toLocaleDateString();\n  console.log(`\\n${index + 1}. ${transaction.type} - ${date}`);\n  console.log(`   ${transaction.description || 'No description'}`);\n  console.log(`   Status: ${transaction.status}`);\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Get only completed sent transactions\nconst sent = await sdk.transactions.getUserTransactionHistory({\n  role: TransactionRole.SENDER,\n  status: TransactionStatus.COMPLETED,\n  include: ['recipient', 'business'],\n  page: 1,\n  limit: 50\n});\n\nsent.data.forEach(tx => {\n  console.log(`Sent to: ${tx.included?.recipient?.displayName || tx.recipientAddress}`);\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Get all transactions triggered by a specific campaign claim\nconst claimTxs = await sdk.transactions.getUserTransactionHistory({\n  triggerProcessId: 'claim-abc123',\n  include: ['sender', 'recipient', 'business']\n});\n\nclaimTxs.data.forEach(tx => {\n  console.log('Transaction from claim:', tx.id);\n  if (tx.included?.engagedBusiness) {\n    console.log('Business:', tx.included.engagedBusiness.displayName);\n  }\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-3","__idx":21},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L286"},"children":["managers/transaction-manager.ts:286"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getpaginatedtransactions","__idx":22},"children":["getPaginatedTransactions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getPaginatedTransactions"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Admin: Get paginated transactions"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves transactions with pagination support for efficient large dataset"," ","handling. This operation requires administrator privileges and is used for"," ","detailed transaction analysis and reporting interfaces."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-4","__idx":23},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionPaginationRequestDTO"]}," & { ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["include?"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionIncludeRelation"]},"[]  }"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Pagination, filtering parameters, and optional include relations"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-4","__idx":24},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to paginated transaction results with metadata"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Throws"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When not authenticated as administrator"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Admin operation - paginated transaction retrieval\nconst result = await sdk.transactions.getPaginatedTransactions({\n  page: 1,\n  limit: 50,\n  sortBy: 'createdAt',\n  sortOrder: 'DESC'\n});\n\nconsole.log(`� Page ${result.page} of ${result.totalPages}`);\nconsole.log(`Showing ${result.data.length} of ${result.total} transactions`);\n\nresult.data.forEach((transaction, index) => {\n  console.log(`${index + 1}. ${transaction.type} - ${transaction.status}`);\n  console.log(`   ${new Date(transaction.createdAt).toLocaleDateString()}`);\n});\n\n// Continue pagination if needed\nif (result.hasNextPage) {\n  const nextPage = await sdk.transactions.getPaginatedTransactions({\n    page: result.page + 1,\n    limit: 50\n  });\n}\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Admin operation - filter transactions by criteria\nconst filteredResult = await sdk.transactions.getPaginatedTransactions({\n  page: 1,\n  limit: 25,\n  filters: {\n    type: 'PURCHASE',\n    status: 'COMPLETED',\n    businessId: 'partner-store-123',\n    dateFrom: '2024-01-01',\n    dateTo: '2024-12-31'\n  },\n  sortBy: 'amount',\n  sortOrder: 'DESC'\n});\n\nconsole.log('Filtered Results:');\nconsole.log(`Found ${filteredResult.total} matching transactions`);\n\nfilteredResult.data.forEach(transaction => {\n  console.log(`$${transaction.amount} - ${transaction.business?.displayName}`);\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"// Include sender and recipient entities\nconst result = await sdk.transactions.getPaginatedTransactions({\n  page: 1,\n  limit: 50,\n  include: ['sender', 'recipient', 'business']\n});\n\nresult.data.forEach(tx => {\n  if (tx.included?.sender) console.log('From:', tx.included.sender);\n  if (tx.included?.recipient) console.log('To:', tx.included.recipient);\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-4","__idx":25},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L370"},"children":["managers/transaction-manager.ts:370"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"exportcsv","__idx":26},"children":["exportCSV"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["exportCSV"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options?"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Blob"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Admin: Export transactions as CSV"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Generates a comprehensive CSV export of all tenant transactions for"," ","external analysis, reporting, or compliance purposes. This operation"," ","requires administrator privileges and creates a downloadable file."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-5","__idx":27},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Optional date range filters"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options.dateFrom?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Start date filter (ISO date string)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options.dateTo?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["End date filter (ISO date string)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-5","__idx":28},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Blob"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to CSV blob for download"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Throws"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When not authenticated as administrator or export fails"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"const csvBlob = await sdk.transactions.exportCSV();\nconst downloadUrl = URL.createObjectURL(csvBlob);\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"const csvBlob = await sdk.transactions.exportCSV({\n  dateFrom: '2024-01-01',\n  dateTo: '2024-12-31'\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-5","__idx":29},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L405"},"children":["managers/transaction-manager.ts:405"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"exporttransactionscsv","__idx":30},"children":["exportTransactionsCSV"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["exportTransactionsCSV"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options?"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Blob"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Admin: Export transactions as CSV"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-6","__idx":31},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Object"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options.dateFrom?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["options.dateTo?"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-6","__idx":32},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Blob"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Deprecated"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["exportCSV()"]}," instead for consistent naming across all managers"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-6","__idx":33},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L414"},"children":["managers/transaction-manager.ts:414"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"prepareexistingtransaction","__idx":34},"children":["prepareExistingTransaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["prepareExistingTransaction"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionId"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Prepare existing transaction for client-side signing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves the necessary data to sign an existing transaction on the client side."," ","This is typically used when a transaction has been created but requires user signature."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-7","__idx":35},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The ID of the transaction to prepare"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-7","__idx":36},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to the transaction preparation data"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-7","__idx":37},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L427"},"children":["managers/transaction-manager.ts:427"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"prepareclientsignedtransaction","__idx":38},"children":["prepareClientSignedTransaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["prepareClientSignedTransaction"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Prepare a new transaction for client-side signing"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Creates a new transaction and immediately returns the data needed for client-side signing."," ","This combines creation and preparation into a single flow for client-signed operations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-8","__idx":39},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["request"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestDTO"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The transaction request details"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-8","__idx":40},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to the transaction preparation data"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-8","__idx":41},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L440"},"children":["managers/transaction-manager.ts:440"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"submitsignedtransaction","__idx":42},"children":["submitSignedTransaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["submitSignedTransaction"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signedTxData"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Submit a signed transaction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Submits a transaction that has been signed on the client side to the backend for processing."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-9","__idx":43},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["signedTxData"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionSubmissionRequestDTO"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The signed transaction data"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-9","__idx":44},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionRequestResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to the submission result"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-9","__idx":45},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L452"},"children":["managers/transaction-manager.ts:452"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"querytransactionsbysender","__idx":46},"children":["queryTransactionsBySender"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["queryTransactionsBySender"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountSelector"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Query transactions by sender"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves transactions where the specified account is the sender."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-10","__idx":47},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountSelector"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccountSelectorDTO"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Selector for the sender account"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-10","__idx":48},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to paginated transactions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-10","__idx":49},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L473"},"children":["managers/transaction-manager.ts:473"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"querytransactionsbyrecipient","__idx":50},"children":["queryTransactionsByRecipient"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["queryTransactionsByRecipient"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountSelector"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Query transactions by recipient"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves transactions where the specified account is the recipient."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-11","__idx":51},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accountSelector"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AccountSelectorDTO"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Selector for the recipient account"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-11","__idx":52},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PaginatedResponseDTO"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionDTO"]},">>"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to paginated transactions"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-11","__idx":53},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L485"},"children":["managers/transaction-manager.ts:485"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"gettransactionanalytics","__idx":54},"children":["getTransactionAnalytics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getTransactionAnalytics"]},"(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["analyticsRequest"]},"): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionAnalyticsResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get transaction analytics"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Retrieves analytics data for transactions based on the provided request criteria."," ","Useful for generating reports and dashboards."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"parameters-12","__idx":55},"children":["Parameters"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Type"},"children":["Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["analyticsRequest"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionAnalyticsRequestDTO"]}]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["The analytics query parameters"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-12","__idx":56},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Promise"]},"<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionAnalyticsResponseDTO"]},">"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Promise resolving to the analytics data"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-12","__idx":57},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L498"},"children":["managers/transaction-manager.ts:498"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"gettransactionservice","__idx":58},"children":["getTransactionService"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["▸ ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["getTransactionService"]},"(): ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionservice"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionService"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Get the full transaction service for advanced operations"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Provides access to the complete TransactionService instance for advanced"," ","transaction operations, custom analytics, blockchain interactions, and"," ","operations not covered by the high-level manager methods."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"returns-13","__idx":59},"children":["Returns"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/sdk-reference/classes/transactionservice"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TransactionService"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["TransactionService instance with full API access"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Example"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"typescript","header":{"controls":{"copy":{}}},"source":"const transactionService = sdk.transactions.getTransactionService();\n\n// Access advanced transaction analytics\nconst analytics = await transactionService.getTransactionAnalytics({\n  timeframe: 'last-30-days',\n  groupBy: 'business'\n});\n\n// Access blockchain transaction monitoring\nconst blockchainStatus = await transactionService.getBlockchainTransactionStatus('txn-123');\n\n// Access transaction API directly\nconst transactionApi = transactionService.api;\n\n// Use advanced validation and verification\nconst verification = await transactionService.verifyTransactionIntegrity('txn-456');\n\n// Access real-time transaction streaming\nconst stream = transactionService.subscribeToTransactionUpdates();\nstream.on('transaction', (transaction) => {\n  console.log('New transaction:', transaction.id);\n});\n","lang":"typescript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"defined-in-13","__idx":60},"children":["Defined in"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/eXplorins/PERS-sdks/blob/main/packages/pers-sdk/packages/pers-sdk/src/managers/transaction-manager.ts#L537"},"children":["managers/transaction-manager.ts:537"]}]}]},"headings":[{"value":"Class: TransactionManager","id":"class-transactionmanager","depth":1},{"value":"Table of contents","id":"table-of-contents","depth":2},{"value":"Constructors","id":"constructors","depth":3},{"value":"Methods","id":"methods","depth":3},{"value":"Constructors","id":"constructors-1","depth":2},{"value":"constructor","id":"constructor","depth":3},{"value":"Parameters","id":"parameters","depth":4},{"value":"Returns","id":"returns","depth":4},{"value":"Defined in","id":"defined-in","depth":4},{"value":"Methods","id":"methods-1","depth":2},{"value":"getTransactionById","id":"gettransactionbyid","depth":3},{"value":"Parameters","id":"parameters-1","depth":4},{"value":"Returns","id":"returns-1","depth":4},{"value":"Defined in","id":"defined-in-1","depth":4},{"value":"createTransaction","id":"createtransaction","depth":3},{"value":"Parameters","id":"parameters-2","depth":4},{"value":"Returns","id":"returns-2","depth":4},{"value":"Defined in","id":"defined-in-2","depth":4},{"value":"getUserTransactionHistory","id":"getusertransactionhistory","depth":3},{"value":"Parameters","id":"parameters-3","depth":4},{"value":"Returns","id":"returns-3","depth":4},{"value":"Defined in","id":"defined-in-3","depth":4},{"value":"getPaginatedTransactions","id":"getpaginatedtransactions","depth":3},{"value":"Parameters","id":"parameters-4","depth":4},{"value":"Returns","id":"returns-4","depth":4},{"value":"Defined in","id":"defined-in-4","depth":4},{"value":"exportCSV","id":"exportcsv","depth":3},{"value":"Parameters","id":"parameters-5","depth":4},{"value":"Returns","id":"returns-5","depth":4},{"value":"Defined in","id":"defined-in-5","depth":4},{"value":"exportTransactionsCSV","id":"exporttransactionscsv","depth":3},{"value":"Parameters","id":"parameters-6","depth":4},{"value":"Returns","id":"returns-6","depth":4},{"value":"Defined in","id":"defined-in-6","depth":4},{"value":"prepareExistingTransaction","id":"prepareexistingtransaction","depth":3},{"value":"Parameters","id":"parameters-7","depth":4},{"value":"Returns","id":"returns-7","depth":4},{"value":"Defined in","id":"defined-in-7","depth":4},{"value":"prepareClientSignedTransaction","id":"prepareclientsignedtransaction","depth":3},{"value":"Parameters","id":"parameters-8","depth":4},{"value":"Returns","id":"returns-8","depth":4},{"value":"Defined in","id":"defined-in-8","depth":4},{"value":"submitSignedTransaction","id":"submitsignedtransaction","depth":3},{"value":"Parameters","id":"parameters-9","depth":4},{"value":"Returns","id":"returns-9","depth":4},{"value":"Defined in","id":"defined-in-9","depth":4},{"value":"queryTransactionsBySender","id":"querytransactionsbysender","depth":3},{"value":"Parameters","id":"parameters-10","depth":4},{"value":"Returns","id":"returns-10","depth":4},{"value":"Defined in","id":"defined-in-10","depth":4},{"value":"queryTransactionsByRecipient","id":"querytransactionsbyrecipient","depth":3},{"value":"Parameters","id":"parameters-11","depth":4},{"value":"Returns","id":"returns-11","depth":4},{"value":"Defined in","id":"defined-in-11","depth":4},{"value":"getTransactionAnalytics","id":"gettransactionanalytics","depth":3},{"value":"Parameters","id":"parameters-12","depth":4},{"value":"Returns","id":"returns-12","depth":4},{"value":"Defined in","id":"defined-in-12","depth":4},{"value":"getTransactionService","id":"gettransactionservice","depth":3},{"value":"Returns","id":"returns-13","depth":4},{"value":"Defined in","id":"defined-in-13","depth":4}],"frontmatter":{"seo":{"title":"Class: TransactionManager"}},"lastModified":"2026-08-21T18:40:55.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdk-reference/classes/transactionmanager","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}