Skip to content
docs

EncryptedSendStatus

EncryptedSendStatus = { blockNumber: number; blocksAfterSubmission: number; status: "included"; success: boolean; } | { blockNumber: number; status: "submission-failed"; } | { status: "replaced"; } | { status: "pending"; submissionMined: boolean; }

Defined in: mempool.ts:282

{ blockNumber: number; blocksAfterSubmission: number; status: "included"; success: boolean; }


{ blockNumber: number; status: "submission-failed"; }

The submission reverted: nothing was queued (the nonce after it is free again).


{ status: "replaced"; }

Another transaction took the nonce: the encrypted one can no longer run.


{ status: "pending"; submissionMined: boolean; }

Not in a block yet. Send a transaction with the same nonce to cancel it (or to send it publicly).