GetSignatureStatusesApi: {
    getSignatureStatuses(
        signatures: Signature[],
        config?: Readonly<{ searchTransactionHistory?: boolean }>,
    ): Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>;
}

Type declaration

  • getSignatureStatuses:function
    • Returns the statuses of a list of signatures. Each signature must be a txid, the first signature of a transaction.

      Note: Unless the searchTransactionHistory configuration parameter is included, this method only searches the recent status cache of signatures, which retains statuses for all active slots plus MAX_RECENT_BLOCKHASHES rooted slots.

      Parameters

      • signatures: Signature[]

        An array of transaction signatures to confirm, as base-58 encoded strings (up to a maximum of 256)

      • Optionalconfig: Readonly<{ searchTransactionHistory?: boolean }>

      Returns Readonly<{ context: Readonly<{ slot: Slot }>; value: TValue }>