# Query transactions by sender (Admin) Get transactions by sender for any account. Replaces POST /transaction/admin/sender Endpoint: POST /transactions/query-sender Version: 2.0.2 Security: tenantAdminJWT ## Request fields (application/json): - `accountId` (string) Account ID (businessId or userId). System will auto-detect account type. Example: "user123" - `accountType` (string, required) Account type Enum: "user", "business", "tenant", "system", "external" - `accountAddress` (string) Direct account address (fallback if account ID not found) Example: "0x742d35Cc5dB3dC0F0e8f0b0d2fA0c3fA2ed5D0f8" ## Response 200 fields (application/json): - `amount` (number, required) Transaction amount - `id` (string, required) Transaction id - `tokenAddress` (string, required) Transaction token address - `contractTokenId` (object,null, required) Transaction token contract id, this is the blockchain contract id of the token - `tokenType` (string, required) Transaction token type - `senderAddress` (string, required) Sender address - `recipientAddress` (object, required) Recipient address - `transactionHash` (object, required) Transaction hash - `type` (string, required) Transaction type Enum: "MINT", "TRANSFER", "BURN" - `triggerProcessType` (string, required) Trigger process type Enum: "PURCHASE", "SPEND", "TRANSFER", "EARN", "CAMPAIGN_USER_CLAIM", "CAMPAIGN_SYSTEM_CLAIM", "CAMPAIGN_BUSINESS_CLAIM", "REDEMPTION_SPEND", "REDEMPTION_RECEIVE", "MIGRATION", "ADMIN_TRIGGERED" - `triggerProcessId` (object, required) Trigger process id, this is the id of the entity that triggered the transaction if applicable (e.g. CampaignUserClaim id) - `status` (string, required) Transaction status Enum: "created", "processing", "pending_signature", "broadcasted", "succeeded", "failed" - `createdAt` (object, required) create date - `updatedAt` (object, required) update date - `tenantId` (string, required) Tenant ID for multi-tenant isolation - `chainId` (number, required) Blockchain chain ID - `senderId` (object,null, required) Sender entity ID (polymorphic reference) - `senderOwnerType` (string,null, required) Sender entity type (user, business, system etc.) Enum: "user", "business", "tenant", "system", "external" - `recipientId` (object,null, required) Recipient entity ID (polymorphic reference) - `recipientOwnerType` (string,null, required) Recipient entity type (user, Business, system, etc.) Enum: "user", "business", "tenant", "system", "external"