{
  "x402Version": 2,
  "id": 2659,
  "slug": "2659",
  "resource": "https://arbipulse.theaslangroupllc.com/api/flash",
  "description": "Zero-capital flash-loan strategy builder — execution calldata for Aave V3 and Balancer with executor-contract templates. For autonomous DeFi agents.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "750000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "985iFjbnGQ3dJcwXnfRCMSrH4Jnc3kW1N6msR64B5KX1",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:480",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x79A02482A880bCe3F13E09da970dC34dB4cD24D1",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:196",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:999",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0xb88339CB7199b77E23DB6E890353E22632Ba630f",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k",
      "payTo": "62A253YPATFNJCPRKID3FKD77MYJFNTVRYRP4B4JWG36EGLPY7UXFWGI7I",
      "asset": "31566704",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "xrpl:0",
      "payTo": "rMnHeutYALco8RYFVcmuU4BCgSzBpPEh32",
      "asset": "XRP",
      "amount": "750000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "xrpl:0",
      "payTo": "rMnHeutYALco8RYFVcmuU4BCgSzBpPEh32",
      "asset": "524C555344000000000000000000000000000000",
      "amount": "0.75",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:56",
      "payTo": "0x50ab2018c06c6E4eAA9BA52057Eb55eD284912fc",
      "asset": "0x8d0D000Ee44948FC98c9B98A4FA4921476f08B0d",
      "amount": "750000000000000000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "amount": "100000",
            "asset": "USDC",
            "chain": "base",
            "protocol": "aave",
            "receiver": "your executor contract address",
            "strategy": "dex-arb"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "asset": "USDC",
            "calldata": "0x42b0b77c000000000000000000000000<receiver_address>000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda02913000000000000000000000000000000000000000000000000000000005f5e100000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "chain": "base",
            "estimated_gas_usd": 0.5,
            "execution_flow": [
              {
                "action": "Call flashLoanSimple on Aave Pool",
                "details": "Pool transfers 100,000 USDC to your receiver contract",
                "step": 1
              },
              {
                "action": "executeOperation callback fires",
                "details": "Your contract executes the arb — swap USDC→ETH on DEX A, ETH→USDC on DEX B",
                "step": 2
              },
              {
                "action": "Approve and repay",
                "details": "Approve Pool for 100,090 USDC (principal + 0.09% fee) — all in same tx",
                "step": 3
              },
              {
                "action": "Profit withdrawn",
                "details": "Remaining USDC balance is your profit — tx reverts if insufficient",
                "step": 4
              }
            ],
            "executor_contract_template": "interface IFlashLoanSimpleReceiver {\n  function executeOperation(address asset, uint256 amount, uint256 premium, address initiator, bytes calldata params) external returns (bool);\n}\n\ncontract FlashArb is IFlashLoanSimpleReceiver {\n  address constant AAVE_POOL = 0xA238Dd80C259a72e81d7e4664a9801593F98d1c5;\n  // ... implement executeOperation with your arb logic\n}",
            "flash_fee_pct": 0.09,
            "flash_fee_usd": 90,
            "gas_estimate_gwei": 250000,
            "loan_amount_usd": 100000,
            "net_profit_estimate_usd": 847.5,
            "onchain_resources": [
              {
                "name": "Aave V3 Flash Loan Docs",
                "url": "https://docs.aave.com/developers/guides/flash-loans"
              },
              {
                "name": "Aave Base Pool",
                "url": "https://basescan.org/address/0xA238Dd80C259a72e81d7e4664a9801593F98d1c5"
              }
            ],
            "pool_address": "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5",
            "protocol": "aave-v3",
            "pulse_suggestions": [],
            "required_approvals": [
              {
                "amount": "amount + fee after execution",
                "spender": "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5",
                "token": "USDC"
              }
            ],
            "risk_factors": [
              "Tx reverts if arb profit < loan fee",
              "Gas cost reduces net profit",
              "Front-running by MEV bots"
            ],
            "strategy_summary": "Aave V3 Base flash loan: borrow $100,000 USDC, execute DEX arbitrage, repay with 0.09% fee ($90), keep profit.",
            "strategy_type": "dex-arb"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "amount": {
                    "description": "loan amount in USD, e.g. 100000",
                    "type": "string"
                  },
                  "asset": {
                    "description": "USDC | USDT | WETH | WBTC | DAI (default: USDC)",
                    "type": "string"
                  },
                  "chain": {
                    "description": "ethereum | base | arbitrum | optimism | polygon (default: base)",
                    "type": "string"
                  },
                  "protocol": {
                    "description": "aave | balancer (default: aave)",
                    "type": "string"
                  },
                  "receiver": {
                    "description": "optional — shows template if not provided",
                    "type": "string"
                  },
                  "strategy": {
                    "description": "dex-arb | yield-arb | liquidation | custom (default: dex-arb)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_gxy6qn5p"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "arbipulse.theaslangroupllc.com",
  "lastUpdated": "2026-08-20T14:01:42.925Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-20T14:01:42.659Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "arbipulse.theaslangroupllc.com",
    "manifest_name": "arbipulse.theaslangroupllc.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}