Skip to content

Commit

Permalink
GqlGraphTraversalConfigInput docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gmbronco committed Dec 8, 2023
1 parent c8fa704 commit 614498f
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions modules/beethoven/balancer-sdk.gql
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,33 @@ input GqlSorSwapOptionsInput {
forceRefresh: Boolean #don't use any cached responses
}

"""
Configuration options for SOR V2
"""
input GqlGraphTraversalConfigInput {
maxDepth: Int # default 6
maxNonBoostedPathDepth: Int # default 3
maxNonBoostedHopTokensInBoostedPath: Int # default 2
"""
The max hops in a path.
Default: 6
"""
maxDepth: Int
"""
Limit of "non-boosted" pools for efficiency.
Default: 6
"""
maxNonBoostedPathDepth: Int
"""
Limit non boosted hop tokens in a boosted path.
Default: 2
"""
maxNonBoostedHopTokensInBoostedPath: Int
"""
Max number of paths to return (can be less)
Default: 5
"""
approxPathsToReturn: Int # default 5
poolIdsToInclude: [String]
}
Expand Down

0 comments on commit 614498f

Please sign in to comment.