Skip to main content

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

Single-Wallet Funding: Only ONE wallet funds each transaction. The platform checks wallets in priority order and uses the first one with sufficient balance to cover the ENTIRE transaction cost. If a wallet has insufficient balance, it’s skipped entirely - partial funding from multiple wallets is NOT supported.
Update All Wallets: You must provide priority values for ALL registered external wallets. Partial updates may result in unexpected behavior.
Unique Priorities: Each wallet must have a unique priority value. Duplicate priorities will cause validation errors.
Transaction Failure: If ALL priority wallets have insufficient balance to cover the full transaction cost, the transaction will fail. Ensure at least one wallet always has adequate funds.

Priority Strategy Examples

Balanced Approach

Edge Cases

Single Wallet

With only one wallet, priority is always 1:

Validation Before Update