yield.trdefi.com

TRDEFI prepare request

TradingLiveeip155:8453Exactvia cdp
Calls · 30d
2→ 0%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 30 snapshots so far.
$0.26
Verified settled volume
13 settlements proven x402 by their on-chain EIP-3009 marker.
$0.020
Listed price
As published in the catalog. Always read the live 402 before paying.
2
Calls · 30d
Upstream's own call count for this endpoint, not ours.
1
Unique payers · 30d
Last called 2026-10-12 00:46Z
—
Upstream on-chain volume
Reported by the source catalog.
Paid to
0x4C96dA02d7120BFb81594d0e924B237e0c74660d

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "error": "Payment required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0x4C96dA02d7120BFb81594d0e924B237e0c74660d",
      "amount": "20000",
      "scheme": "exact",
      "network": "eip155:8453",
      "mimeType": "application/json",
      "resource": "https://yield.trdefi.com/v1/swaps",
      "description": "TRDEFI prepare request",
      "maxAmountRequired": "20000",
      "maxTimeoutSeconds": 3600
    },
    {
      "asset": "0x3600000000000000000000000000000000000000",
      "extra": {
        "name": "USDC",
        "version": "2"
      },
      "payTo": "0x4C96dA02d7120BFb81594d0e924B237e0c74660d",
      "amount": "20000",
      "scheme": "exact",
      "network": "eip155:5042",
      "mimeType": "application/json",
      "resource": "https://yield.trdefi.com/v1/swaps",
      "description": "TRDEFI prepare request",
      "maxAmountRequired": "20000",
      "maxTimeoutSeconds": 3600
    }
  ],
  "resource": {
    "url": "https://yield.trdefi.com/v1/swaps",
    "mimeType": "application/json",
    "description": "TRDEFI prepare request"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "type": "object",
            "required": [
              "strategyHash",
              "chain",
              "amount",
              "wallet"
            ],
            "properties": {
              "chain": {
                "type": "string",
                "description": "Network the position is on, e.g. \"base\"."
              },
              "amount": {
                "type": "string",
                "description": "Input amount in token base units, as an integer string, e.g. \"1000000\" for 1 USDC."
              },
              "wallet": {
                "type": "string",
                "description": "Your own EVM address that will sign the swap."
              },
              "direction": {
                "enum": [
                  "aToB",
                  "bToA"
                ],
                "type": "string",
                "description": "Which way round the pair to swap."
              },
              "strategyHash": {
                "type": "string",
                "description": "32-byte strategy hash of the position to swap against."
              }
            }
          },
          "type": "http",
          "method": "POST"
        },
        "output": {
          "type": "object",
          "example": {
            "note": "Sign with your own wallet. TRDEFI cannot sign or broadcast this.",
            "chain": "base",
            "amountOut": "999000",
            "transactions": [
              {
                "to": "0x111111338c5091e8440b67b168bae16a668ac0de",
                "data": "0x...",
                "value": "0"
              }
            ]
          },
          "description": "One unsigned transaction that performs the swap."
        }
      },
      "tags": [
        "stablecoin swap",
        "usdc usdt swap",
        "non-custodial swap",
        "defi swap",
        "prepare transaction",
        "on-chain settlement",
        "liquidity"
      ],
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "body": {
                "type": "object",
                "required": [
                  "strategyHash",
                  "chain",
                  "amount",
                  "wallet"
                ],
                "properties": {
                  "chain": {
                    "type": "string",
                    "description": "Network the position is on, e.g. \"base\"."
                  },
                  "amount": {
                    "type": "string",
                    "description": "Input amount in token base units, as an integer string, e.g. \"1000000\" for 1 USDC."
                  },
                  "wallet": {
                    "type": "string",
                    "description": "Your own EVM address that will sign the swap."
                  },
                  "direction": {
                    "enum": [
                      "aToB",
                      "bToA"
                    ],
                    "type": "string",
                    "description": "Which way round the pair to swap."
                  },
                  "strategyHash": {
                    "type": "string",
                    "description": "32-byte strategy hash of the position to swap against."
                  }
                }
              },
              "type": {
                "const": "http"
              },
              "method": {
                "const": "POST"
              }
            }
          },
          "output": {
            "type": "object",
            "example": {
              "note": "Sign with your own wallet. TRDEFI cannot sign or broadcast this.",
              "chain": "base",
              "amountOut": "999000",
              "transactions": [
                {
                  "to": "0x111111338c5091e8440b67b168bae16a668ac0de",
                  "data": "0x...",
                  "value": "0"
                }
              ]
            },
            "description": "One unsigned transaction that performs the swap."
          }
        }
      },
      "description": "Swap stablecoins against a live non-custodial liquidity position and receive the result on-chain. Give a strategy hash and an input amount; get back an unsigned transaction that settles the swap against that maker position. Use this when an agent needs to move USDC/USDT and prefers a real on-chain counterparty to a custodial venue: the swap is simulated first, and if it cannot succeed no transaction is returned at all, so a wallet is never handed one that is certain to revert.",
      "serviceName": "TRDEFI prepare swap"
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.02USDC≈ $0.02 USD
on Base · exact scheme

Pay 0.02 USDC on Base to 0x4C96…4660d. The signed payment is good for 1 hour.

USD Coin contract
0x8335…02913
Payment window
1 hour
As published
20000 smallest units
Buys
TRDEFI prepare request
Returns
application/json
20000units
on eip155:5042 · exact scheme

That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.

Token contract
0x3600…00000
Payment window
1 hour
Buys
TRDEFI prepare request
Returns
application/json
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0x4C96dA02d7120BFb81594d0e924B237e0c74660d",
    "amount": "20000",
    "scheme": "exact",
    "network": "eip155:8453",
    "mimeType": "application/json",
    "resource": "https://yield.trdefi.com/v1/swaps",
    "description": "TRDEFI prepare request",
    "maxAmountRequired": "20000",
    "maxTimeoutSeconds": 3600
  },
  {
    "asset": "0x3600000000000000000000000000000000000000",
    "extra": {
      "name": "USDC",
      "version": "2"
    },
    "payTo": "0x4C96dA02d7120BFb81594d0e924B237e0c74660d",
    "amount": "20000",
    "scheme": "exact",
    "network": "eip155:5042",
    "mimeType": "application/json",
    "resource": "https://yield.trdefi.com/v1/swaps",
    "description": "TRDEFI prepare request",
    "maxAmountRequired": "20000",
    "maxTimeoutSeconds": 3600
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "type": "object",
          "example": {
            "chain": "base",
            "amount": "1000000",
            "wallet": "0x0000000000000000000000000000000000000000",
            "direction": "aToB",
            "strategyHash": "0x5928c6b6c24c08615ddde8b832e6f4b135550601e2bb903dba4123c1b8ff8f2c"
          },
          "required": [
            "strategyHash",
            "chain",
            "amount",
            "wallet"
          ],
          "properties": {
            "chain": {
              "enum": [
                "ethereum",
                "base",
                "arbitrum",
                "optimism",
                "polygon",
                "arc"
              ],
              "type": "string",
              "description": "REQUIRED. Network the position is on. Note this list differs from /v1/positions, which ships on `base`, `arc` and `baseSepolia` only."
            },
            "amount": {
              "type": "string",
              "description": "REQUIRED. Input amount in token base units, as an integer string, e.g. \"1000000\" for 1 USDC. Must be greater than zero."
            },
            "wallet": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "description": "REQUIRED. Your own EVM address that will sign the swap."
            },
            "tokenIn": {
              "type": "string",
              "description": "Optional. Token you are selling, as a symbol or address. Use it to disambiguate the direction."
            },
            "tokenOut": {
              "type": "string",
              "description": "Optional. Token you are buying, as a symbol or address. Use it to disambiguate the direction."
            },
            "direction": {
              "enum": [
                "aToB",
                "bToA"
              ],
              "type": "string",
              "description": "Which way round the pair to swap. Omit to let the route infer it from `tokenIn`/`tokenOut`."
            },
            "strategyHash": {
              "type": "string",
              "pattern": "^0x[a-fA-F0-9]{64}$",
              "description": "REQUIRED. 32-byte strategy hash of the position to swap against."
            }
          }
        },
        "type": "http",
        "method": "POST"
      },
      "output": {
        "type": "object",
        "example": {
          "note": "Sign with your own wallet. TRDEFI cannot sign or broadcast this.",
          "chain": "base",
          "amountOut": "999000",
          "transactions": [
            {
              "to": "0x111111338c5091e8440b67b168bae16a668ac0de",
              "data": "0x...",
              "value": "0"
            }
          ]
        },
        "description": "One unsigned transaction that performs the swap."
      }
    },
    "tags": [
      "stablecoin swap",
      "usdc usdt swap",
      "non-custodial swap",
      "defi swap",
      "prepare transaction",
      "on-chain settlement",
      "liquidity"
    ],
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "example": {
                "chain": "base",
                "amount": "1000000",
                "wallet": "0x0000000000000000000000000000000000000000",
                "direction": "aToB",
                "strategyHash": "0x5928c6b6c24c08615ddde8b832e6f4b135550601e2bb903dba4123c1b8ff8f2c"
              },
              "required": [
                "strategyHash",
                "chain",
                "amount",
                "wallet"
              ],
              "properties": {
                "chain": {
                  "enum": [
                    "ethereum",
                    "base",
                    "arbitrum",
                    "optimism",
                    "polygon",
                    "arc"
                  ],
                  "type": "string",
                  "description": "REQUIRED. Network the position is on. Note this list differs from /v1/positions, which ships on `base`, `arc` and `baseSepolia` only."
                },
                "amount": {
                  "type": "string",
                  "description": "REQUIRED. Input amount in token base units, as an integer string, e.g. \"1000000\" for 1 USDC. Must be greater than zero."
                },
                "wallet": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "description": "REQUIRED. Your own EVM address that will sign the swap."
                },
                "tokenIn": {
                  "type": "string",
                  "description": "Optional. Token you are selling, as a symbol or address. Use it to disambiguate the direction."
                },
                "tokenOut": {
                  "type": "string",
                  "description": "Optional. Token you are buying, as a symbol or address. Use it to disambiguate the direction."
                },
                "direction": {
                  "enum": [
                    "aToB",
                    "bToA"
                  ],
                  "type": "string",
                  "description": "Which way round the pair to swap. Omit to let the route infer it from `tokenIn`/`tokenOut`."
                },
                "strategyHash": {
                  "type": "string",
                  "pattern": "^0x[a-fA-F0-9]{64}$",
                  "description": "REQUIRED. 32-byte strategy hash of the position to swap against."
                }
              }
            },
            "type": {
              "const": "http"
            },
            "method": {
              "const": "POST"
            }
          }
        },
        "output": {
          "type": "object",
          "example": {
            "note": "Sign with your own wallet. TRDEFI cannot sign or broadcast this.",
            "chain": "base",
            "amountOut": "999000",
            "transactions": [
              {
                "to": "0x111111338c5091e8440b67b168bae16a668ac0de",
                "data": "0x...",
                "value": "0"
              }
            ]
          },
          "description": "One unsigned transaction that performs the swap."
        }
      }
    },
    "description": "Swap stablecoins against a live non-custodial liquidity position and receive the result on-chain. Give a strategy hash and an input amount; get back an unsigned transaction that settles the swap against that maker position. Use this when an agent needs to move USDC/USDT and prefers a real on-chain counterparty to a custodial venue: the swap is simulated first, and if it cannot succeed no transaction is returned at all, so a wallet is never handed one that is certain to revert.",
    "serviceName": "TRDEFI prepare swap"
  }
}

Provenance

Seen in the source catalog
2026-10-12 00:46Z
Last indexed by Roundhouse
2026-10-26 22:20Z
Last enriched (probe, favicon, geo)
2026-10-02 17:15Z
x402 version
2
Max timeout
3600s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 30 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service yield.trdefi.com and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=yield.trdefi.com'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://yield.trdefi.com/v1/swaps, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.