Skip to content

Build invoice rollover helper #296

Description

@Kingsman-99

Labels: complexity: high

Expose the contract's rollover_invoice function through a typed SDK method. When an invoice expires without full funding, callers should be able to roll it over into a new invoice preserving all settings.

Acceptance criteria:

  • rolloverInvoice(invoiceId, newDeadline, caller) builds and submits the rollover transaction
  • Returns the new invoice ID from the contract return value
  • Validates newDeadline > Date.now() / 1000 before submission
  • Preserves all original invoice options automatically

Metadata

Metadata

Assignees

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