Overview
Manage the priority order of registered external wallets. Priority determines the order in which wallets are evaluated for funding transactions. When a transaction is initiated, the platform checks wallets in priority order (1, 2, 3…). The first wallet with sufficient balance and allowance to cover the entire transaction cost is used. Only one wallet funds each transaction - multi-funding is not supported. Lower priority numbers are checked first (priority 1 before priority 2). Use Cases:- Control wallet selection order for transactions
- Optimize for network fees across chains
- Ensure transactions succeed with fallback wallets
- Route withdrawals to specific wallets
GET - Retrieve External Wallet Priority
Get the current priority order of all registered external wallets. Wallets are evaluated in this order for transactions, with the first wallet having sufficient balance to cover the entire transaction cost being used. Only one wallet is used per transaction.Authentication
string
required
Your public API client key
string
required
Bearer token for authentication
Response
number
Wallet priority identifier
string
Blockchain wallet address
string
Currency code (e.g., “usdc”, “usdt”)
string
Blockchain network (e.g., “linea”, “ethereum”, “solana”)
number
Current priority value (lower = higher priority)
PUT - Update External Wallet Priority
Update the priority order of external wallets for transaction funding. When a transaction is initiated, wallets are checked sequentially in this order until one with sufficient balance is found to fund the entire transaction. Only one wallet funds each transaction - partial funding from multiple wallets is not supported.Request Body
array
required
Array of wallet priority updates
Response
boolean
Whether priority update was successful
Use Cases
Prioritize Low-Fee Networks
Move Specific Wallet to Top
Swap Two Wallet Priorities
Currency-Based Priority
Important Notes
Update All Wallets: You must provide priority values for ALL registered external wallets. Partial updates may result in unexpected behavior.
Priority Strategy Examples
Balanced Approach
Edge Cases
Single Wallet
With only one wallet, priority is always 1:Validation Before Update
Related Endpoints
- Get External Wallets - View all registered external wallets
- Withdraw from Credit Wallet - Withdrawal to priority 1 external wallet (if sufficient balance)
- Withdraw from Reward Wallet - Withdrawal to priority 1 external wallet (if sufficient balance)