⚙️Swagger
API Playground
You can also find AKKA API swagger directly here :
Using AKKA APIs, you can find the best route to exchange assets and make the exchange.
Find the best quote to exchange tokens via AKKA router. Returns expected output amount and optional token/protocol information.
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Source token contract address (use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee for native token)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeDestination token contract address
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbAmount to swap in wei (smallest unit)
1000000000000000000Include detailed token information in response
falseExample: falseNetwork price per gas in wei
Gas limit for the transaction
Include approximated gas in response
falseExample: falseQuote retrieved successfully
Bad request - invalid parameters, token not found, or no route available
Too many requests - rate limit exceeded
Internal server error
Generate complete transaction data for executing a token swap via AKKA router. Includes balance and allowance validation.
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Source token contract address (use 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee for native token)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeDestination token contract address
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbAmount to swap in wei (smallest unit)
1000000000000000000The address that calls the AKKA contract
0xD3C0F471488523b378F2D9C21939c97300c510F5An EOA address that initiates the transaction
0xD3C0F471488523b378F2D9C21939c97300c510F5Maximum acceptable slippage percentage (min: 0; max: 50)
1Network price per gas in wei
Gas limit for the transaction
Return srcToken and dstToken info in response
falseExample: falseReturn approximated gas in response
falseExample: falseSwap transaction data generated successfully
Bad request - insufficient balance/allowance, invalid parameters, or no route found
Too many requests - rate limit exceeded
Internal server error
Returns the AKKA smart contract address that should be approved as a spender for token swaps on the specified chain.
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Spender address retrieved successfully
Bad request - invalid chain ID
Too many requests - rate limit exceeded
Internal server error
Generate transaction data to approve the AKKA Router to spend tokens. Returns the encoded transaction data that needs to be signed and sent by the user.
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Token address you want to approve for swapping
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbThe number of tokens that the AKKA Router is allowed to swap. If not specified, it will be allowed to spend an infinite amount of tokens.
100000000000Approve transaction data generated successfully
Bad request - invalid parameters
Too many requests - rate limit exceeded
Internal server error
Get the number of tokens that the AKKA Router is allowed to spend on behalf of a wallet address.
Blockchain chain ID (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Token address to check allowance for
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbWallet address to check the allowance for
0xD3C0F471488523b378F2D9C21939c97300c510F5Allowance retrieved successfully
Bad request - invalid parameters
Too many requests - rate limit exceeded
Internal server error
Retrieve a paginated list of tokens available for swap in the AKKA Finance ecosystem. Supports filtering by limit and page parameters for efficient data retrieval. Returns comprehensive token information including metadata, pricing, and verification status.
Blockchain network identifier (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Page number for pagination (0-based)
Number of tokens to return per page
Successfully retrieved paginated token list with comprehensive metadata including symbols, addresses, decimals, logos, and verification status
Invalid chain ID: must be a valid supported blockchain network identifier
Internal server error while fetching tokens
Retrieve detailed information about a specific token using its smart contract address. Returns comprehensive token data including symbol, name, decimals, logo URI, verification status, and trading metadata.
Blockchain network identifier (999=HyperEVM, 1116=Core, 50=XDC, 223=B2, 200901=Bitlayer, 4200=Merlin, 60808=BOB)
999Smart contract address of the token (checksummed EVM address format)
0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebbSuccessfully retrieved detailed token information including metadata and trading data
Invalid parameters: chain ID must be supported and token address must be a valid checksummed address
Token not found
Internal server error occurred while fetching token information from database or external sources
Last updated