The Transactions API handles all outbound fund movements. You can estimate fees before sending, initiate transfers, and track status through to on-chain confirmation.Documentation Index
Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Gas Price Estimate
POST/transactions/get-gas-price
Returns an estimated network fee for a transaction before committing to it.
The blockchain to estimate fees for (e.g.
"ethereum", "solana", "polygon").Fee priority:
"low", "medium", or "high". Defaults to "low".Estimated transaction value in USD. Used to calculate proportional fees on some chains.
Asset ObjectId for context-aware fee estimation.
Token symbol for context-aware fee estimation (e.g.
"USDC").cURL
Response
Send Funds
POST/transactions/send-funds
Initiates an outbound crypto transfer. An idempotency key is automatically generated to prevent duplicate transactions.
The MongoDB ObjectId of the account that owns the source asset.
The MongoDB ObjectId of the asset (wallet) to send from.
The recipient’s blockchain address.
Amount to send, in the token’s native units (e.g.
100 for 100 USDC).Token ticker / short name (e.g.
"ETH", "USDC", "SOL"). Must match the asset record.Blockchain network (e.g.
"ethereum", "solana", "polygon").Transaction category:
"personal", "business", "payment", "auto-forward", "other", etc.Gas priority:
"low", "medium", "high". Defaults to "medium".Optional human-readable note.
Pay gas from the wallet’s own native balance. Only for native token assets. Defaults to
false.Response
Idempotency
Supply anIdempotency-Key header to prevent duplicate transactions on retry. If the same key is submitted again by the same user, the original response is returned instead of creating a new transaction. Without a key, no deduplication is applied. Keys expire after 24 hours.
List Transactions
POST/transactions/get-transactions
Returns up to 100 transactions for the authenticated user, sorted by most recent. Use the filter parameters to narrow results.
Search by
transaction_id or transaction_hash (case-insensitive substring match).Filter by status:
pending, completed, failed.Filter by asset ObjectId or asset name substring.
Filter by transaction
type field (e.g. "USDC", "ETH").Filter by blockchain (e.g.
"ethereum", "solana").cURL
Response
Transaction Statuses
| Status | Description |
|---|---|
pending | Transaction created, waiting to be broadcast to the network |
completed | Confirmed on-chain with sufficient block confirmations |
failed | Transaction failed (insufficient funds, invalid address, network error) |
blockchain_status field tracks on-chain state separately:
| blockchain_status | Description |
|---|---|
pending | Not yet broadcast |
confirmed | Included in a block with enough confirmations |
Priority Levels
| Priority | Speed | Fee |
|---|---|---|
slow | Slower confirmation, may take several minutes | Lowest |
medium | Standard confirmation time | Standard |
fast | Prioritized for faster inclusion | Highest |
Gas Funding for Token Withdrawals
When withdrawing token assets (USDC, USDT, etc.) the sending wallet needs native currency for gas. Yativo handles this automatically:- User Gas Station configured — gas is funded from the user’s own gas station wallet
- No user Gas Station — the platform Gas Station is used as a fallback
use_self_funding: true— only valid for native token assets (ETH, SOL, etc.); gas is deducted from the wallet’s own balance without a markup
gas_funding_markup in the response.
Ensure
amount is larger than platform_fee + gas_funding_markup. The API returns a 400 if the amount cannot cover total fees.
