Skip to content

feat: add dynamic splits support to InitializeTransaction - #43

Merged
tekpriest merged 1 commit into
tekpriest:mainfrom
Jonathanthedeveloper:feature/dynamic-splits
Sep 17, 2026
Merged

tekpriest merged 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.
Comment thread src/transaction/interface.ts
@tekpriest
tekpriest merged commit d1245cf into tekpriest:main Sep 17, 2026
1 check passed
@tekpriest

tekpriest commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

available in v4.2.1

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