Prerequisites
- The shared
basic-test-keyfor evaluation, or a dedicated partner key for production (request one) - A wallet with HYPE and gas on HyperEVM (
chainId=999) vieminstalled in your server-side project
1
Request an executable quote
Supply the address that pays for and sends the transaction as The response includes
payer. recipient receives the output and can be a different address.buyAmount, minAmountOut, issues, validation, allowanceTarget, quote expiry, simulation status, and tx.2
Resolve validation issues
A Do not broadcast while any validation check is
200 response may contain actionable issues. Native input requires no approval. For ERC-20 input, approve allowanceTarget when the response contains INSUFFICIENT_ALLOWANCE.UNKNOWN; verify it through your own RPC first.3
Check freshness and submit
Execute immediately. Refresh if the current time is at or past Never edit
expiresAt, or if simulation is not SUCCESS and your own simulation fails.tx.to, tx.data, or tx.value, and never reuse executable calldata.4
Report the outcome
Outcome reporting is best-effort telemetry and helps AKKA identify route health problems.
Next steps
Complete TypeScript Example
Copy a complete server-side viem implementation.
Partner Quote Reference
Explore the complete request and response contract.
