Skip to content

feat: add dynamic splits support to InitializeTransaction - #43

Open
Jonathanthedeveloper wants to merge 1 commit into
tekpriest:mainfrom
Jonathanthedeveloper:feature/dynamic-splits
Open

Jonathanthedeveloper wants to merge 1 commit into
tekpriest:mainfrom
Jonathanthedeveloper:feature/dynamic-splits

Conversation

@Jonathanthedeveloper

@Jonathanthedeveloper Jonathanthedeveloper commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Added a split property to InitializeTransaction interface for dynamic splits
  • Uses a discriminated union to enforce bearer_subaccount when bearer_type is subaccount

This allows passing a split configuration directly to the transaction initialize endpoint without pre-creating a split via the API.

References

Add a split property with discriminated union for bearer_type,
enforcing bearer_subaccount when bearer_type is subaccount.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I do not see where in their api this is, can you send me the link to check?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i added the link in the commit message already

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