Skip to content

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

@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 type to include maxTxWeight and maxOpReturnOutputs
  • Expose these constraints in the SDK client info response so callers can validate transaction construction against server-side limits
  • maxTxWeight: maximum allowed transaction weight (bytes) — useful for fee estimation and batching
  • maxOpReturnOutputs: 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

No one assigned

    Labels

    enhancementNew feature or request

    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