Method Signature
Parameters
{ invoice: SparkAddressFormat; amount?: bigint; }[]
required
Array of invoices to fulfill:
invoice: The Spark invoice to pay (must usespark1...prefix; legacysp1...invoices are not supported)amount: Amount to pay (required for invoices without an encoded amount; if both are provided, the encoded amount takes precedence)
Returns
FulfillSparkInvoiceResponse
required
Response containing results for all invoice payment attempts