Conversation
🟡 Heimdall Review Status
|
TRDEFI
force-pushed
the
add-trdefi-provider
branch
from
September 29, 2026 18:37
8c0ee60 to
3d75ab7
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New TRDEFI action provider (
typescript/agentkit/src/action-providers/trdefi): read-only access to TRDEFI, a non-custodial stablecoin liquidity venue.Actions
list_chains? blockchains in the TRDEFI catalogueget_stats? aggregate strategy/maker/pair totals and volumelist_strategies? open liquidity strategies on a chain (optional text/pair filters)get_strategy? one strategy by hashget_quote? read-only swap simulation at the current block (structured unavailability reasons for gated/unverified strategies)Notes
GETthe public TRDEFI API (https://yield.trdefi.com/api/*); no funds move, no keys needed. Mirrors thedefillamaprovider pattern (fetch + prune-free passthrough, mocked in tests).supportsNetwork()returns true (network-agnostic, likedefillama).trdefiActionProvider.test.ts(13 cases, fetch-mocked). Full suite green (63 suites / 917 tests), eslint + prettier +tsc --noEmitclean.minor).