Skip to content

SDK Delta V2 docs#3

Open
andriy-shymkiv wants to merge 2 commits into
integrate/sdkfrom
integrate/sdk_delta-v2
Open

SDK Delta V2 docs#3
andriy-shymkiv wants to merge 2 commits into
integrate/sdkfrom
integrate/sdk_delta-v2

Conversation

@andriy-shymkiv
Copy link
Copy Markdown
Member

part of FRNT-1333

@linear
Copy link
Copy Markdown

linear Bot commented May 27, 2026

FRNT-1333

Comment thread sdk/modules/delta.mdx

await sdk.deltaV2.approveTokenForDelta("1000000000000000000", DAI);

const auction = await sdk.deltaV2.submitDeltaOrderV2({
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think this will look much nice if we drop V2 suffix for methods.
sdk.deltaV2.submitDeltaOrder

I left a comment to that effect in your SDK PR

Comment thread sdk/monetize.mdx
**Delta V2 vs V1.** V2 sends `partner` / `partnerAddress` / `partnerFeeBps` straight to the server, which resolves and validates them — no extra round-trip. V1 calls `getPartnerFee(partner)` locally inside `buildDeltaOrder` (response is cached per partner). Either way the fee lands on-chain at settlement; the V2 path is just one fewer network call.
</Note>

If you need the registered defaults programmatically (e.g., to show "0.25% fee" in your UI), call `getPartnerFee` directly:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe

Suggested change
If you need the registered defaults programmatically (e.g., to show "0.25% fee" in your UI), call `getPartnerFee` directly:
If you need to obtain the registered defaults programmatically (e.g., to show "0.25% fee" in your UI), call `getPartnerFee` directly:

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.

2 participants