Skip to content

[Agent: cross-repo-impact] Support max_tx_weight and max_op_return_outputs from GetInfo #198

@arkanaai

Description

@arkanaai

Cross-Repo API Sync

Source: go-sdk#118 merged to master at 2026-03-25T14:21:54Z
Proto change: GetInfoResponse gained two new fields from arkd

New fields in GetInfoResponse

int64 max_tx_weight = 20;
int64 max_op_return_outputs = 21;

Required changes

  • Update GetInfoResponse struct to include max_tx_weight and max_op_return_outputs
  • Expose these constraints via the Rust SDK's info type so callers can validate transaction construction against server-side limits
  • max_tx_weight: maximum allowed transaction weight — useful for fee estimation and batching
  • max_op_return_outputs: maximum allowed OP_RETURN outputs per transaction

Related

  • go-sdk#118 (source of truth — protos updated here)
  • dotnet-sdk#43 (same change tracked for .NET)

[from: cross-repo-impact]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions