{
  "x402Version": 2,
  "id": 13853,
  "slug": "13853",
  "resource": "https://the-composer.fly.dev/tx/build",
  "description": "Build one unsigned transaction from an IDL instruction",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "WzMaL78srutrF6CsxEkWuhMaDF5HZA6jNRaEPengqpb",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "accounts": {
              "mint": "<base58 pubkey>"
            },
            "args": {
              "amount": "1000000",
              "max_sol_cost": "100000"
            },
            "instruction": "buy",
            "payer": "<base58 pubkey that will sign>",
            "programId": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "resolvedAccounts": [],
            "signers": [
              "<pubkey>"
            ],
            "transaction": "<base64 v0 tx>"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {}
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "the-composer.fly.dev",
  "lastUpdated": "2026-08-31T15:53:36.463Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-31T15:53:36.319Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "the-composer.fly.dev",
    "manifest_name": "the-composer.fly.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}