Interface PriorityL1OpResponse

Interface representation of priority op response with a function that waits to commit a L1 transaction, including when given on optional confirmation number.

interface PriorityL1OpResponse {
    hash: string;
    wait(confirmation?: number): Promise<TransactionReceipt>;
    waitFinalize(confirmation?: number): Promise<TransactionReceipt>;
    waitL1Commit(confirmation?: number): Promise<TransactionReceipt>;
}

Properties

hash: string

Methods

  • Parameters

    • Optionalconfirmation: number

    Returns Promise<TransactionReceipt>

  • Parameters

    • Optionalconfirmation: number

    Returns Promise<TransactionReceipt>

  • Waits for the L1 transaction to be committed, including waiting for the specified number of confirmations.

    Parameters

    • Optionalconfirmation: number

      The number of confirmations to wait for. Defaults to 1.

    Returns Promise<TransactionReceipt>

    A promise that resolves to the transaction receipt once committed.