Skip to Content
DocumentationTransactionsGet Logs

Get Logs

Retrieves logs for a transaction.

Returns: Promise<Array<string>>

const logs = await connection.getLogs(signature);

Options

  • signature: string - Transaction signature to get logs for

See also: Get Explorer Link, Get Recent Signature Confirmation

Last updated on