Transactions
Create Transaction
Submit a transaction for processing with optional privacy protection
POST
Submit transactions for send, swap, or payroll operations. Supports both wallet mode (direct signing) and private mode (privacy-enhanced routing).
Request Body
Transaction type:
send, swap, or payrollQuote ID from the
/quote endpointExecution mode:
wallet or privateSender wallet address (base58 encoded)
Array of recipient objects
Base64 encoded signed transaction (required for wallet mode)
Response
Unique transaction identifier
Current status:
pending, processing, completed, or failedExecution mode:
wallet or privateTransaction signature (wallet mode only)
Deposit address for private mode transactions
Transaction creation timestamp (ISO 8601)
Transaction Types
Send
Direct token transfer to a single recipient:Swap
Token exchange (requires quote with different input/output assets):Payroll
Batch payments to multiple recipients:Execution Modes
Wallet Mode
- Requires
signedTransactionin request body - Transaction is broadcast immediately
- Returns transaction signature
- Lower fees (network only)
Private Mode
- No signed transaction required
- Returns ephemeral deposit address
- User sends funds to ephemeral address
- Higher fees (network + routing)
Status Flow
| Status | Description |
|---|---|
pending | Transaction submitted, awaiting processing |
processing | Private mode: routing in progress |
completed | Transaction confirmed on-chain |
failed | Transaction failed or reverted |
Error Responses
Error code identifier
Human-readable error message
Additional error context
Common Errors
| Code | Description |
|---|---|
INVALID_QUOTE | Quote expired or not found |
INVALID_SIGNATURE | Malformed signed transaction |
INSUFFICIENT_BALANCE | Not enough tokens for transaction |
INVALID_RECIPIENT | Malformed recipient address |
ROUTING_UNAVAILABLE | Private mode temporarily unavailable |