Skip to main content

Module: utils/lib

getTransactionReceipt()

getTransactionReceipt(
provider,
txHash,
confirmations?,
timeout?): Promise< null | TransactionReceipt >

Waits for a transaction receipt if confirmations or timeout is provided Otherwise tries to fetch straight away.

Parameters

ParameterTypeDescription
providerProvider
txHashstring
confirmations?number
timeout?number

Returns

Promise\< null | TransactionReceipt >

Source

arbitrum-sdk/src/lib/utils/lib.ts:27