openapi: 3.2.0 info: contact: name: Blockdaemon email: info@blockdaemon.com description: The Blockdaemon DeFi API provides a single interface to a multitude of DeFi projects and blockchains title: Blockdaemon DeFi Dex API version: 1.0.0 x-logo: altText: Blockdaemon logo backgroundColor: '#fafafa' url: https://storage.googleapis.com/blockdaemon-app-static-images/marketing/PNG/dark-logo.png servers: - url: https://svc.blockdaemon.com security: - ApiKeyAuth: [] tags: - name: dex description: API endpoints for operations related to decentralized exchange paths: /defi/v1/dex/addliquidity: post: tags: - dex summary: Add Liquidity description: 'Allows users to deposit token pairs into decentralized exchange pools with adjustable slippage protection and gas settings. The response includes essential transaction details (chain ID, addresses, transaction data, and a reference ID) for verifying and tracking the liquidity deposit. > 💡 **Compute Unit Value:** `115` (Fixed)' operationId: dexAddliquidity requestBody: required: true description: The request body for a /defi/v1/dex/addliquidity content: application/json: schema: $ref: '#/components/schemas/_dex_addliquidity_Request' example: dexId: '1000' tokenA: '0x514910771AF9Ca656af840dff83E8264EcF986CA' tokenB: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountADesired: '1000000000000000000' amountBDesired: '1000000000000000000' amountAMin: '0' amountBMin: '0' deadline: '1707313948' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false poolFees: '3000' tokenId: '3238' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOut: '1000000000000000000' fromInternalBalance: false amountA: '1000000000000000000' amountB: '1000000000000000000' strategy: stable amountOutMin: '0' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '1400' from: '0xa182b65f4bf10be7ef870496893c170af3079a2540c63b470445417fcfb21c5b' to: '0x61d2c22a6cb7831bee0f48363b0eec92369357aece0d1142062f7d5d85c7bef8' data: oYK2X0vxC+fvhwSWiTwXCvMHmiVAxjtHBEVBf8+yHFsOAAAAAAAAAAIBY980/MvwA84hnT8dnnDRQLYGIsud1HWZwl+y95e6bgdzY3JpcHRzDWFkZF9saXF1aWRpdHkDB1OjCm5ZNsCkxRQNrtNN450Xyn/K4I+UfALpec75ijcZBGNvaW4DTFNEAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQphcHRvc19jb2luCUFwdG9zQ29pbgAHAWPfNPzL8APOIZ0/HZ5w0UC2BiLLndR1mcJfsveXum4GY3VydmVzBlN0YWJsZQAECBQUCAAAAAAACAoKBAAAAAAACAQyCwAAAAAACAKZBQAAAAAAECcAAAAAAABkAAAAAAAAAMlkaWcAAAAAAQ== referenceId: 4125a4481a984782b9077efd85275e83 x-bd-cu: '115' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/cancelorder: post: tags: - dex summary: Cancel Order description: 'Generates an unsigned limit-order cancellation message, which must be signed using the Blockdaemon SDK for final on-chain execution. This endpoint provides EIP-712 domain data, type definitions, and a structured message (chain ID, maker address, and order IDs) to securely cancel pending orders on the decentralized exchange. > 💡 **Compute Unit Value:** `15` (Fixed)' operationId: dexCancelorder requestBody: required: true description: The request body for a /defi/v1/dex/cancelorder content: application/json: schema: $ref: '#/components/schemas/_dex_cancelorder_Request' example: dexId: '2200' orderId: - '95167' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' enableFee: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: unsignedCancelOrder: types: CancelOrder: - name: chainId type: string - name: maker type: address - name: orderIds type: uint64[] EIP712Domain: - name: name type: string - name: version type: string - name: chainId type: uint256 domain: chainId: '137' name: Kyber Limit Order Protocol version: '1' primaryType: CancelOrder message: chainId: '137' maker: '0xdae2f6eddda6fb4fb60cc02633de27e2b431b402' orderIds: - 95167 x-bd-cu: '15' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/createorder: post: tags: - dex summary: Create Order description: 'Generates an unsigned limit order message for decentralized trading, specifying parameters for maker/taker assets, amounts, fees, and execution conditions. The endpoint returns EIP-712 domain data, type definitions, and a structured payload (including salt, addresses, and asset data), which must be signed using the Blockdaemon SDK to finalize the order on-chain. > 💡 **Compute Unit Value:** `15` (Fixed)' operationId: dexCreateorder requestBody: required: true description: The request body for a /defi/v1/dex/createorder content: application/json: schema: $ref: '#/components/schemas/_dex_createorder_Request' example: dexId: '1900' amountOutMin: '0' decayStartTime: '1741869257' decayEndTime: '1741969257' deadline: '1707313948' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' slippage: '10' enableFee: false makerAsset: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' amountOut: '1000000000000000000' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: unsignedCreateOrder: types: DSOrder: - name: orderHash type: bytes32 - name: opExpireTime type: uint32 EIP712Domain: - name: name type: string - name: version type: string - name: chainId type: uint256 - name: verifyingContract type: address Order: - name: salt type: uint256 - name: makerAsset type: address - name: takerAsset type: address - name: maker type: address - name: receiver type: address - name: allowedSender type: address - name: makingAmount type: uint256 - name: takingAmount type: uint256 - name: feeConfig type: uint256 - name: makerAssetData type: bytes - name: takerAssetData type: bytes - name: getMakerAmount type: bytes - name: getTakerAmount type: bytes - name: predicate type: bytes - name: interaction type: bytes domain: chainId: '137' name: Kyber DSLO Protocol verifyingContract: '0xcab2FA2eeab7065B45CBcF6E3936dDE2506b4f6C' version: '1' primaryType: Order message: allowedSender: '0x0000000000000000000000000000000000000000' feeConfig: '146604093245187877466343990972209337885448885627689' getMakerAmount: '0xf4a215c30000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000007a120' getTakerAmount: '0x296637bf0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000007a120' interaction: 0x maker: '0xdae2f6eddda6fb4fb60cc02633de27e2b431b402' makerAsset: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270' makerAssetData: 0x makingAmount: '1000000000000000000' predicate: '0x961d5b1e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000cab2fa2eeab7065b45cbcf6e3936dde2506b4f6c000000000000000000000000cab2fa2eeab7065b45cbcf6e3936dde2506b4f6c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000044cf6fc6e3000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002463592c2b000000000000000000000000000000000000000000000000000000006c8b6e2a00000000000000000000000000000000000000000000000000000000' receiver: '0xdae2f6eddda6fb4fb60cc02633de27e2b431b402' salt: '106607874126107032926667449974930188158' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' takerAssetData: 0x takingAmount: '500000' referenceId: efbbc600a72441fd9390ffc15049a787 x-bd-cu: '15' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/fillorder: post: tags: - dex summary: Fill Order description: 'Facilitates the execution (“filling”) of an existing limit order on a decentralized exchange by specifying the order ID, taker address, and offered token amount. The endpoint returns transaction data (chain ID, addresses, gas details, etc.) and a reference ID, enabling secure settlement of trades while providing a clear audit trail. > 💡 **Compute Unit Value:** `25` (Fixed)' operationId: dexFillorder requestBody: required: true description: The request body for a /defi/v1/dex/fillorder content: application/json: schema: $ref: '#/components/schemas/_dex_fillorder_Request' example: dexId: '2200' orderId: - '95167' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountIn: '1000000000000000000' gas: '100000' gasPriority: low enableFee: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '137' from: '0x42a0eef97019bf6f15796fc9a015f681c581f77a' to: '0xcab2FA2eeab7065B45CBcF6E3936dDE2506b4f6C' value: '0' data: '0xd2f1d95600000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000669cdcb000000000000000000000000042a0eef97019bf6f15796fc9a015f681c581f77a000000000000000000000000000000000000000000000000000000000000074000000000000000000000000000000000fbdccc06511746daa8d2280e6d33a21f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000c2132d05d31c914a87c6611c10748aeb04b58e8f000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b40200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000644f82e73edb06d29ff62c91ec8f5ff06571bdeb2900000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044f4a215c30000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000007a120000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044296637bf0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000007a1200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e4961d5b1e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000cab2fa2eeab7065b45cbcf6e3936dde2506b4f6c000000000000000000000000cab2fa2eeab7065b45cbcf6e3936dde2506b4f6c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000044cf6fc6e3000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002463592c2b000000000000000000000000000000000000000000000000000000006c8b6e2a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000419aa918d0001e995fc1b2f4302fcadd64b702ca9802962ac437298b4a6c159ea7260d809a76e5718bb4bc84bcf80baed6299bfada2e839a70c7d6ac18090af2ea1c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041d7c56c4419dc47b359f8a3e006c212ad313e2b4c5a902c24225743514f0e85f44a52beaca4c0329a78047c231cced261ab834efab6cb90b84244ef7105e0d0771c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' gasPrice: '30000000029' referenceId: 8a095c21d72b411ba742ab546042f716 x-bd-cu: '25' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getactiveamount: get: tags: - dex summary: Get Active Amount description: 'Retrieves the active making amount of a specific token held by a maker. This endpoint returns the maker’s address, the token’s contract address, and the current active amount available for order execution. This active amount reflects the portion of the maker’s assets that are deployed in liquidity provision or trading on the decentralized exchange, providing crucial insight into market depth and the maker’s trading activity. > 💡 **Compute Unit Value:** `140` (Fixed)' operationId: dexGetactiveamount parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '2200' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: address in: query required: true schema: type: string description: The public address of the maker (user) whose active amount is being queried. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: The public address of the maker (user) whose active amount is being queried. - name: tokenAddress in: query required: true schema: type: string description: The address of the token for which the active amount is to be retrieved. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: The address of the token for which the active amount is to be retrieved. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: address: '0xB409cB0b5DB9f148d0bc491E140D9E0FDd789C11' tokenAddress: '0x853d955acef822db058eb8505911ed77f175b99e' activeMakingAmount: '400000000000000' x-bd-cu: '140' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/gethistoricaltimeseries: get: tags: - dex summary: Get Historical Time Series description: 'Retrieves a chronological series of historical price data (transaction hash, timestamp, trade price) for a specified DEX pool. This time series data supports thorough price analysis, backtesting, and liquidity monitoring, enabling more informed DeFi strategies. > 💡 **Compute Unit Value:** `100` (Fixed)' operationId: dexGethistoricaltimeseries parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '1100' - '1200' - '1201' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: endBlock in: query required: false schema: type: string description: Last block of the range. example: '100010' description: Last block of the range. - name: startBlock in: query required: false schema: type: string description: Starting block of the range. example: '100000' description: Starting block of the range. - name: poolAddress in: query required: true schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: pair: WBTC/WETH priceData: - hash: '0xab976730855f2319b3713478799f7aad6027419eba6f3788256b354ed0432381' timestamp: 1703757971 price: '17.99472597437422' - hash: '0x37d7a68ba4e4c9cd2e254108f40a7823e8eb9821ff5d6d3745801c6513732b78' timestamp: 1703755007 price: '18.010292734804654' - hash: '0xb5fcf54cba69bff0185ceda061d7308d56ec471a4113f4f4e1f2ee04e28523e1' timestamp: 1703753111 price: '18.025965450635685' - hash: '0x06b4e398e852f6cbd4e08450703f757d75c0d685d1038380c79cd04fe27bb836' timestamp: 1703752775 price: '18.02635771905701' - hash: '0x5421f0b31d5e7538307b2971eeb98df755ced06d650174050d8fd29429a9eb80' timestamp: 1703747675 price: '18.132953404785805' - hash: '0xf05259997b701905248694f0d4cc3e45194819e7bc9bb16d706e25618dfcea90' timestamp: 1703747579 price: '18.128817077523507' - hash: '0xc067a858610595cf81a8c076f98931e998c324c1be6cc1c4df43691d93e067e5' timestamp: 1703741147 price: '18.11268829405827' - hash: '0xee1a68eef523811d1e865b2dfed610666c45982a6b0c30231488f41b033353b2' timestamp: 1703740199 price: '18.076013983785323' x-bd-cu: '100' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/gethistoricaltransactions: get: tags: - dex summary: Get Historical Transactions description: 'Retrieves a chronological list of swap transactions for a specified DEX pool within a defined block range, returning transaction hashes, addresses, and gas metrics. Block-level details (e.g., block number, timestamp) and transfer categorization (e.g., send, receive, contract interaction) help facilitate in-depth auditing and performance analysis, with a pagination token for navigating extended data. > 💡 **Compute Unit Value:** `205` (Fixed)' operationId: dexGethistoricaltransactions parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '1100' - '1200' - '1201' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: endBlock in: query required: false schema: type: string description: Last block of the range. example: '100010' description: Last block of the range. - name: startBlock in: query required: false schema: type: string description: Starting block of the range. example: '100000' description: Starting block of the range. - name: poolAddress in: query required: true schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: pair: WBTC/WETH transactions: - transactionHash: '0xf342f2a9172d0ff6cb2780e6bec703c695f80af9c83896ab4d3fa8f3c6b24846' transactionDetails: blockHash: '0x439cac3b235fb723f9b19bf8677797d7d7730c17bdad154c5522bece9228b9d6' blockNumber: '18367972' from: '0x4afa1538c508eab5f8d1938d7e801d670c7a7426' gas: '237646' gasPrice: '5402052229' maxFeePerGas: '6986758062' maxPriorityFeePerGas: '100000000' hash: '0xf342f2a9172d0ff6cb2780e6bec703c695f80af9c83896ab4d3fa8f3c6b24846' input: '0xf305d7190000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000af0c000000000000000000000000000000000000000000000000000000000000ae2b000000000000000000000000000000000000000000000000001c31dc6fed3f820000000000000000000000004afa1538c508eab5f8d1938d7e801d670c7a742600000000000000000000000000000000000000000000000000000000652e209f' nonce: '30' to: '0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f' transactionIndex: '24' value: '7976002199280179' type: '2' accessList: [] chainId: '1' v: '0x1' r: '0x62ffb17102444747e17a643b2095ac2ed6a54d4e143f864ef913113dff9182d4' s: '0x437b394117a9bd7785207c4ee919b7c12b7835a6ed2360e59c32910b845541f0' yParity: '0x1' - transactionHash: '0xc16778ad434c386310484b7b22fa173a550ff1c775016a0844d77fede3c55568' transactionDetails: blockHash: '0x126cb4d2807e3c6eec7c7a46ea034398310a86579082cbac3a81dd507fc4202f' blockNumber: '18367796' from: '0xb740b2f676f627d4077e9782cdb8dc30dbba6bd3' gas: '244750' gasPrice: '5649439124' maxFeePerGas: '6933668525' maxPriorityFeePerGas: '100000000' hash: '0xc16778ad434c386310484b7b22fa173a550ff1c775016a0844d77fede3c55568' input: '0xf305d7190000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000999f00000000000000000000000000000000000000000000000000000000000098da0000000000000000000000000000000000000000000000000018bea16edc5000000000000000000000000000b740b2f676f627d4077e9782cdb8dc30dbba6bd300000000000000000000000000000000000000000000000000000000652e1853' nonce: '98' to: '0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f' transactionIndex: '63' value: '7000000000000000' type: '2' accessList: [] chainId: '1' v: '0x0' r: '0x17ce9fb061e9742d64a9a92c8ec079cceda278e604d31ed6ff93aba7b6c5b5de' s: '0x1b917196a5ccf3adf330449ff7b13b0a2012c930d8bc235cf4b3f6f8317fabd3' yParity: '0x0' - transactionHash: '0xce505972535cc4f0515bda119b6ab6046bd379adf91244ab9e3a59e7a93dcf79' transactionDetails: blockHash: '0x07bd0530ec08967108dcb66f90e9d04664ce2c5dced79bc25cf4aa8592c3533f' blockNumber: '18410586' from: '0x77fbb383f424f98e744cde82a3b41f23dc1fd82e' gas: '244736' gasPrice: '9730712401' maxFeePerGas: '13360787154' maxPriorityFeePerGas: '100000000' hash: '0xce505972535cc4f0515bda119b6ab6046bd379adf91244ab9e3a59e7a93dcf79' input: '0xf305d7190000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000227000000000000000000000000000000000000000000000000000000000000022400000000000000000000000000000000000000000000000000005a7ea627b80000000000000000000000000077fbb383f424f98e744cde82a3b41f23dc1fd82e000000000000000000000000000000000000000000000000000000006535fca3' nonce: '255' to: '0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f' transactionIndex: '60' value: '100000000000000' type: '2' accessList: [] chainId: '1' v: '0x0' r: '0xf9433f60fd0fbb68b860b4ae0c284a01c93e4ccbba1630fb21b8c5d8d14cf5' s: '0x5affb309911b6b233464dcda5df91d32362df4683be260feca213ac2cebe028e' yParity: '0x0' - transactionHash: '0x07019df8bb77252185c4da28f0617e80e199dfb73f398636428bf1f46214b584' transactionDetails: blockHash: '0x671426264e8f183794328b9ceafc22ae779e5935afc0c4e7d15833112874650f' blockNumber: '18389121' from: '0x0f8af7f0c71fab3d66a31243baed580cee6c0e0a' gas: '237646' gasPrice: '7083602166' maxFeePerGas: '9248000000' maxPriorityFeePerGas: '500000000' hash: '0x07019df8bb77252185c4da28f0617e80e199dfb73f398636428bf1f46214b584' input: '0xf305d7190000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000000000000000000000000000000000000000d385000000000000000000000000000000000000000000000000000000000000d27600000000000000000000000000000000000000000000000000233e39715c3f920000000000000000000000000f8af7f0c71fab3d66a31243baed580cee6c0e0a0000000000000000000000000000000000000000000000000000000065320757' nonce: '2' to: '0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f' transactionIndex: '33' value: '9969890071157728' type: '2' accessList: [] chainId: '1' v: '0x0' r: '0x431d67d2054ad4d1d00fb7788243b3f4ef0a351ee1e85124fddc5281314460c8' s: '0x67621f85bfb728c192be3510624b90edb43a08e7f72033f4bf2a900ab81cb266' yParity: '0x0' - transactionHash: '0xd869e9fa6ebea0d1173f97e0080552fe436a8fd02b28e3c55c6b543a1345f23c' transactionDetails: blockHash: '0x39966efee2e0877488907cea7b1856ad895ccba5427b65e081f1032bb5fe6ed0' blockNumber: '18362942' from: '0x8ef2c6f23477e31e983102310d9913c2dc69bbfe' gas: '237632' gasPrice: '8819484734' maxFeePerGas: '12054334407' maxPriorityFeePerGas: '100000000' hash: '0xd869e9fa6ebea0d1173f97e0080552fe436a8fd02b28e3c55c6b543a1345f23c' input: '0xf305d7190000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000018e00000000000000000000000000000000000000000000000000003f774d48506b0000000000000000000000008ef2c6f23477e31e983102310d9913c2dc69bbfe00000000000000000000000000000000000000000000000000000000652d3387' nonce: '3' to: '0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f' transactionIndex: '135' value: '70132291701431' type: '2' accessList: [] chainId: '1' v: '0x1' r: '0x21d92d1da0f6178b459ca4078e30dc307295cb70f33a4bad126a4dfbf42ccf30' s: '0x6e33388b5e67f35e1d2a5bfd8a09dfa107b52a95a167deca80af1e191366f70f' yParity: '0x1' x-bd-cu: '205' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getindividualposition: get: tags: - dex summary: Get Individual Position description: 'Retrieves aggregated liquidity metrics and pool-specific breakdowns (pool identifiers, addresses, contributed amounts) for a given wallet across multiple DEX pools. This endpoint also supports a customizable pool size limit, returning essential data to help users and developers analyze individual positions within decentralized finance. > 💡 **Compute Unit Value:** `100` (Fixed)' operationId: dexGetindividualposition parameters: - name: address in: query required: true schema: type: string description: Public address of the liquidity provider. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the liquidity provider. - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '1100' - '1200' - '1201' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '3800' - '3700' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: poolAddresses in: query required: false schema: type: string description: The pool addresses whose liquidity is to be fetched. (Comma-separated values). example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: The pool addresses whose liquidity is to be fetched. (Comma-separated values). - name: poolSize in: query required: false schema: type: string description: 'The number of pools for which the user intends to fetch the individual position. By default: 50, Maximum: 9,950.' example: '1000' description: 'The number of pools for which the user intends to fetch the individual position. By default: 50, Maximum: 9,950.' - name: poolAddress in: query required: false schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: aggregatedLiquidity: '2000200' poolAddresses: NYANUSDT: '0x6D37Eb2364f8BB28002BD404cF301fA8106DCb14': '1000100' DAIUSDT: '0x055CEDfe14BCE33F985C41d9A1934B7654611AAC': '1000100' x-bd-cu: '100' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getliquiditybytick: get: tags: - dex summary: Get Liquidity By Tick description: 'Retrieves detailed liquidity distribution data for a specified pool on a DEX, segmented by individual ticks. This granular breakdown helps users analyze how liquidity is allocated across different price ranges, optimizing strategies for trades or liquidity provision. > 💡 **Compute Unit Value:** `300` (Fixed)' operationId: dexGetliquiditybytick parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '2100' - '2800' - '2808' - '2809' example: '1300' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: poolAddress in: query required: true schema: type: string description: Address of the pool. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Address of the pool. - name: tickRange in: query required: false schema: type: string description: Range of ticks from 0 to 10. By default, it is set to 10. example: '10' description: Range of ticks from 0 to 10. By default, it is set to 10. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: - tick: '262560' statePrice: '25.250257597994153' liquidityGross: '2044167987239799' liquidityNet: '1163227399916217' - tick: '262620' statePrice: '25.40220693843807' liquidityGross: '2411973804718984' liquidityNet: '-2411973804718984' - tick: '262680' statePrice: '25.555070669635104' liquidityGross: '2022304232475786' liquidityNet: '-2008684309586072' - tick: '262740' statePrice: '25.70885429414582' liquidityGross: '761547836646808' liquidityNet: '-616354343979458' - tick: '262800' statePrice: '25.86356334764374' liquidityGross: '6751078345053776' liquidityNet: '-5770617130112686' - tick: '262860' statePrice: '26.019203399114584' liquidityGross: '10654503170437388' liquidityNet: '9856004978433476' - tick: '262920' statePrice: '26.175780051056766' liquidityGross: '1626629983560750' liquidityNet: '-1157703736282660' - tick: '262980' statePrice: '26.333298939683043' liquidityGross: '9243301499770587' liquidityNet: '-9243301499770587' - tick: '263040' statePrice: '26.49176573512339' liquidityGross: '51050167223971' liquidityNet: '-30118033626473' - tick: '263100' statePrice: '26.651186141629125' liquidityGross: '356436151693028' liquidityNet: '-356436151693028' - tick: '263160' statePrice: '26.81156589777824' liquidityGross: '2860950064302042' liquidityNet: '1502877954331514' - tick: '263220' statePrice: '26.972910776681964' liquidityGross: '79578452045188695' liquidityNet: '70503716513247725' - tick: '263280' statePrice: '27.135226586192555' liquidityGross: '77253816342785751' liquidityNet: '76835065928144335' - tick: '263340' statePrice: '27.298519169112417' liquidityGross: '4558359682524738' liquidityNet: '4503266701174838' - tick: '263400' statePrice: '27.462794403404356' liquidityGross: '4802857523418237' liquidityNet: '4085134427468871' - tick: '263460' statePrice: '27.62805820240321' liquidityGross: '3793081726775488' liquidityNet: '-3235086979619026' - tick: '263520' statePrice: '27.7943165150287' liquidityGross: '724722108326432' liquidityNet: '-724722108326432' - tick: '263580' statePrice: '27.961575325999544' liquidityGross: '241718641241365' liquidityNet: '-241718641241365' - tick: '263640' statePrice: '28.129840656048927' liquidityGross: '3332273190612355' liquidityNet: '-1871247095585359' - tick: '263700' statePrice: '28.299118562141224' liquidityGross: '116198079424872' liquidityNet: '-65857887407734' - tick: '263760' statePrice: '28.46941513768995' liquidityGross: '936122685327105' liquidityNet: '-936122685327105' x-bd-cu: '300' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getliquiditysources: get: tags: - dex summary: Get Liquidity Sources description: 'Returns a list of liquidity sources available for a specified DEX aggregator, filtered by the blockchain network. This helps users identify all supported liquidity providers or pools, enabling informed trading and integration decisions. > 💡 **Compute Unit Value:** `80` (Fixed)' operationId: dexGetliquiditysources parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2600' - '1600' - '1602' - '1604' - '1605' - '1607' - '1608' - '1700' - '1701' - '1702' - '1703' - '1704' - '1706' - '1707' - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '2600' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: - Raydium - Orca - Meteora - Phoenix - Lifinity - Openbook v2 - Sanctum - Saber - Perps - Invariant - Cropper - FluxBeam - BonkSwap - Stepn - Openbook - Dexlab - Clone - Crema - Saros - Helium Network - GuacSwap - Aldrin - Token Swap - Oasis - Step - Penguin - Sencha x-bd-cu: '80' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getmakerorders: get: tags: - dex summary: Get Maker Orders description: 'Retrieves all active limit orders posted by a specific maker on a DEX, returning details such as order IDs, asset pairs, prices, quantities, and status. This comprehensive overview helps users efficiently monitor, analyze, and manage open orders in real time. > 💡 **Compute Unit Value:** `35` (Fixed)' operationId: dexGetmakerorders parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '2200' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: address in: query required: true schema: type: string description: The public address of the user (maker) whose active limit orders are to be fetched. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: The public address of the user (maker) whose active limit orders are to be fetched. - name: pageToken in: query required: false schema: type: string description: The page number to retrieve results from. Defaults to 1 if not provided. example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYWdlIjoxLCJjb250cmFjdEFkZHJlc3MiOiIweGZhZThlNjRjZGRlNzM1NTBlN2Q3ZjA0Njk1NTdhMzNhNDE3YjI4NjgiLCJjb250cmFjdFR5cGUiOiJlcmMyMCIsImFwcHJvdmVyQWRkcmVzcyI6IjB4NjVhOGYwN2JkOWE4NTk4ZTFiNWI2YzBhODhmNDc3OWRiYzA3NzY3NSIsInNwZW5kZXJBZGRyZXNzIjoiMHgxMTExMTExMjU0ZmI2YzQ0YmFjMGJlZDI4NTRlNzZmOTA2NDMwOTdkIiwiaWF0IjoxNzMzMzkzODE2fQ.y7FANxpXgtdgk83CIqPHHk2jutj1NZrueTu4XR39jnk description: The page number to retrieve results from. Defaults to 1 if not provided. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: totalPages: '1' currentPage: '1' orders: - id: '96091' chainId: '137' nonce: '0' makerAsset: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' contractAddress: '0xcab2fa2eeab7065b45cbcf6e3936dde2506b4f6c' orderHash: e65bba101d10984825a1480f124cb1cdbed65ff86d8904f310b08fd3ddac0fcd makerAssetSymbol: wMATIC takerAssetSymbol: USDT makerAssetLogoURL: https://assetlogo.expand.network/ethereum/wMATIC.png takerAssetLogoURL: https://assetlogo.expand.network/ethereum/USDT.png makerAssetDecimals: '18' takerAssetDecimals: '18' makingAmount: '1000000000000000000' takingAmount: '3510540868' filledMakingAmount: '0' filledTakingAmount: '0' status: open createdAt: '1721535038' expiredAt: '4875135021' operatorSignatureExpiredAt: '0' transactions: [] rate: '0.0002848564' - id: '95180' chainId: '137' nonce: '0' makerAsset: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' contractAddress: '0xcab2fa2eeab7065b45cbcf6e3936dde2506b4f6c' orderHash: 74bd0abac4ade77fef8da6534f31917125b72d39058084ed111c759556caac85 makerAssetSymbol: wMATIC takerAssetSymbol: USDT makerAssetLogoURL: https://assetlogo.expand.network/ethereum/wMATIC.png takerAssetLogoURL: https://assetlogo.expand.network/ethereum/USDT.png makerAssetDecimals: '18' takerAssetDecimals: '18' makingAmount: '1000000000000000000' takingAmount: '500000' filledMakingAmount: '899654000000000000' filledTakingAmount: '449827' status: partially_filled createdAt: '1721385861' expiredAt: '1821077034' operatorSignatureExpiredAt: '1721545571' transactions: - id: 46644 txHash: '0x9f361fde8f151564a6c8cab5185a47437cba796bcb384a6c08e8f8e70e4670b0' txTime: 1721386500 makingAmount: '404488000000000000' takingAmount: '202244' makingAmountUSD: '0.2063639604153792' takingAmountUSD: '0.160126336739344' - id: 46677 txHash: '0x0a4d37f725669f61180549b608af0867e971a34f7c035f5c7d3fa7991ecbdbef' txTime: 1721395816 makingAmount: '384054000000000000' takingAmount: '192027' makingAmountUSD: '0.1969303732671132' takingAmountUSD: '0.1527915727524475' - id: 46767 txHash: '0x9cd999dbbe8b799ede0d32cf3ee34aa85944045a663696d0775d646374b0f2a8' txTime: 1721432384 makingAmount: '111112000000000000' takingAmount: '55556' makingAmountUSD: '0.05930734362162' takingAmountUSD: '0.0460451920888665' rate: '2.0000000000' x-bd-cu: '35' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getorders: get: tags: - dex summary: Get Orders description: 'Fetches all active orders on a specified DEX, filtered by maker and taker assets. It returns order details (IDs, asset addresses, pricing, etc.) to support real-time order book monitoring and trading integrations. > 💡 **Compute Unit Value:** `15` (Fixed)' operationId: dexGetorders parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1900' - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '1900' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: status in: query required: false schema: type: string description: 'The current status of the order. Accepted values: open, expired, error, cancelled, filled, or insufficient-funds.' example: 200 description: 'The current status of the order. Accepted values: open, expired, error, cancelled, filled, or insufficient-funds.' - name: orderHashes in: query required: false schema: type: string description: Comma-separated list of order hashes. example: '0xe788217d7450116385e71cc754ead242c21f5ec7f533ed48f9be47ccc2afc7a8' description: Comma-separated list of order hashes. - name: filler in: query required: false schema: type: string description: Address of the filler (entity responsible for filling the order). example: '0xb07508e0de659b7d6dd550a1cf1a796fec4fc9aa' description: Address of the filler (entity responsible for filling the order). - name: sort in: query required: false schema: type: string description: 'Sort order of the results. Accepted values: asc or desc. Default is desc.' enum: - desc - asc example: desc description: 'Sort order of the results. Accepted values: asc or desc. Default is desc.' - name: makerAsset in: query required: true schema: type: string description: The token address of the asset the Maker is selling. example: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' description: The token address of the asset the Maker is selling. - name: takerAsset in: query required: true schema: type: string description: The token address of the asset the Maker expects in return. example: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' description: The token address of the asset the Maker expects in return. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: totalPages: '1' currentPage: '1' orders: - id: '3822' chainId: '137' signature: 5282e03196e58d74c7e633f89a67a7f65d5ff781789ff576b9820253f7139efe3a66b1b8e818280af4b03859360941f2746b6beb2985b53ed609527bc6cee5501b salt: '70625134037672101032634555633607691523' makerAsset: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' maker: '0x503d741356f80b919458f0599666c4f00120f6c1' contractAddress: '0x227b0c196ea8db17a665ea6824d972a64202e936' receiver: '0x503d741356f80b919458f0599666c4f00120f6c1' allowedSenders: '0x0000000000000000000000000000000000000000' makingAmount: '1000000' takingAmount: '4900000000000' filledMakingAmount: '0' filledTakingAmount: '0' feeConfig: '0' feeRecipient: '0x0000000000000000000000000000000000000000' makerTokenFeePercent: '0' makerAssetData: '' takerAssetData: '' getMakerAmount: f4a215c300000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000474dec26800 getTakerAmount: 296637bf00000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000474dec26800 predicate: 961d5b1e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000227b0c196ea8db17a665ea6824d972a64202e936000000000000000000000000227b0c196ea8db17a665ea6824d972a64202e9360000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000044cf6fc6e3000000000000000000000000503d741356f80b919458f0599666c4f00120f6c1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002463592c2b000000000000000000000000000000000000000000000000000000006a8024b400000000000000000000000000000000000000000000000000000000 permit: '' interaction: '' expiredAt: '1786782900' orderHash: 8312abeb662786741364702d5858da05394a7e441dab1bd753daf1a5369d1011 availableMakingAmount: '1000000' makerBalanceAllowance: '3309150' rate: '0.0000002041' x-bd-cu: '15' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getpool: get: tags: - dex summary: Get Pool description: 'Retrieves pools of all tick spacing and pool fees along with the pool and tokens individual liquidity for a specific token pair. > 💡 **Compute Unit Value:** `105` (Fixed)' operationId: dexGetpool parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2100' - '2101' - '3000' - '3001' - '3600' - '3800' - '3700' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: tokenA in: query required: true schema: type: string description: Address of the first token of the pool. example: '0x514910771AF9Ca656af840dff83E8264EcF986CA' description: Address of the first token of the pool. - name: tokenB in: query required: true schema: type: string description: Address of the second token of the pool. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: Address of the second token of the pool. - name: tokenC in: query required: false schema: type: string description: Address of the third token of the pool. example: '0x514910771AF9Ca656af840dff83E8264EcF986CA' description: Address of the third token of the pool. - name: tokenD in: query required: false schema: type: string description: Address of the fourth token of the pool. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: Address of the fourth token of the pool. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: - poolAddress: '0x13394005C1012e708fCe1EB974F1130fDc73a5Ce' poolFees: '100' tickSpacing: '1' tokensLiquidity: PYUSD: '181345903597' USDC: '10747105612' liquidity: '368837504235914' - poolAddress: '0xaA4C9d6E5e349f319aBb625aa8dca5F52AbEA757' poolFees: '500' tickSpacing: '10' tokensLiquidity: PYUSD: '232537801158' USDC: '51001268304' liquidity: '538650478503468' - poolAddress: '0xd3F5c377A8506af29AEAfBc90D1E5C6534f197b4' poolFees: '3000' tickSpacing: '60' tokensLiquidity: PYUSD: '27672724088' USDC: '26267334299' liquidity: '7671336300529' - poolAddress: '0xebdA64772F41478d054293C15CC40542eC17E29D' poolFees: '10000' tickSpacing: '200' tokensLiquidity: PYUSD: '663526804' USDC: '663530883' liquidity: '13605769032' x-bd-cu: '105' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getpoolchartdata: get: tags: - dex summary: Get Pool Chart Data description: 'Provides historical data (open, close, high, low) for a specified liquidity pool over defined block ranges. Detailed transaction info (e.g., block numbers, trade prices, and token amounts) is included, enabling in-depth analysis of liquidity and trading activity. > 💡 **Compute Unit Value:** `130` (Fixed)' operationId: dexGetpoolchartdata parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '1100' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: interval in: query required: false schema: type: string description: 'Time interval for OHCLV data. Options: 15 mins (default), 30 mins, 60 mins, or 90 mins.' example: '5' description: 'Time interval for OHCLV data. Options: 15 mins (default), 30 mins, 60 mins, or 90 mins.' - name: poolAddress in: query required: true schema: type: string description: Pool address whose transactions are to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose transactions are to be fetched. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: pair: USDC/WETH chartData: 18882523 to 18882800: - open_price: '419005433942909' close_price: '419447697581705' low_price: '418943818861548' high_price: '422263827518504' transactions: - blockNumber: '18882529' price: '418986597113367' amount: token0: '2400000000' token1: '1005567833072081114' - blockNumber: '18882531' price: '421498241454276' amount: token0: '679221347' token1: '286290603318704585' - blockNumber: '18882538' price: '418975454284176' amount: token0: '376508407' token1: '157747780864636534' - blockNumber: '18882543' price: '418968454985399' amount: token0: '513835000' token1: '215280656067422305' - blockNumber: '18882543' price: '418963677671102' amount: token0: '93100000' token1: '39005518391179607' - blockNumber: '18882548' price: '418960589212921' amount: token0: '300000000' token1: '125688176763876449' - blockNumber: '18882560' price: '418954948262823' amount: token0: '417601922' token1: '174956391625965577' - blockNumber: '18882561' price: '418947749154645' amount: token0: '498134300' token1: '208692243761724622' - blockNumber: '18882565' price: '421805099375960' amount: token0: '42147657986' token1: '17778097065248708608' x-bd-cu: '130' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getpoolindividualliquidity: get: tags: - dex summary: Get Pool Individual Liquidity description: 'Retrieves a list of users contributing liquidity to a specified pool, along with their token positions and associated block numbers. The response also includes pagination details, streamlining navigation of large datasets for deeper analysis. > 💡 **Compute Unit Value:** `55` (Fixed)' operationId: dexGetpoolindividualliquidity parameters: - name: poolAddress in: query required: true schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2800' - '2808' - '2809' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: endBlock in: query required: false schema: type: string description: Last block of the range. example: '100010' description: Last block of the range. - name: startBlock in: query required: false schema: type: string description: Starting block of the range. example: '100000' description: Starting block of the range. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: - userAddress: '0xf5f259b9406da00048194a651d2d507a61537fb7' liquidityData: - blockNumber: '21302565' transactionHash: '0xe83967aabc1053016eeaaf63d77277021b8c0e73318bb82a0514c1064c4b5feb' assets: ILV: '1178911365981926221' WETH: '19342499999999999' - userAddress: '0xf5f259b9406da00048194a651d2d507a61537fb7' liquidityData: - blockNumber: '21302541' transactionHash: '0xe170dd27bef8a23bfa6120f0810c299021789c1de2d693e90ccb1ac99d2a8b14' assets: ILV: '1178972672415579907' WETH: '19342201932260271' x-bd-cu: '55' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getpoolliquidity: get: tags: - dex summary: Get Pool Liquidity description: 'Retrieves the total current liquidity in a specified DEX pool, indicating the pool’s market depth and trading capacity. This aggregated liquidity value helps users assess the pool’s overall health and potential for large trades without excessive slippage. > 💡 **Compute Unit Value:** `95` (Fixed)' operationId: dexGetpoolliquidity parameters: - name: poolAddress in: query required: true schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2400' - '2401' - '3000' - '3001' - '3100' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' - '3800' - '3700' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: address in: query required: true schema: type: string description: Public address of liquidity provider. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of liquidity provider. - name: id in: query required: true schema: type: string description: Bin ID whose liquidity is to be fetched. example: '8376653' description: Bin ID whose liquidity is to be fetched. - name: poolId in: query required: true schema: type: string description: Pool ID of the token pair. example: '13' description: Pool ID of the token pair. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: totalLiquidity: '586808351357' x-bd-cu: '95' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getpooltradedata: get: tags: - dex summary: Get Pool Trade Data description: 'Extracts detailed trading activity from a specific liquidity pool over a defined block range. It returns transaction data—including transfers, swaps, burns, and mints—with key details such as block numbers, transaction hashes, token amounts, and event types, enabling users to analyze liquidity flows and market behavior within the pool. > 💡 **Compute Unit Value:** `145` (Fixed)' operationId: dexGetpooltradedata parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1200' - '1201' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: endBlock in: query required: false schema: type: string description: Last block of the range. example: '100010' description: Last block of the range. - name: startBlock in: query required: false schema: type: string description: Starting block of the range. example: '100000' description: Starting block of the range. - name: poolAddress in: query required: true schema: type: string description: Pool address whose data is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose data is to be fetched. - name: eventType in: query required: false schema: type: string description: 'Type of event to filter by: Transfer, Swap, Burn, or Mint (default).' enum: - Swap - Burn - Mint example: Swap description: 'Type of event to filter by: Transfer, Swap, Burn, or Mint (default).' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: pair: USDC/WETH transactions: - blockNumber: '18802579' transactionHash: '0x244973c75c485606de7da7a1b6979ad60a85acc0eface61346363c838f0b1246' values: '0': '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F' '1': '6000000' '2': '2695481331319850' sender: '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F' amount0: '6000000' amount1: '2695481331319850' eventType: Mint data: data: '0x00000000000000000000000000000000000000000000000000000000005b8d8000000000000000000000000000000000000000000000000000099386a740842a' topics: - '0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f' - '0x000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f' - blockNumber: '18795938' transactionHash: '0x015caf944af53d7e4812b5483d49564e6ab6124c9209e3e163449cfef0ccc9b4' values: '0': '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F' '1': '3592426738' '2': '1598745565343756835' sender: '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F' amount0: '3592426738' amount1: '1598745565343756835' eventType: Mint data: data: '0x00000000000000000000000000000000000000000000000000000000d62014f2000000000000000000000000000000000000000000000000162fe29f048bb223' topics: - '0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f' - '0x000000000000000000000000d9e1ce17f2641f24ae83637ab66a2cca9c378b9f' x-bd-cu: '145' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getroute: get: tags: - dex summary: Get Route description: 'Returns detailed routing information for a token swap between a specified token pair. It provides a breakdown of the swap path, including each liquidity source involved, the corresponding swap details such as input/output amounts, and any associated fees, enabling users to assess and choose the optimal route for their trade. > 💡 **Compute Unit Value:** `30` (Fixed)' operationId: dexGetroute parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2600' example: '2600' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: path in: query required: true schema: type: string description: Array of token contract addresses for the source and destination tokens. Provide [srcTokenAddress, dstTokenAddress]. example: 0x514910771AF9Ca656af840dff83E8264EcF986CA,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 description: Array of token contract addresses for the source and destination tokens. Provide [srcTokenAddress, dstTokenAddress]. - name: amountIn in: query required: true schema: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: - swapInfo: ammKey: 5osJp3xhaP1W16n5NNyNg3my6QwTsfWmnbVZtk5o5fZK label: OpenBook V2 inputMint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 outputMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v inAmount: '21000000000000' outAmount: '5372541897' feeAmount: '0' feeMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v percent: 21 bps: 2100 prices: usd: - DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263: '0.000025568997516527' - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v: '0.9998033965484395' - swapInfo: ammKey: 8B8KYcFPMjZyDtJ1BENsqhW3fEmMrB4ekoEQJiM6z3SC label: TesseraV inputMint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 outputMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v inAmount: '33000000000000' outAmount: '8443880122' feeAmount: '0' feeMint: '11111111111111111111111111111111' percent: 33 bps: 3300 prices: usd: - DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263: '0.000025568997516527' - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v: '0.9998033965484395' - swapInfo: ammKey: B2e5QH2GDkRg6hj3y34GCUURBMGskPfX5RAAXe8RBRjS label: SolFi inputMint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 outputMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v inAmount: '46000000000000' outAmount: '11770923278' feeAmount: '0' feeMint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 percent: 46 bps: 4600 prices: usd: - DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263: '0.000025568997516527' - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v: '0.9998033965484395' - swapInfo: ammKey: 5WGYajM1xtLy3QrLHGSX4YPwsso3jrjEsbU1VivUErzk label: Raydium inputMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v outputMint: HhJpBhRRn4g56VsyLuT8DL5Bv31HkXqsrahTTUCZeZg4 inAmount: '25587345297' outAmount: '1275002926852046' feeAmount: '29427308' feeMint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v percent: 100 bps: 10000 prices: usd: - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v: '0.9998033965484395' - HhJpBhRRn4g56VsyLuT8DL5Bv31HkXqsrahTTUCZeZg4: '0.019382660424964133' x-bd-cu: '30' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/gettokenidprice: get: tags: - dex summary: Get Token ID Price description: 'Retrieves detailed mapping and pricing information for tokens on DEXs. By default, it returns data for the top 100 trending tokens, offering a snapshot of market dynamics and token popularity. Alternatively, if a specific token address is provided, the endpoint returns the mapping details for that token. The response includes key data such as the pool identifier (poolId) and the current price, enabling users and developers to assess market valuations, track trends, and integrate real-time pricing information into trading strategies and analytical dashboards. > 💡 **Compute Unit Value:** `95` (Fixed)' operationId: dexGettokenidprice parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '3100' example: '3100' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: poolId in: query required: true schema: type: string description: The unique ID of the liquidity pool for which the USD price of the liquidity token needs to be fetched. example: '13' description: The unique ID of the liquidity pool for which the USD price of the liquidity token needs to be fetched. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: poolId: '14' price: '0.9698074551870216' x-bd-cu: '95' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/gettokenliquidity: get: tags: - dex summary: Get Token Liquidity description: 'Retrieves detailed liquidity metrics for tokens in specified pools across supported DEX protocols. It returns the current liquidity amounts for each token, enabling users to assess market depth and token distribution within the pool. > 💡 **Compute Unit Value:** `40` (Fixed)' operationId: dexGettokenliquidity parameters: - name: poolAddress in: query required: true schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2400' - '2401' - '3000' - '3001' - '3100' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' - '3800' - '3700' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: poolId in: query required: true schema: type: string description: Pool ID of the token pair. example: '13' description: Pool ID of the token pair. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: WISE: '504683885086515417087429482' WETH: '29446632936620107557780' prices: usd: - WISE: '0.20142069681758892' - WETH: '3622.89970052037' inr: - WISE: '17.40667167879299' - WETH: '313089.10458822636' x-bd-cu: '40' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getuserliquidity: get: tags: - dex summary: Get User Liquidity description: 'Retrieves detailed liquidity information for a specific token pair held by an account. It returns the pair’s unique address along with the total liquidity and the individual balances for each token in the pair. This data is essential for users monitoring their decentralized liquidity positions and managing their exposure across various protocols. > 💡 **Compute Unit Value:** `60` (Fixed)' operationId: dexGetuserliquidity parameters: - name: tokenA in: query required: true schema: type: string description: Address of the first token. example: '0x514910771AF9Ca656af840dff83E8264EcF986CA' description: Address of the first token. - name: address in: query required: true schema: type: string description: Public address of liquidity provider. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of liquidity provider. - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2400' - '2401' - '3000' - '3001' - '3100' - '3500' - '3501' - '3400' - '3401' - '3600' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: tokenB in: query required: true schema: type: string description: Address of the second token. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: Address of the second token. - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: tokenId in: query required: true schema: type: string description: The token ID for PancakeSwap V3 liquidity position. example: '3238' description: The token ID for PancakeSwap V3 liquidity position. - name: poolAddress in: query required: true schema: type: string description: Pool address whose liquidity is to be fetched. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' description: Pool address whose liquidity is to be fetched. - name: tokenC in: query required: false schema: type: string description: Address of the third token. example: '0x514910771AF9Ca656af840dff83E8264EcF986CA' description: Address of the third token. - name: tokenD in: query required: false schema: type: string description: Address of the forth token. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' description: Address of the forth token. - name: id in: query required: true schema: type: string description: Bin ID whose liquidity is to be fetched. example: '8376653' description: Bin ID whose liquidity is to be fetched. - name: positionNFT in: query required: true schema: type: string description: LP token that represents a position in a pool. example: 45z3G8PxyTuFa9tbr9QMmscGVHvZir4vQK1U5LRKeSQd description: LP token that represents a position in a pool. - name: path in: query required: true schema: type: string description: 'Comma-separated values of token addresses whose price is to be fetched. Note: 1) Assets should be in lexicographic order. 2) For assets other than XLM (Native token), the token issuer is required.' example: 0x514910771AF9Ca656af840dff83E8264EcF986CA,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 description: 'Comma-separated values of token addresses whose price is to be fetched. Note: 1) Assets should be in lexicographic order. 2) For assets other than XLM (Native token), the token issuer is required.' - name: poolId in: query required: true schema: type: string description: Pool ID of the token pair. example: '13' description: Pool ID of the token pair. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: pairAddress: '0x21b8065d10f73EE2e260e5B47D3344d3Ced7596E' liquidity: '0' tokenA: '0' tokenB: '0' prices: usd: - '0x66a0f676479cee1d7373f3dc2e2952778bff5bd6': '0.20142069681758892' - '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2': '3614.520018921655' inr: - '0x66a0f676479cee1d7373f3dc2e2952778bff5bd6': '17.40667167879299' - '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2': '312364.9368702795' cny: - '0x66a0f676479cee1d7373f3dc2e2952778bff5bd6': '1.4416484954022113' - '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2': '25870.56558342986' x-bd-cu: '60' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getusertokenids: get: tags: - dex summary: Get User Token IDs description: 'Retrieves a list of NFT token IDs representing liquidity positions held in a user’s wallet. Each token is returned with its associated liquidity, enabling users to efficiently track and manage their NFT-based positions across decentralized finance protocols. > 💡 **Compute Unit Value:** `60` (Fixed)' operationId: dexGetusertokenids parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1300' - '1305' - '1306' - '1307' - '1308' - '1309' - '2800' - '2808' - '2809' example: '1300' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: address in: query required: true schema: type: string description: Address of user example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Address of user responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: tokens: - tokenId: '818396' liquidity: '42704482896171366122' x-bd-cu: '60' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/getwalletposition: get: tags: - dex summary: Get Wallet Position description: 'Retrieves comprehensive information about a wallet’s positions across various DEX protocols. It aggregates key data—including protocol details, liquidity positions, token balances (with USD valuations), and pool metrics (such as reserve amounts and share of pool)—to provide a clear snapshot of the wallet’s DeFi exposure. > 💡 **Compute Unit Value:** `170` (Fixed)' operationId: dexGetwalletposition parameters: - name: address in: query required: true schema: type: string description: Public address of the user. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' description: Public address of the user. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: - protocol_name: Uniswap v2 protocol_id: uniswap-v2 protocol_url: https://app.uniswap.org/pools/v2 account_data: {} total_projected_earnings_usd: daily: null weekly: null monthly: null yearly: null position: label: liquidity tokens: - token_type: supplied name: Ocean Token symbol: OCEAN contract_address: '0x7afebbb46fdb47ed17b22ed075cde2447694fb9e' decimals: '18' balance: '1.6081842334083308815902940220990230780999386e+23' usd_price: 0.3606446348915287 - token_type: supplied name: Wrapped Ether symbol: WETH contract_address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' decimals: '18' balance: '164740674239285818005.81690560285198009496' usd_price: 3711.793202043769 - token_type: defi-token name: Uniswap V2 symbol: UNI-V2 contract_address: '0xf063806d07fe742b031a543145fb46d1bc670fe8' decimals: '18' balance: '4814188687222267334774' usd_price: null address: '0xf063806d07fe742b031a543145fb46d1bc670fe8' balance_usd: 669481.6163110741 total_unclaimed_usd_value: null position_details: reserve0: '160818.42334083308815902940220990230780999386' reserve1: '164.74067423928581800581690560285198009496' factory: '0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f' pair: '0xf063806d07fe742b031a543145fb46d1bc670fe8' share_of_pool: 26.97033761448816 - protocol_name: Uniswap v3 protocol_id: uniswap-v3 protocol_url: https://app.uniswap.org account_data: {} total_projected_earnings_usd: daily: null weekly: null monthly: null yearly: null position: label: Liquidity balance_usd: 92.79077171190019 total_unclaimed_usd_value: 0 tokens: - token_type: supplied name: USD Coin symbol: USDC contract_address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' decimals: '6' balance: '0' usd_price: 0.9984084045632092 - token_type: supplied name: Wrapped Ether symbol: WETH contract_address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' decimals: '18' balance: '24998906636503404' usd_price: 3711.793202043769 - token_type: reward name: USD Coin symbol: USDC contract_address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' decimals: '6' balance: '0' usd_price: 0.9984084045632092 - token_type: reward name: Wrapped Ether symbol: WETH contract_address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' decimals: '18' balance: '0' usd_price: 3711.793202043769 x-bd-cu: '170' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/price: get: tags: - dex summary: Get DEX Swap Price description: 'Retrieves a swap quotation for a given token pair or a series of tokens along a specified path. By providing an input amount (amountIn), the endpoint calculates and returns the estimated output amounts for each token in the swap path. This allows users to accurately gauge current market pricing and estimate the value of potential swaps on a decentralized exchange, facilitating more informed trading decisions. > 💡 **Compute Unit Value:** `70` (Fixed)' operationId: dexPrice parameters: - name: dexId in: query required: false schema: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2600' - '2400' - '2401' - '1600' - '1602' - '1604' - '1605' - '1607' - '1608' - '1700' - '1701' - '1702' - '1703' - '1704' - '1706' - '1707' - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' - '3000' - '3001' - '3100' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' - '3800' - '3700' example: '1000' description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). - name: path in: query required: true schema: type: string description: 'Ordered sequence of token contract addresses defining the swap route, provided as a comma-separated string. For a direct swap from token A to B: ''tokenInAddress,tokenOutAddress''. Example (WETH→USDC on Ethereum): ''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''.' example: 0x514910771AF9Ca656af840dff83E8264EcF986CA,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 description: 'Ordered sequence of token contract addresses defining the swap route, provided as a comma-separated string. For a direct swap from token A to B: ''tokenInAddress,tokenOutAddress''. Example (WETH→USDC on Ethereum): ''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''.' - name: amountIn in: query required: true schema: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: poolFees in: query required: false schema: type: string description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' example: '3000' description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' - name: slippage in: query required: false schema: type: string description: 'Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percentage from the quoted price.' example: '10' description: 'Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percentage from the quoted price.' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: object properties: amountIn: type: string description: Amount of input token in a swap example: '10000' path: type: array items: type: string description: Array of token addresses representing a swap route example: - 0x514910771AF9Ca656af840dff83E8264EcF986CA,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 amountsOut: type: array items: type: string description: Expected output amounts from swaps or conversions priceImpact: type: object description: Price impact details for the swap properties: percentage: type: string description: Price impact as a percentage (negative indicates unfavorable slippage) example: '-0.1368' value: type: string description: Price impact value in USD example: '-0.116555' additionalProperties: true example: status: 200 msg: success data: amountIn: '100000000000000000' path: - '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' - '0xaf88d065e77c8cC2239327C5EDb3A432268e5831' amountsOut: - '100000000000000000' - '212386733' prices: usd: - '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1': '2125.29' - '0xaf88d065e77c8cC2239327C5EDb3A432268e5831': '0.999664134155166' priceImpact: percentage: '0.0214' value: '0.045422' x-bd-cu: '70' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/publishorder: post: tags: - dex summary: Publish Order description: 'This endpoint interacts with the Kyberswap protocol to manage limit orders on the decentralized exchange. It allows you to either create a new limit order or cancel an existing one, based on the parameters provided in your request. A successful call returns detailed information including the order ID, the current order status, and a reference ID for tracking the transaction. > 💡 **Compute Unit Value:** `35` (Fixed)' operationId: dexPublishorder requestBody: required: true description: The request body for a /defi/v1/dex/publishorder content: application/json: schema: $ref: '#/components/schemas/_dex_publishorder_Request' example: dexId: '2200' orderType: create makerAsset: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountIn: '1000000000000000000' amountOut: '1000000000000000000' deadline: '1707313948' orderId: '95167' salt: '140518201020656697335313758999689041588' enableFee: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: orderId: '97837' orderStatus: Succeeded referenceId: 23479c6e906f49b8be4dccd062f69676 x-bd-cu: '35' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/quotes: get: tags: - dex summary: Get DEX Swap Quotes description: 'Retrieves a comprehensive list of swap quotations from multiple DEXs for a specified token pair pool. By aggregating swap quotes across various DEXs, it enables users to compare rates and identify the most favorable trading option. The response includes detailed information such as the DEX name and identifier, the input amount, the swap path, and the resulting output amounts from each DEX, making it a valuable tool for pricing data and swap execution decisions. > 💡 **Compute Unit Value:** `100` (Fixed)' operationId: dexQuotes parameters: - name: chainId in: query required: false schema: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '43114' - '56' - '137' - '42161' - '10' - '8453' - '324' - '5000' - '900' - '1400' - '1200' - '101' - '1700' - '1500' - '1100' - '1600' - '8217' example: '1' description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). - name: path in: query required: true schema: type: string description: 'Ordered sequence of token contract addresses defining the swap route, provided as a comma-separated string. For a direct swap from token A to B: ''tokenInAddress,tokenOutAddress''. Example (WETH→USDC on Ethereum): ''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''.' example: 0x514910771AF9Ca656af840dff83E8264EcF986CA,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 description: 'Ordered sequence of token contract addresses defining the swap route, provided as a comma-separated string. For a direct swap from token A to B: ''tokenInAddress,tokenOutAddress''. Example (WETH→USDC on Ethereum): ''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''.' - name: amountIn in: query required: true schema: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' - name: chainSymbol in: query required: false schema: type: string description: The abbreviated chain name for queries or transactions. example: ETH description: The abbreviated chain name for queries or transactions. - name: excludedDexes in: query required: false schema: type: string description: Comma-separated list of DEX protocol IDs (dexId values) to exclude from routing. Find available IDs via the /support endpoint. example: '1700' description: Comma-separated list of DEX protocol IDs (dexId values) to exclude from routing. Find available IDs via the /support endpoint. - name: poolFees in: query required: false schema: type: string description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' example: '3000' description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' - name: vsCurrencies in: query required: false schema: type: string description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. example: usd,eur,gbp description: A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies. - name: maxPriceImpact in: query required: false schema: type: string description: Maximum acceptable price impact as a percentage (e.g., '0.01' means 0.01% price impact). Quotes that would cause a price impact exceeding this value are excluded from results. example: '0.01' description: Maximum acceptable price impact as a percentage (e.g., '0.01' means 0.01% price impact). Quotes that would cause a price impact exceeding this value are excluded from results. responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: type: array items: type: object properties: dexId: type: string description: Unique ID for a decentralized exchange example: '1000' dexName: type: string description: Name of the decentralized exchange amountIn: type: string description: Amount of input token in a swap example: '10000' path: type: array items: type: string description: Array of token addresses representing a swap route example: - 0x514910771AF9Ca656af840dff83E8264EcF986CA,0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 amountsOut: type: array items: type: string description: Expected output amounts from swaps or conversions bridgeId: type: string description: Unique identifier for a bridge service example: '100' bridgeName: type: string description: Human-readable bridge service name priceImpact: type: object description: Price impact details for the swap properties: percentage: type: string description: Price impact as a percentage (negative indicates unfavorable slippage) example: '-0.1368' value: type: string description: Price impact value in USD example: '-0.116555' required: - amountIn - path - amountsOut example: status: 200 msg: success data: - dexId: '2200' dexName: Kyberswap amountIn: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountsOut: - '1000000000000000000' - '9044988' prices: usd: - '0x514910771AF9Ca656af840dff83E8264EcF986CA': '9.075482776456836' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48': '0.9998156269527559' priceImpact: percentage: '0.0000' value: '0.000000' - dexId: '1300' dexName: UniswapV3 amountIn: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountsOut: - '1000000000000000000' - '9044309' prices: usd: - '0x514910771AF9Ca656af840dff83E8264EcF986CA': '9.075482776456836' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48': '0.9998156269527559' priceImpact: percentage: '0.3007' value: '0.027282' - bridgeId: '600' bridgeName: SquidRouterV2 srcChainId: '1' dstChainId: '1' srcTokenSymbol: LINK dstTokenSymbol: USDC srcTokenAddress: '0x514910771AF9Ca656af840dff83E8264EcF986CA' dstTokenAddress: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountsOut: - '1000000000000000000' - '9044309' prices: usd: - '0x514910771AF9Ca656af840dff83E8264EcF986CA': '9.075482776456836' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48': '0.9998156269527559' priceImpact: percentage: '0.3619' value: '0.032847' - dexId: '1400' dexName: BalancerV2 amountIn: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountsOut: - '1000000000000000000' - '9033226' prices: usd: - '0x514910771AF9Ca656af840dff83E8264EcF986CA': '9.075482776456836' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48': '0.9998156269527559' priceImpact: percentage: '0.4840' value: '0.043930' - dexId: '1600' dexName: 0x amountIn: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountsOut: - '1000000000000000000' - '9025485' prices: usd: - '0x514910771AF9Ca656af840dff83E8264EcF986CA': '9.075482776456836' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48': '0.9998156269527559' priceImpact: percentage: '0.1500' value: '0.013559' - dexId: '1000' dexName: UniswapV2 amountIn: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountsOut: - '1000000000000000000' - '8787450' prices: usd: - '0x514910771AF9Ca656af840dff83E8264EcF986CA': '9.075482776456836' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48': '0.9998156269527559' priceImpact: percentage: '3.0504' value: '0.276486' x-bd-cu: '100' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/removeliquidity: post: tags: - dex summary: Remove Liquidity description: 'Facilitates the withdrawal of liquidity from cross-chain bridges with customizable gas settings and amount specifications. > 💡 **Compute Unit Value:** `115` (Fixed)' operationId: dexRemoveliquidity requestBody: required: true description: The request body for a /defi/v1/dex/removeliquidity content: application/json: schema: $ref: '#/components/schemas/_dex_removeliquidity_Request' example: dexId: '1000' tokenA: '0x514910771AF9Ca656af840dff83E8264EcF986CA' tokenB: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' liquidity: '1000000000000000000' amountAMin: '0' amountBMin: '0' deadline: '1707313948' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false tokenId: '3238' amountAMax: '1000000000000000000' amountBMax: '1000000000000000000' recipient: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountADesired: '1000000000000000000' amountBDesired: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOut: '1000000000000000000' toInternalBalance: false binStep: '20' ids: 8375816,8375817 amounts: '10000' positionNFT: 45z3G8PxyTuFa9tbr9QMmscGVHvZir4vQK1U5LRKeSQd poolAddress: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' amountOutMin: '0' poolFees: '3000' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: integer msg: type: string data: type: object example: status: 200 msg: success data: chainId: '1' from: '0x63056E00436Da25BcF48A40dfBbDcc7089351006' to: '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F' value: '0' gas: '400000' data: '0xbaa2abde000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000566f4b5624f4230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000063056e00436da25bcf48a40dfbbdcc708935100600000000000000000000000000000000000000000000000000000000634e5192' estimationCheck: true referenceId: 838c56cd8ee9402b96cc1e9939fa1e75 x-bd-cu: '115' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/swap: post: tags: - dex summary: Create DEX Swap Transaction description: 'Enables users to perform token swaps on a DEX by supplying source tokens, desired output tokens, and other trade parameters. This endpoint calculates the optimal path (or uses a given path) across liquidity pools, then returns key details such as the route taken, final amounts, and any additional transaction data needed to finalize the swap on-chain. It is particularly useful for DeFi integrations that require seamless conversions between multiple ERC20 tokens within a single request. > 💡 **Compute Unit Value:** `55` (Fixed)' operationId: dexSwap requestBody: required: true description: The request body for a /defi/v1/dex/swap content: application/json: schema: $ref: '#/components/schemas/_dex_swap_Request' example: dexId: '1000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOutMin: '0' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' deadline: '1707313948' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false poolFees: '3000' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: Gas limit for the transaction example: '100000' value: type: string description: Amount being transferred or involved in a transaction example: '10' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - referenceId - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value swapTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: Gas limit for the transaction example: '100000' value: type: string description: Amount being transferred or involved in a transaction example: '10' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - referenceId required: - createFeeTxn - swapTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls example: status: 200 msg: success data: chainId: '56' from: '0x63056E00436Da25BcF48A40dfBbDcc7089351006' to: '0x10ED43C718714eb63d5aA57B78B54704E256024E' value: '0' gas: '29880' data: '0x38ed17390000000000000000000000000000000000000000000000000000000007270e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000063056e00436da25bcf48a40dfbbdcc7089351006000000000000000000000000000000000000000000000000000000006336b3860000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000cc42724c6683b7e57334c4e856f4c9965ed682bd' estimationCheck: true referenceId: 48d6003c0aad431aa571e798bfe102ba x-bd-cu: '55' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/swap-with-approval: post: tags: - dex summary: Create DEX Swap Transaction with Approval description: 'Generates both token approval and swap transactions in a single call with configurable slippage protection. > 💡 **Compute Unit Value:** `85` (Fixed)' operationId: dexSwapWithApproval requestBody: required: true description: The request body for a /defi/v1/dex/swap-with-approval content: application/json: schema: $ref: '#/components/schemas/_dex_swapwithapproval_Request' example: dexId: '1000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOutMin: '0' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' deadline: '1707313948' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false poolFees: '3000' responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: oneOf: - type: array items: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: Gas limit for the transaction example: '100000' value: type: string description: Amount being transferred or involved in a transaction example: '10' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value - data - referenceId - type: object not: required: - calls properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: Gas limit for the transaction example: '100000' value: type: string description: Amount being transferred or involved in a transaction example: '10' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - referenceId - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to swapWithApproveTxn: oneOf: - type: array items: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: Gas limit for the transaction example: '100000' value: type: string description: Amount being transferred or involved in a transaction example: '10' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value - data - referenceId - type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: Gas limit for the transaction example: '100000' value: type: string description: Amount being transferred or involved in a transaction example: '10' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - referenceId required: - createFeeTxn - swapWithApproveTxn - type: object properties: from: type: string chainId: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data required: - from - chainId - referenceId - methodUsed - calls example: status: 200 msg: success data: - chainId: '1' from: '0x63056E00436Da25BcF48A40dfBbDcc7089351006' to: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' value: '0' gas: '173376' data: '0x095ea7b30000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000000000000000000000000000000038d7ea4c68000' nonce: 0 referenceId: 497ef8cb1f224ab3ac8ee68211237298 - chainId: '1' from: '0x63056E00436Da25BcF48A40dfBbDcc7089351006' to: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' value: '0' gas: '173376' data: '0x38ed173900000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000063056e00436da25bcf48a40dfbbdcc708935100600000000000000000000000000000000000000000000000000000000634d00ee0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f' nonce: 1 referenceId: 497ef8cb1f224ab3ac8ee68211237298 x-bd-cu: '85' x-bd-cu-type: fixed x-internal: false /defi/v1/dex/swaps: post: tags: - dex summary: Aggregate DEX Swap description: 'Aggregates swap quotes from all DEXs supporting a specified token pair. It allows users to customize their query to prioritize either the best output or the lowest gas costs. The response provides detailed transaction data including DEX identifiers, output amounts, swap routing parameters (such as call data), gas estimates, and a reference, enabling traders to compare and select the most efficient swap route for their needs. > 💡 **Compute Unit Value:** `115` (Fixed)' operationId: dexSwaps requestBody: required: true description: The request body for a /defi/v1/dex/swaps content: application/json: schema: $ref: '#/components/schemas/_dex_swapaggregator_Request' example: chainId: '1' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' poolFees: '3000' excludedDexes: '1700' bestNetPrice: false bestQuote: false lowestGas: false gasPriority: low amountOutMin: '0' slippage: '10' enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false responses: '200': description: Successful response content: application/json: schema: type: object properties: status: type: number description: Numeric status code indicating success or failure of the API call example: 200 msg: type: string description: Human-readable message describing the API result or error data: anyOf: - type: array items: type: object properties: dexName: type: string description: Name of the decentralized exchange amountsOut: type: string description: Expected output amounts from swaps or conversions chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 bridgeName: type: string description: Human-readable bridge service name message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - amountsOut - chainId - referenceId - type: object properties: createFeeTxn: type: object properties: chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' gas: type: string description: Gas limit for the transaction example: '100000' simulate: type: object description: 'Present when the request used `simulate: true` with `enableFee: true`; fee leg eth_simulateV1 summary.' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - chainId - from - to - value swapaggregatorTxn: type: array items: type: object properties: dexName: type: string description: Name of the decentralized exchange amountsOut: type: string description: Expected output amounts from swaps or conversions chainId: type: string description: Blockchain network identifier (EVM chain ID, Solana chain name, etc.) example: '1' from: type: string description: Sender's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: Recipient's wallet address example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' value: type: string description: Amount being transferred or involved in a transaction example: '10' gas: type: string description: Gas limit for the transaction example: '100000' data: oneOf: - type: string - type: array items: type: string description: Main payload object or array returned by the API example: '0x40e53eb7000000000000000000000000000000000000000000000000000000000016e360' gasPrice: type: string description: Price per gas unit for the transaction example: '10000' estimationCheck: oneOf: - type: string - type: boolean description: Flag or value indicating transaction fee/estimate status referenceId: type: string description: Unique ID for tracking a specific transaction or operation example: 8eec8150896e4fdaa26d4d1a1338d676 bridgeName: type: string description: Human-readable bridge service name message: type: string description: Message string related to an operation simulate: type: object description: 'Present when the request used `simulate: true`; eth_simulateV1 summary (omitted when simulation was not run).' properties: status: type: string enum: - success - failure error: type: - string - 'null' description: Failure reason when status is failure; null when status is success required: - status - error required: - amountsOut - chainId - referenceId required: - createFeeTxn - swapaggregatorTxn - type: array items: type: object properties: from: type: string dexName: type: string chainId: type: string amountsOut: type: string referenceId: type: string methodUsed: type: string enum: - EIP-5792 - EIP-7702 calls: type: array items: type: object properties: to: type: string value: type: string data: type: string required: - to - value - data bridgeName: type: string required: - from - chainId - amountsOut - referenceId - methodUsed - calls example: status: 200 msg: success data: - dexName: UniswapV2 amountsOut: '3696603530' chainId: '1' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D' value: '1000000' gas: '800000' data: '0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b40200000000000000000000000000000000000000000000000000000193817718420000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f' estimationCheck: 'Returned error: insufficient funds for gas * price + value: address 0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402 have 17695120464000 want 136837418655888595' referenceId: 01dac9c06f08417e826b42e28a403d50 - dexName: SushiswapV2 amountsOut: '3693198033' chainId: '1' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F' value: '1000000' gas: '800000' data: '0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b40200000000000000000000000000000000000000000000000000000193817718420000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f' estimationCheck: 'Returned error: insufficient funds for gas * price + value: address 0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402 have 17695120464000 want 136837418655888595' referenceId: 01dac9c06f08417e826b42e28a403d50 - dexName: UniswapV3 amountsOut: '3696374718' chainId: '1' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45' value: '1000000' gas: '800000' data: '0xac9650d8000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000e404e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b40200000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000412210e8a00000000000000000000000000000000000000000000000000000000' estimationCheck: 'Returned error: insufficient funds for gas * price + value: address 0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402 have 17695120464000 want 136837418655888595' referenceId: 01dac9c06f08417e826b42e28a403d50 - dexName: 0x amountsOut: '3695949530' chainId: '1' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0x70bf6634ee8cb27d04478f184b9b8bb13e5f4710' value: '1000000' gas: '800000' data: '0x1fff991f000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b4020000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000da29e44400000000000000000000000000000000000000000000000000000000000000a049f45b98764cc9c837ea3898a1a07800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000380000000000000000000000000000000000000000000000000000000000000010438c9c147000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000024d0e30db00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001a4d92aadfb00000000000000000000000070bf6634ee8cb27d04478f184b9b8bb13e5f47100000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000dcb2edbfd08400449e9d945c57f1a4d289fba1d97785d27b93b45020f6886192880ae61300000000000000000000000000000000000000000000000000000000674c263b000000000000000000000000b02f39e382c90160eb816de5e0e428ac771d77b50000000000000000000000000000000000000000000000000000000000000120000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000411b64c63d6976390e6613f9da98022a6e01a9d4f499060dacefb87225e98132c1c6778cd65649acc761390e0d6a32870eef601a9fcf751b7e65b4af84ea90c3f7270000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012438c9c1470000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000000f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000044a9059cbb000000000000000000000000ad01c20d5886137e056775af56915de824c8fce500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' estimationCheck: 'Returned error: insufficient funds for gas * price + value: address 0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402 have 17695120464000 want 136837418655888595' referenceId: 01dac9c06f08417e826b42e28a403d50 - dexName: Kyberswap amountsOut: '3696603530' chainId: '1' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0x6131B5fae19EA4f9D964eAc0408E4408b66337b5' value: '1000000' gas: '800000' data: '0xe21fd0e90000000000000000000000000000000000000000000000000000000000000020000000000000000000000000f081470f5c6fbccf48cc4e5b82dd926409dcdd67000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000480000000000000000000000000000000000000000000000000000000000000068000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b40200000000000000000000000000000000000000000000000000000000674c2aaa0000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000040989238340000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000aaaaaaaaa24eeeb8d57d431224f73832bc34f68800000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae900000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400e00deaa0000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000800000000000000000000000007a7d6209d5950bb3b5b3a7724eeb48df8e8a1a630000000000000000000000007fc66500c84a76ad7e9c93437bfc5ac33e2ddae90000000000000000000000006b175474e89094c44da98b954eedeac495271d0f00000000000000000000000000000000000000000000000000000000017ca44e000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000003a8e0000000000000000000000037d82cb19000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b40200000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002137b22536f75726365223a22657870616e64222c22416d6f756e74496e555344223a22302e30303030303030303337303935333233323336383531222c22416d6f756e744f7574555344223a2230222c22526566657272616c223a22222c22466c616773223a302c22416d6f756e744f7574223a2230222c2254696d657374616d70223a313733333034333730362c22496e74656772697479496e666f223a7b224b65794944223a2231222c225369676e6174757265223a2243756e47794b4155314c357567746a53554563565a68674d38505a41534b634d444b5732346a367635337a425a585852497570492b4d7432685165704e7574704e4965716a532f6e716d4a384c2b697979373278497556563671582f71354550534b79324a7a716f4630765a444d3551484664473332302b5571784b4c5132734e79686e62756f4d685a76715a4c7932546e6f315474584238325771456739417a57516b33463875434d57776c716b717a75463869366a4a6a34666d62427455354c6a5533694d592f7077527a477a68523738736368414e59697569544a316d64753177413158373676334839427a52726c4e4131666747316a67474459314b596857785576386e376e3437632f6e6d3064532b5042466773394338336675377956765368696f5445574e52694b6a64613039334e577846305741436d396246784b7062564f377145304e55335968306432366372773d3d227d7d00000000000000000000000000' estimationCheck: 'Returned error: insufficient funds for gas * price + value: address 0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402 have 17695120464000 want 136837418655888595' referenceId: 01dac9c06f08417e826b42e28a403d50 x-bd-cu: '115' x-bd-cu-type: fixed x-internal: false components: schemas: _dex_addliquidity_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2400' - '2401' - '3000' - '3001' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' example: '1000' tokenA: type: string description: Address of the first token being added. example: '0x514910771AF9Ca656af840dff83E8264EcF986CA' tokenB: type: string description: Address of the second token being added. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountADesired: type: string description: 'Desired amount of token A to add as liquidity, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' amountBDesired: type: string description: 'Desired amount of token B to add as liquidity, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' amountAMin: type: string description: Minimum acceptable amount of token A in the token's smallest denomination (base units). Provides slippage protection — the transaction reverts if the deposited amount falls below this value. Set to "0" to disable slippage protection. example: '0' amountBMin: type: string description: Minimum acceptable amount of token B in the token's smallest denomination (base units). Provides slippage protection — the transaction reverts if the deposited amount falls below this value. Set to "0" to disable slippage protection. example: '0' deadline: type: string description: Deadline for the transaction to be executed (UNIX Timestamp). example: '1707313948' to: type: string description: Address of the recipient of the token. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Address of the sender of the token. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low slippage: type: string description: Percentage of total swap value allowed for slippage. By default, 1. example: '10' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false poolFees: type: string description: Different pool based on the fees. example: '3000' tokenId: type: string description: The token ID for Uniswap V3 liquidity position. example: '3238' path: type: array items: type: string description: 'Array of token contract addresses for the liquidity pool. Provide [tokenAAddress, tokenBAddress]. Example (LINK/USDC): [''0x514910771AF9Ca656af840dff83E8264EcF986CA'', ''0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''].' example: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: type: string description: 'Amount of tokens to add as liquidity, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' amountOut: type: string description: 'Amount of the output token to receive, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' fromInternalBalance: type: boolean description: True if sending from internal token balances, otherwise False for ERC20. example: false amountA: type: string description: 'Amount of token A, specified in the token''s smallest denomination (base units). Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' amountB: type: string description: 'Amount of token B, specified in the token''s smallest denomination (base units). Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' strategy: type: string description: 'Liquidity strategy to be used: spotUniform, curve, or bidask. Default is spotUniform.' enum: - stable - uncorrelated example: stable amountOutMin: type: string description: 'Minimum acceptable output amount in the token''s smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use "990000"; to require at least 0.99 WETH (18 decimals), use "990000000000000000".' example: '0' required: - tokenA - tokenB - amountADesired - amountBDesired - amountAMin - amountBMin - deadline - to - from - poolFees - path - amountIn - gas - amountOut - fromInternalBalance - amountA - amountB description: The request body for a /defi/v1/dex/addliquidity example: dexId: '1000' tokenA: '0x514910771AF9Ca656af840dff83E8264EcF986CA' tokenB: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountADesired: '1000000000000000000' amountBDesired: '1000000000000000000' amountAMin: '0' amountBMin: '0' deadline: '1707313948' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false poolFees: '3000' tokenId: '3238' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOut: '1000000000000000000' fromInternalBalance: false amountA: '1000000000000000000' amountB: '1000000000000000000' strategy: stable amountOutMin: '0' _dex_swap_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1900' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2600' - '2400' - '2401' - '1600' - '1602' - '1604' - '1605' - '1607' - '1608' - '1700' - '1701' - '1702' - '1703' - '1704' - '1706' - '1707' - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' - '3000' - '3001' - '3100' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' - '3800' - '3700' example: '1000' path: type: array items: type: string description: 'Ordered array of token contract addresses defining the swap route. Provide [tokenInAddress, tokenOutAddress] for a direct swap. Example (WETH→USDC on Ethereum): [''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'', ''0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''].' example: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' amountOutMin: type: string description: 'Minimum acceptable output amount in the token''s smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use "990000"; to require at least 0.99 WETH (18 decimals), use "990000000000000000".' example: '0' to: type: string description: Blockchain address of the token recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). Output tokens are delivered to this address after the swap. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' deadline: type: string description: 'Transaction expiry time as a Unix timestamp in seconds (not milliseconds). The transaction will revert if not submitted before this time. Example: to set a 20-minute deadline, use current Unix timestamp + 1200.' example: '1707313948' from: type: string description: Blockchain address of the token sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance of the input token and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low slippage: type: string description: 'Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percentage from the quoted price.' example: '10' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false poolFees: type: string description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' example: '3000' required: - path - amountIn - to - deadline - from description: The request body for a /defi/v1/dex/swap example: dexId: '1000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOutMin: '0' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' deadline: '1707313948' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false poolFees: '3000' _dex_publishorder_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '2200' orderType: type: string description: The type of order to publish. Can be 'create' or 'cancel'. Defaults to 'create'. enum: - create - cancel example: create makerAsset: type: string description: The token address of the asset that the Maker is selling. example: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' takerAsset: type: string description: The token address of the asset that the Maker expects in return. example: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' from: type: string description: The address of the sender (Maker) initiating the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: type: string description: The address of the recipient (Taker) for the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountIn: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' amountOut: type: string description: 'Amount of the output token to receive, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' deadline: type: string description: The deadline for the transaction to be executed (in UNIX Timestamp format). example: '1707313948' orderId: type: boolean description: The unique identifier of the order to retrieve. Use this to fetch details for a specific order. example: '95167' salt: type: string description: A randomized value to prevent replay attacks, used as an additional input in hashing. example: '140518201020656697335313758999689041588' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false required: - from description: The request body for a /defi/v1/dex/publishorder example: dexId: '2200' orderType: create makerAsset: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountIn: '1000000000000000000' amountOut: '1000000000000000000' deadline: '1707313948' orderId: '95167' salt: '140518201020656697335313758999689041588' enableFee: false _dex_createorder_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1900' - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '1900' amountOutMin: type: string description: 'Minimum acceptable output amount in the token''s smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use "990000"; to require at least 0.99 WETH (18 decimals), use "990000000000000000".' example: '0' decayStartTime: type: string description: The start time for Dutch auction bidding. Provide a UNIX Timestamp. example: '1741869257' decayEndTime: type: string description: The end time for Dutch auction bidding. Provide a UNIX Timestamp. example: '1741969257' deadline: type: string description: The latest time the transaction is valid before expiration. Provide a UNIX Timestamp. example: '1707313948' from: type: string description: The wallet address of the token sender. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' path: type: array items: type: string description: Array of token contract addresses for the order pair. Provide [inputTokenAddress, outputTokenAddress]. example: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' to: type: string description: The wallet address of the recipient of the token. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' slippage: type: string description: 'The percentage of the total swap value that is acceptable as slippage. Default: 1%. Valid range: 0% ≤ slippage ≤ 10%.' example: '10' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false makerAsset: type: string description: The token address of the asset the Maker is offering (selling) in the order. example: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' takerAsset: type: string description: The token address of the asset the Maker expects to receive (buying) in return. example: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' amountOut: type: string description: 'Amount of the output token to receive, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' required: - decayStartTime - decayEndTime - deadline - from - path - amountIn - to - makerAsset - takerAsset - amountOut description: The request body for a /defi/v1/dex/createorder example: dexId: '1900' amountOutMin: '0' decayStartTime: '1741869257' decayEndTime: '1741969257' deadline: '1707313948' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' slippage: '10' enableFee: false makerAsset: '0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270' takerAsset: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f' amountOut: '1000000000000000000' _dex_fillorder_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '2200' orderId: type: array items: type: string description: The ID of the limit order to be filled. example: - '95167' from: type: string description: The wallet address of the Taker that will receive the Maker asset. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountIn: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false required: - orderId - from - amountIn description: The request body for a /defi/v1/dex/fillorder example: dexId: '2200' orderId: - '95167' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountIn: '1000000000000000000' gas: '100000' gasPriority: low enableFee: false _dex_swapaggregator_Request: type: object properties: chainId: type: string description: The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains). enum: - '1' - '43114' - '56' - '137' - '42161' - '10' - '8453' - '324' - '5000' - '900' - '1400' - '1200' - '101' - '1700' - '1500' - '1100' - '1600' - '8217' example: '1' path: type: array items: type: string description: 'Ordered array of token contract addresses defining the swap route. Provide [tokenInAddress, tokenOutAddress] for a direct swap. Example (WETH→USDC on Ethereum): [''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'', ''0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''].' example: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' chainSymbol: type: string description: The abbreviated chain name for queries or transactions. example: ETH from: type: string description: Blockchain address of the token sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance of the input token and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' to: type: string description: Blockchain address of the token recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). Output tokens are delivered to this address after the swap. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' poolFees: type: string description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' example: '3000' excludedDexes: type: string description: Comma-separated list of DEX protocol IDs (dexId values) to exclude from routing. Find available IDs via the /support endpoint. example: '1700' bestNetPrice: type: boolean description: If true, sorts prepared transactions by net value (amountsOut minus gas) in descending order. If multiple sort parameters are true, bestNetPrice takes precedence. example: false bestQuote: type: boolean description: If true, sorts prepared transactions by amountsOut in descending order. If multiple sort parameters are true, bestNetPrice takes precedence. example: false lowestGas: type: boolean description: If true, sorts prepared transactions by gas cost in ascending order. If multiple sort parameters are true, bestNetPrice takes precedence. example: false gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low amountOutMin: type: string description: 'Minimum acceptable output amount in the token''s smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use "990000"; to require at least 0.99 WETH (18 decimals), use "990000000000000000".' example: '0' slippage: type: string description: 'Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percentage from the quoted price.' example: '10' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false required: - path - amountIn - from - to description: The request body for a /defi/v1/dex/swaps example: chainId: '1' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' chainSymbol: ETH from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' poolFees: '3000' excludedDexes: '1700' bestNetPrice: false bestQuote: false lowestGas: false gasPriority: low amountOutMin: '0' slippage: '10' enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false _dex_swapwithapproval_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2600' - '2400' - '2401' - '1600' - '1602' - '1604' - '1605' - '1607' - '1608' - '1700' - '1701' - '1702' - '1703' - '1704' - '1706' - '1707' - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' - '3000' - '3001' - '3100' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' - '3800' - '3700' example: '1000' path: type: array items: type: string description: 'Ordered array of token contract addresses defining the swap route. Provide [tokenInAddress, tokenOutAddress] for a direct swap. Example (WETH→USDC on Ethereum): [''0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2'', ''0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''].' example: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: type: string description: 'Amount of the input token to provide, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000000000"; to swap 1 USDC (6 decimals), use "1000000".' example: '1000000000000000000' amountOutMin: type: string description: 'Minimum acceptable output amount in the token''s smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use "990000"; to require at least 0.99 WETH (18 decimals), use "990000000000000000".' example: '0' to: type: string description: Blockchain address of the token recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). Output tokens are delivered to this address after the swap. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' deadline: type: string description: 'Transaction expiry time as a Unix timestamp in seconds (not milliseconds). The transaction will revert if not submitted before this time. Example: to set a 20-minute deadline, use current Unix timestamp + 1200.' example: '1707313948' from: type: string description: Blockchain address of the token sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance of the input token and will sign the transaction. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low slippage: type: string description: 'Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percentage from the quoted price.' example: '10' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false batchOption: type: string description: 'Transaction batching standard to use. Supported values: ''EIP-5792'' (wallet-level batching via wallet_sendCalls) or ''EIP-7702'' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.' enum: - EIP-5792 - EIP-7702 example: EIP-5792 batcherContract: type: string description: The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used. example: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: type: boolean description: When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction. example: false poolFees: type: string description: 'Fee tier of the target liquidity pool in basis points (1 bp = 0.01%). Common values for Uniswap V3-style AMMs: 100 (0.01%), 500 (0.05%), 3000 (0.3%), 10000 (1%). If omitted, the pool yielding the highest output amount is selected automatically.' example: '3000' required: - path - amountIn - to - deadline - from description: The request body for a /defi/v1/dex/swap-with-approval example: dexId: '1000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOutMin: '0' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' deadline: '1707313948' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false batchOption: EIP-5792 batcherContract: '0x9c933f9d2efd76ce25b0d3dde84d3f94e78a50ca' simulate: false poolFees: '3000' _dex_cancelorder_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '2200' - '2201' - '2202' - '2203' - '2204' - '2205' - '2206' example: '2200' orderId: type: array items: type: string description: An array containing the Order ID(s) of the limit orders to be canceled. example: - '95167' from: type: string description: The public address of the user requesting the cancellation. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false required: - orderId - from description: The request body for a /defi/v1/dex/cancelorder example: dexId: '2200' orderId: - '95167' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' enableFee: false _dex_removeliquidity_Request: type: object properties: dexId: type: string description: The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols). enum: - '1000' - '1001' - '1300' - '1301' - '1305' - '1306' - '1307' - '1308' - '1309' - '1310' - '1100' - '1101' - '1200' - '1201' - '2900' - '2901' - '2800' - '2808' - '2809' - '1500' - '1400' - '1402' - '2300' - '2100' - '2101' - '2500' - '2501' - '2700' - '2400' - '2401' - '3000' - '3001' - '3300' - '3301' - '3500' - '3501' - '3400' - '3401' - '3600' example: '1000' tokenA: type: string description: Address of the first token being removed. example: '0x514910771AF9Ca656af840dff83E8264EcF986CA' tokenB: type: string description: Address of the second token being removed. example: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' liquidity: type: string description: 'Amount of liquidity pool (LP) tokens to remove, specified in the token''s smallest denomination (base units). Examples: 1 LP token (18 decimals) = "1000000000000000000".' example: '1000000000000000000' amountAMin: type: string description: Minimum acceptable amount of token A in the token's smallest denomination (base units). Provides slippage protection — the transaction reverts if the deposited amount falls below this value. Set to "0" to disable slippage protection. example: '0' amountBMin: type: string description: Minimum acceptable amount of token B in the token's smallest denomination (base units). Provides slippage protection — the transaction reverts if the deposited amount falls below this value. Set to "0" to disable slippage protection. example: '0' deadline: type: string description: Deadline for the transaction to be executed (UNIX Timestamp). example: '1707313948' to: type: string description: Address of the recipient of the token. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: type: string description: Address of the sender of the token. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: type: string description: 'Maximum number of gas units to allocate for the transaction, as an integer string (e.g., ''200000''). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.' example: '100000' gasPriority: type: string description: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost. example: low slippage: type: string description: 'Percentage of total value allowed for slippage. Default is 1. Range: 0 <= slippage <= 100.' example: '10' enableFee: type: boolean description: Flag to include a basis points fee transaction alongside the main transaction when set to true. example: false tokenId: type: string description: The token ID for Uniswap V3 liquidity position. example: '3238' amountAMax: type: string description: Maximum amount of token A in the token's smallest denomination (base units). example: '1000000000000000000' amountBMax: type: string description: Maximum amount of token B in the token's smallest denomination (base units). example: '1000000000000000000' recipient: type: string description: Recipient for sweep tokens. example: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountADesired: type: string description: 'Desired amount of token A to add as liquidity, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' amountBDesired: type: string description: 'Desired amount of token B to add as liquidity, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' path: type: array items: type: string description: 'Array of token contract addresses for the liquidity pool. Provide [tokenAAddress, tokenBAddress]. Example (LINK/USDC): [''0x514910771AF9Ca656af840dff83E8264EcF986CA'', ''0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48''].' example: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: type: string description: 'Amount of tokens to add as liquidity, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' amountOut: type: string description: 'Amount of the output token to receive, specified in the token''s smallest denomination (base units). Do not send human-readable decimal values. Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '1000000000000000000' toInternalBalance: type: string description: True if receiving tokens as internal token balances. False if receiving as ERC20. example: false binStep: type: string description: Difference between two consecutive bins. example: '20' ids: type: string description: Bin IDs that liquidity should be removed from. example: 8375816,8375817 amounts: type: string description: 'Array of token amounts to remove as liquidity, each specified in the token''s smallest denomination (base units). Examples: 1 WETH (18 decimals) = "1000000000000000000"; 1 USDC (6 decimals) = "1000000".' example: '10000' positionNFT: type: string description: LP token that represents a position in a pool. example: 45z3G8PxyTuFa9tbr9QMmscGVHvZir4vQK1U5LRKeSQd poolAddress: type: string description: The address of the pool. example: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' amountOutMin: type: string description: 'Minimum acceptable output amount in the token''s smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use "990000"; to require at least 0.99 WETH (18 decimals), use "990000000000000000".' example: '0' poolFees: type: string description: Different pool based on the fees. By default, it is selected as 2500. example: '3000' required: - tokenA - tokenB - liquidity - amountAMin - amountBMin - deadline - to - from - tokenId - amountADesired - amountBDesired - path - gas - amountIn - amountOut - toInternalBalance - binStep - ids - amounts - positionNFT - poolAddress description: The request body for a /defi/v1/dex/removeliquidity example: dexId: '1000' tokenA: '0x514910771AF9Ca656af840dff83E8264EcF986CA' tokenB: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' liquidity: '1000000000000000000' amountAMin: '0' amountBMin: '0' deadline: '1707313948' to: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' from: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' gas: '100000' gasPriority: low slippage: '10' enableFee: false tokenId: '3238' amountAMax: '1000000000000000000' amountBMax: '1000000000000000000' recipient: '0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402' amountADesired: '1000000000000000000' amountBDesired: '1000000000000000000' path: - '0x514910771AF9Ca656af840dff83E8264EcF986CA' - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' amountIn: '1000000000000000000' amountOut: '1000000000000000000' toInternalBalance: false binStep: '20' ids: 8375816,8375817 amounts: '10000' positionNFT: 45z3G8PxyTuFa9tbr9QMmscGVHvZir4vQK1U5LRKeSQd poolAddress: '0xfad57d2039c21811c8f2b5d5b65308aa99d31559' amountOutMin: '0' poolFees: '3000' securitySchemes: ApiKeyAuth: type: apiKey in: header name: X-API-Key description: '`X-API-Key: ` header must be set to authenticate API requests.You can create tokens in the "Configure" tab of your API access area at https://app.blockdaemon.com.' externalDocs: description: Blockdaemon DeFi documentation url: http://www.blockdaemon.com/api/defi x-provenance: method: searched source: https://docs.blockdaemon.com/reference harvested: '2026-10-14' tool: harvest-readme-openapi.py note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored. assembled_from: - https://docs.blockdaemon.com/reference/aagetpaymasterdata.md - https://docs.blockdaemon.com/reference/aagetsignaturemessage.md - https://docs.blockdaemon.com/reference/aagetuserops.md - https://docs.blockdaemon.com/reference/aasenduserops.md - https://docs.blockdaemon.com/reference/accountv1allowance.md - https://docs.blockdaemon.com/reference/accountv1portfolio.md - https://docs.blockdaemon.com/reference/bridgeaddliquidity.md - https://docs.blockdaemon.com/reference/bridgegetliquidity.md - https://docs.blockdaemon.com/reference/bridgegetroute.md - https://docs.blockdaemon.com/reference/bridgegetsignature.md - https://docs.blockdaemon.com/reference/bridgegetsupportedchains.md - https://docs.blockdaemon.com/reference/bridgegetsupportedtokens.md - https://docs.blockdaemon.com/reference/bridgeprice.md - https://docs.blockdaemon.com/reference/bridgequotes.md - https://docs.blockdaemon.com/reference/bridgeremoveliquidity.md - https://docs.blockdaemon.com/reference/bridgeswap.md - https://docs.blockdaemon.com/reference/bridgeswaps.md - https://docs.blockdaemon.com/reference/bridgeswapwithapproval.md - https://docs.blockdaemon.com/reference/bridgetokens.md - https://docs.blockdaemon.com/reference/bridgetransactions.md - https://docs.blockdaemon.com/reference/bridgeunlock.md - https://docs.blockdaemon.com/reference/chaincreateaccount.md - https://docs.blockdaemon.com/reference/chaincreatefeetransaction.md - https://docs.blockdaemon.com/reference/chaindecodetransaction.md - https://docs.blockdaemon.com/reference/chainestimategas.md - https://docs.blockdaemon.com/reference/chaingenericsmartcontractmethod.md - https://docs.blockdaemon.com/reference/chaingetapprovaldata.md - https://docs.blockdaemon.com/reference/chaingetbalance.md - https://docs.blockdaemon.com/reference/chaingetblock.md - https://docs.blockdaemon.com/reference/chaingetevents.md - https://docs.blockdaemon.com/reference/chaingetgasfees.md - https://docs.blockdaemon.com/reference/chaingetgasprice.md - https://docs.blockdaemon.com/reference/chaingethistoricalrewards.md - https://docs.blockdaemon.com/reference/chaingetlatestledger.md - https://docs.blockdaemon.com/reference/chaingetstakepositions.md - https://docs.blockdaemon.com/reference/chaingetstorage.md - https://docs.blockdaemon.com/reference/chaingetsuibalance.md - https://docs.blockdaemon.com/reference/chaingettokenaddress.md - https://docs.blockdaemon.com/reference/chaingettransaction.md - https://docs.blockdaemon.com/reference/chaingetusertransactions.md - https://docs.blockdaemon.com/reference/chainregistercoin.md - https://docs.blockdaemon.com/reference/chainsendtransaction.md - https://docs.blockdaemon.com/reference/chainsimulatetransaction.md - https://docs.blockdaemon.com/reference/dexaddliquidity.md - https://docs.blockdaemon.com/reference/dexcancelorder.md - https://docs.blockdaemon.com/reference/dexcreateorder.md - https://docs.blockdaemon.com/reference/dexfillorder.md - https://docs.blockdaemon.com/reference/dexgetactiveamount.md - https://docs.blockdaemon.com/reference/dexgethistoricaltimeseries.md - https://docs.blockdaemon.com/reference/dexgethistoricaltransactions.md - https://docs.blockdaemon.com/reference/dexgetindividualposition.md - https://docs.blockdaemon.com/reference/dexgetliquiditybytick.md - https://docs.blockdaemon.com/reference/dexgetliquiditysources.md - https://docs.blockdaemon.com/reference/dexgetmakerorders.md - https://docs.blockdaemon.com/reference/dexgetorders.md - https://docs.blockdaemon.com/reference/dexgetpool.md - https://docs.blockdaemon.com/reference/dexgetpoolchartdata.md - https://docs.blockdaemon.com/reference/dexgetpoolindividualliquidity.md - https://docs.blockdaemon.com/reference/dexgetpoolliquidity.md - https://docs.blockdaemon.com/reference/dexgetpooltradedata.md - https://docs.blockdaemon.com/reference/dexgetroute.md - https://docs.blockdaemon.com/reference/dexgettokenidprice.md - https://docs.blockdaemon.com/reference/dexgettokenliquidity.md - https://docs.blockdaemon.com/reference/dexgetuserliquidity.md - https://docs.blockdaemon.com/reference/dexgetusertokenids.md - https://docs.blockdaemon.com/reference/dexgetwalletposition.md - https://docs.blockdaemon.com/reference/dexprice.md - https://docs.blockdaemon.com/reference/dexpublishorder.md - https://docs.blockdaemon.com/reference/dexquotes.md - https://docs.blockdaemon.com/reference/dexremoveliquidity.md - https://docs.blockdaemon.com/reference/dexswap.md - https://docs.blockdaemon.com/reference/dexswaps.md - https://docs.blockdaemon.com/reference/dexswapwithapproval.md - https://docs.blockdaemon.com/reference/fungibletokenapprove.md - https://docs.blockdaemon.com/reference/fungibletokenconvertbasetokentowraptoken.md - https://docs.blockdaemon.com/reference/fungibletokenconvertwraptokentobasetoken.md - https://docs.blockdaemon.com/reference/fungibletokengettokendetails.md - https://docs.blockdaemon.com/reference/fungibletokengettokensupply.md - https://docs.blockdaemon.com/reference/fungibletokengetuserbalance.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricallogs.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricaltransactions.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricalusertransactions.md - https://docs.blockdaemon.com/reference/fungibletokenhistoricalweth.md - https://docs.blockdaemon.com/reference/fungibletokentransfer.md - https://docs.blockdaemon.com/reference/fungibletokentransferfrom.md - https://docs.blockdaemon.com/reference/getapimetadatav2.md - https://docs.blockdaemon.com/reference/lendborrowallow.md - https://docs.blockdaemon.com/reference/lendborrowborrow.md - https://docs.blockdaemon.com/reference/lendborrowbundleactions.md - https://docs.blockdaemon.com/reference/lendborrowclaimrewards.md - https://docs.blockdaemon.com/reference/lendborrowdeposit.md - https://docs.blockdaemon.com/reference/lendborrowdepositwithapproval.md - https://docs.blockdaemon.com/reference/lendborrowentermarket.md - https://docs.blockdaemon.com/reference/lendborrowentermarketstatus.md - https://docs.blockdaemon.com/reference/lendborrowexitisolationmode.md - https://docs.blockdaemon.com/reference/lendborrowexitmarket.md - https://docs.blockdaemon.com/reference/lendborrowgetassetinfo.md - https://docs.blockdaemon.com/reference/lendborrowgetclaimedrewards.md - https://docs.blockdaemon.com/reference/lendborrowgetgovernordata.md - https://docs.blockdaemon.com/reference/lendborrowgetmaxamounts.md - https://docs.blockdaemon.com/reference/lendborrowgetuseraccountdata.md - https://docs.blockdaemon.com/reference/lendborrowmigrate.md - https://docs.blockdaemon.com/reference/lendborrowpool.md - https://docs.blockdaemon.com/reference/lendborrowpools.md - https://docs.blockdaemon.com/reference/lendborrowrepay.md - https://docs.blockdaemon.com/reference/lendborrowsetuseremode.md - https://docs.blockdaemon.com/reference/lendborrowtransfer.md - https://docs.blockdaemon.com/reference/lendborrowuserpositions.md - https://docs.blockdaemon.com/reference/lendborrowwithdraw.md - https://docs.blockdaemon.com/reference/lendborrowwithdrawwithapproval.md - https://docs.blockdaemon.com/reference/liquidstakingapprovewithdrawal.md - https://docs.blockdaemon.com/reference/liquidstakingburn.md - https://docs.blockdaemon.com/reference/liquidstakingclaim.md - https://docs.blockdaemon.com/reference/liquidstakingdecreaseallowance.md - https://docs.blockdaemon.com/reference/liquidstakingdelegate.md - https://docs.blockdaemon.com/reference/liquidstakinggetallowance.md - https://docs.blockdaemon.com/reference/liquidstakinggetapr.md - https://docs.blockdaemon.com/reference/liquidstakinggetprotocolapr.md - https://docs.blockdaemon.com/reference/liquidstakinggetrewards.md - https://docs.blockdaemon.com/reference/liquidstakinggetstake.md - https://docs.blockdaemon.com/reference/liquidstakinggetwithdrawalrequests.md - https://docs.blockdaemon.com/reference/liquidstakinggetwithdrawalstatus.md - https://docs.blockdaemon.com/reference/liquidstakingincreaseallowance.md - https://docs.blockdaemon.com/reference/liquidstakingmint.md - https://docs.blockdaemon.com/reference/liquidstakingrequestwithdrawal.md - https://docs.blockdaemon.com/reference/liquidstakingrestake.md - https://docs.blockdaemon.com/reference/liquidstakingstake.md - https://docs.blockdaemon.com/reference/liquidstakingundelegate.md - https://docs.blockdaemon.com/reference/liquidstakingunwrap.md - https://docs.blockdaemon.com/reference/liquidstakingwrap.md - https://docs.blockdaemon.com/reference/nftgetbalance.md - https://docs.blockdaemon.com/reference/nftgetmetadata.md - https://docs.blockdaemon.com/reference/nftgetowner.md - https://docs.blockdaemon.com/reference/nfthistoricallogs.md - https://docs.blockdaemon.com/reference/nfthistoricaltransactions.md - https://docs.blockdaemon.com/reference/oraclegetprice.md - https://docs.blockdaemon.com/reference/oraclegetsupportedtokens.md - https://docs.blockdaemon.com/reference/rwaburn.md - https://docs.blockdaemon.com/reference/rwafreeze.md - https://docs.blockdaemon.com/reference/rwagetallassets.md - https://docs.blockdaemon.com/reference/rwagetasset.md - https://docs.blockdaemon.com/reference/rwagetownerassets.md - https://docs.blockdaemon.com/reference/rwaissue.md - https://docs.blockdaemon.com/reference/rwaregister.md - https://docs.blockdaemon.com/reference/rwasettrustline.md - https://docs.blockdaemon.com/reference/rwatransfer.md - https://docs.blockdaemon.com/reference/rwaunfreeze.md - https://docs.blockdaemon.com/reference/stablecoingetprice.md - https://docs.blockdaemon.com/reference/syntheticdepositpeggedtoken.md - https://docs.blockdaemon.com/reference/syntheticgetprice.md - https://docs.blockdaemon.com/reference/syntheticwithdrawpeggedtoken.md - https://docs.blockdaemon.com/reference/wethgetbalance.md - https://docs.blockdaemon.com/reference/wethhistoricallogs.md - https://docs.blockdaemon.com/reference/yieldaggregatoraddliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatordepositpool.md - https://docs.blockdaemon.com/reference/yieldaggregatordepositvault.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetbalance.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarketdata.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarkets.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetmarkettokens.md - https://docs.blockdaemon.com/reference/yieldaggregatorgetvaults.md - https://docs.blockdaemon.com/reference/yieldaggregatormint.md - https://docs.blockdaemon.com/reference/yieldaggregatorredeem.md - https://docs.blockdaemon.com/reference/yieldaggregatorremoveliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatorswap.md - https://docs.blockdaemon.com/reference/yieldaggregatortransferliquidity.md - https://docs.blockdaemon.com/reference/yieldaggregatorwithdrawpool.md - https://docs.blockdaemon.com/reference/yieldaggregatorwithdrawvault.md merge: pages: 168 deduped: 167 conflicts_kept_first: 0