Waits for the L1 transaction to be committed, including waiting for the specified number of confirmations.
Optional
confirmation: numberThe number of confirmations to wait for. Defaults to 1.
A promise that resolves to the transaction receipt once committed.
Interface representation of priority op response with a function that waits to commit a L1 transaction, including when given on optional confirmation number.