During development, you can use the developer endpoints without
an API key. For production use, you’ll need an API key to avoid
rate limits.
1
Set up
Imports, env config, and the constants used across every step.
Imports, env, and constants
Imports, env, and constants
2
Choose your priority fee mode
Use max priority fee for adaptive speed
(server selects a fee up to your cap), or exact priority fee
when you need predictable costs.
3
Apply priority fees to your request
- Imperative (Order)
- Declarative (Intent)
Set
prioritizationFeeLamports on the /order request as either a lamport
value or one of auto, medium, high, veryHigh, disabled.Max Priority Fee (auto/level)
Max Priority Fee (auto/level)
Exact Priority Fee (lamports)
Exact Priority Fee (lamports)
Related Resources
Priority Fees
How priority fees and the fee budget work, and when to use each mode.
Send Orders
Send a spot order end-to-end.
Add Platform Fees
Monetize trades with builder fees.
Authenticate Requests
Authenticate requests for production rate limits.