# conduit ## Docs - [Get Account](https://docs.flux.fun/api-reference/account/get-account.md): Retrieve account information for a specific wallet address, including smart wallet address and account metadata. - [Get Message](https://docs.flux.fun/api-reference/authentication/get-message.md): Request a challenge message that you'll sign with your wallet to authenticate. The challenge includes an HMAC that expires after 1 minute, so you should sign and submit it promptly. - [Submit Signature](https://docs.flux.fun/api-reference/authentication/submit-signature.md): Submit the signed challenge message to receive your JWT access token. The server will verify that: the signature is valid and recovers to your wallet address, the challenge hasn't expired (1 minute window), and the HMAC matches the original challenge. - [API Reference](https://docs.flux.fun/api-reference/introduction.md): Swaps API endpoint documentation - [Create Order](https://docs.flux.fun/api-reference/orders/create-order.md): Create a new market order for trading between prediction market tokens and on-chain tokens. The order will be processed asynchronously through multiple stages: balance validation, placement on the prediction market, fill detection, and on-chain execution. - [Get Onchain Order by Client ID](https://docs.flux.fun/api-reference/orders/get-onchain-order-by-client-id.md): Retrieve order status using the client-provided order ID. This is useful for tracking orders submitted directly on-chain using the calldata endpoint. - [Get Order Calldata](https://docs.flux.fun/api-reference/orders/get-order-calldata.md): Generate batched calldata for executing an order directly on-chain. This endpoint is designed for applications that need to submit transactions directly from the client side, rather than having the backend execute the order. The returned calldata can be used to submit a transaction from the user's s… - [Get Order Status](https://docs.flux.fun/api-reference/orders/get-order-status.md): Retrieve the current status and details of an order. This endpoint returns comprehensive information about the order's progress through the execution pipeline, including timestamps for each stage and any metadata from the prediction market or on-chain transactions. - [Get Orders](https://docs.flux.fun/api-reference/orders/get-orders.md): Retrieve all orders associated with your API key. Returns a list of all orders with their current status and execution details. Optionally filter by wallet address. - [Withdraw](https://docs.flux.fun/api-reference/orders/withdraw.md): Withdraw funds from your smart account to a destination address. The withdrawal will be processed asynchronously and you can track its status using the returned intent ID. - [Get Event Image](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-event-image.md): Retrieve the image URL for a specific event by event ticker. - [Get Market](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-market.md): Retrieve details for a specific prediction market by its ticker symbol, including current prices, volume, and market rules. - [Get Markets](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-markets.md): Retrieve a list of prediction markets with their current prices, liquidity, and market data. Supports pagination and filtering by status and event ticker. - [Get Portfolio](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-portfolio.md): Retrieve all prediction market tokens held by a wallet address, including current balances and market values. - [Get Quote](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-quote.md): Get a price quote for buying or selling a specific number of contracts in a prediction market. Returns the total cost including fees. - [Get Token by Market](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-token-by-market.md): Look up the ERC-1155 token ID for a specific prediction market and outcome side. Returns the token metadata including its on-chain ID. - [Get Token Metadata](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/get-token-metadata.md): Retrieve metadata for a specific ERC-1155 token, including its name, description, image, and associated market information. - [Search prediction markets by query](https://docs.flux.fun/api-reference/prediction-markets-&-portfolio/search-prediction-markets-by-query.md) - [Deploying Smart Wallets](https://docs.flux.fun/concepts/deploying-smart-wallets.md): Smart wallet deployment process - [ERC-1155 Tokens and Prediction Markets](https://docs.flux.fun/concepts/erc-1155.md): How ERC-1155 tokens represent prediction markets - [Getting Order Status](https://docs.flux.fun/concepts/getting-order-status.md): Order status tracking - [Overview](https://docs.flux.fun/concepts/overview.md): Overview of the Swaps API - [Placing Orders](https://docs.flux.fun/concepts/placing-orders.md): Order creation and execution flow ## OpenAPI Specs - [openapi](https://docs.flux.fun/openapi.json)