Skip to content

Add pricing only FX server and client methods to get pricing information from estimates#210

Merged
ezraripps merged 4 commits intomainfrom
feature/add-pricing-to-fx-client-server
Mar 11, 2026
Merged

Add pricing only FX server and client methods to get pricing information from estimates#210
ezraripps merged 4 commits intomainfrom
feature/add-pricing-to-fx-client-server

Conversation

@ezraripps
Copy link
Copy Markdown
Member

No description provided.

@ezraripps ezraripps self-assigned this Mar 7, 2026
@ezraripps ezraripps requested a review from rkeene March 7, 2026 01:28
Comment thread src/services/fx/common.ts
Comment on lines +89 to +110
} & (
{
canPerformExchange: false;
} | ({
canPerformExchange?: true;
} & ({
/**
* Indicates that a quote is required before proceeding with the exchange
*/
requiresQuote: false;

/**
* Liquidity provider account if the user is not going to request a quote before the exchange
*/
account: KeetaNetAccount | KeetaNetStorageAccount;
} | {
/**
* Indicates that a quote is required before proceeding with the exchange, defaults to true
*/
requiresQuote?: true;
}))
);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary to fix now, but for future updates this might be easier to read as separate types of FX Server configs. The combination of union and intersect types starts to get harder to read.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its okay to leave for now.

@rkeene rkeene added this to the v0.0.43 milestone Mar 11, 2026
Comment thread src/services/fx/server.ts Outdated
Comment thread src/services/fx/server.ts
@sonarqubecloud
Copy link
Copy Markdown

@ezraripps ezraripps merged commit 3957856 into main Mar 11, 2026
2 checks passed
@ezraripps ezraripps deleted the feature/add-pricing-to-fx-client-server branch March 11, 2026 22:44
rkeene added a commit that referenced this pull request Mar 16, 2026
This is KeetaNet Anchor v0.0.43 which has the following changes:
- 339c9f3 Allow fx anchors to list the
affinities they support in the metadata (#215)
- 08972f9 Feature: Icons Storage Client
(#214)
- 6659d09 Add metadata and errors on
which operations an asset movement provider supports for a rail (#171)
- 6a7eba8 Upgrade to KeetaNet Node and
Client v0.16.0 (#217)
- 3957856 Add pricing only FX server
and client methods to get pricing information from estimates (#210)
- efa2c52 Add codegen to make adding
new bank account locations easier (#168)
- 6dd9abe Add additional opaque
metadata to asset movement transfers (#213)
- 1ad15ed Cleanup JSON Exports (#209)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants