Skip to content

Type Alias: WaitForReceiptInput

type WaitForReceiptInput = {
  hash: Hash;
  timeout?: number;
};

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

Properties

hash

hash: Hash;

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

Hash of the Boop whose receipt is requested.


timeout?

optional timeout: number;

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

Optional time to wait for the receipt.

This should be set slightly lower (~2s) lower than a client-side timeout. If unspecified, the submitter will use its default timeout 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).