Skip to content

Build cross-chain reference tracker #295

Description

@Kingsman-99

Labels: complexity: high

Add getCrossChainRef(invoiceId) that fetches the cross_chain_ref field for an invoice and parses it into a structured format. Also add setCrossChainRef for creators to attach a cross-chain reference at creation time.

Acceptance criteria:

  • getCrossChainRef(invoiceId) returns { ref: string | null }
  • parseChainRef(ref) returns { chain, txHash, blockNumber } when ref matches known formats
  • Exported with TypeScript types
  • Included in getInvoice response automatically

Metadata

Metadata

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