Build an unsigned swap transaction
Currently returns 503 TRADING_NOT_CONFIGURED. The execution bridge is not implemented.
Execution-bridge contract. Currently returns 503 TRADING_NOT_CONFIGURED; a quote alone does not produce a transaction.
IntegrationKeyx-api-key<token>Integration credential issued to your team. All team keys share the same request quota.
inputMint*stringSPL mint to sell. Paired with outputMint for automatic pool selection.
^[1-9A-HJ-NP-Za-km-z]{32,44}$solana-addressoutputMint*stringSPL mint to receive; must differ from inputMint.
^[1-9A-HJ-NP-Za-km-z]{32,44}$solana-addressamount*stringPositive u64 token atoms as a decimal string. Input atoms for ExactIn; output atoms for ExactOut. For 6 decimals, 1000000 represents one token.
^[1-9][0-9]{0,19}$length <= 20swapMode?stringExactIn fixes input and maximizes output; ExactOut fixes output and minimizes input.
"ExactIn""ExactIn""ExactOut"slippageBps?integerSlippage tolerance in basis points: 50 = 0.5%. Sets the returned threshold; does not change which pool has the best nominal quote.
0 <= value <= 1000050taker?stringOptional wallet context for future contextual adapters. Providing an address is not proof of authorization.
^[1-9A-HJ-NP-Za-km-z]{32,44}$solana-addressSuccessful request
application/json- response
success*truetruedata*curl -X GET '{GRAPL_API_ORIGIN}/v1/swap/order?inputMint=string&outputMint=string&amount=string' \ -H 'x-api-key: {GRAPL_API_KEY}'The interactive playground is unavailable because no service origin is configured. Replace {GRAPL_API_ORIGIN} and {GRAPL_API_KEY} with your deployment values, and provide valid values for the schema-generated request inputs before running a sample. Responses without captured examples show Empty; the response schema remains available.