Skip to content

Type Alias: WaitForReceiptInput

type WaitForReceiptInput = {
  boopHash: Hash;
  entryPoint?: Address;
  timeout?: number;
};

Defined in: apps/submitter/lib/handlers/waitForReceipt/types.ts:9

Input of a waitForReceipt call (boop/receipt route).

Properties

boopHash

boopHash: Hash;

Defined in: apps/submitter/lib/handlers/waitForReceipt/types.ts:14

Hash of the boop whose receipt is requested.


entryPoint?

optional entryPoint: Address;

Defined in: apps/submitter/lib/handlers/waitForReceipt/types.ts:11

Optional target entrypoint, in case the submitter supports multiple entrypoints.


timeout?

optional timeout: number;

Defined in: apps/submitter/lib/handlers/waitForReceipt/types.ts:22

Optional time to wait for the receipt, otherwise the submitter will use its default value.

The submitter is free to honor this timeout or not based on its own policies (e.g. it might not apply a timeout that is too low or set a cap on the maximum timeout value).