diff --git a/src/index.ts b/src/index.ts index c5bdedd..bed2ed5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -411,7 +411,7 @@ export class FlashbotsBundleProvider extends providers.JsonRpcProvider { opts?.minTimestamp ), receipts: () => this.fetchReceipts(bundleTransactions), - bundleHash: response.result.bundleHash + bundleHash: response?.result?.bundleHash } }