Skip to content

Variable: CreateAccount

const CreateAccount: {
  AlreadyCreated: "createAccountAlreadyCreated";
  AlreadyProcessing: "submitterAlreadyProcessing";
  BoopReplaced: "submitterBoopReplaced";
  BufferExceeded: "submitterBufferExceeded";
  ClientError: "submitterClientError";
  ExternalSubmit: "submitterExternalSubmit";
  Failed: "createAccountFailed";
  GasPriceTooHigh: "submitterGasPriceTooHigh";
  InvalidValues: "submitterInvalidValues";
  NonceTooFarAhead: "submitterNonceTooFarAhead";
  OverCapacity: "submitterOverCapacity";
  ReceiptTimeout: "submitterReceiptTimeout";
  RpcError: "submitterRpcError";
  SubmitterFeeTooLow: "submitterSubmitterFeeTooLow";
  SubmitTimeout: "submitterSubmitTimeout";
  Success: "createAccountSuccess";
  Timeout: "submitterReceiptTimeout";
  TransactionManagementError: "submitterTransactionManagementError";
  UnexpectedError: "submitterUnexpectedError";
};

Defined in: apps/submitter/lib/handlers/createAccount/types.ts:19

Possible output status of a createAccount call (accounts/create route).

Type declaration

AlreadyCreated

readonly AlreadyCreated: "createAccountAlreadyCreated" = "createAccountAlreadyCreated";

The account was already existing.

AlreadyProcessing

readonly AlreadyProcessing: "submitterAlreadyProcessing" = "submitterAlreadyProcessing";

A boop was submitted, but collides with a boop that is already currently being processed

BoopReplaced

readonly BoopReplaced: "submitterBoopReplaced" = "submitterBoopReplaced";

The boop has been replaced by a newer boop.

BufferExceeded

readonly BufferExceeded: "submitterBufferExceeded" = "submitterBufferExceeded";

The submitter rejected the request because of its Boop buffering policies.

ClientError

readonly ClientError: "submitterClientError" = "submitterClientError";

Unrecoverable client-side error.

ExternalSubmit

readonly ExternalSubmit: "submitterExternalSubmit" = "submitterExternalSubmit";

Boop was submitted onchain by another submitter or entity.

Failed

readonly Failed: "createAccountFailed" = "createAccountFailed";

The account creation transaction made it onchain, but failed there.

GasPriceTooHigh

readonly GasPriceTooHigh: "submitterGasPriceTooHigh" = "submitterGasPriceTooHigh";

The boop got rejected because the maxFeePerGas (either explicitly specified by the sender or computed from the network) was higher than what the submitter was willing to accept.

InvalidValues

readonly InvalidValues: "submitterInvalidValues" = "submitterInvalidValues";

Some values provided as input are invalid (e.g. gas limits, timeout).

NonceTooFarAhead

readonly NonceTooFarAhead: "submitterNonceTooFarAhead" = "submitterNonceTooFarAhead";

The supplied nonce is too far ahead of the current nonce value.

OverCapacity

readonly OverCapacity: "submitterOverCapacity" = "submitterOverCapacity";

The submitter rejected the request because it is over capacity.

ReceiptTimeout

readonly ReceiptTimeout: "submitterReceiptTimeout" = "submitterReceiptTimeout";

Timed out while waiting for a receipt. This could indicate that the submitter tx is stuck in the mempool or an RPC issue.

RpcError

readonly RpcError: "submitterRpcError" = "submitterRpcError";

Error from the node's JSON-RPC server.

SubmitterFeeTooLow

readonly SubmitterFeeTooLow: "submitterSubmitterFeeTooLow" = "submitterSubmitterFeeTooLow";

The boop was rejected because the provided submitter fee is too low.

SubmitTimeout

readonly SubmitTimeout: "submitterSubmitTimeout" = "submitterSubmitTimeout";

The RPC execution call (or related RPC call) timed out.

Success

readonly Success: "createAccountSuccess" = "createAccountSuccess";

The account was successfully created.

Timeout

readonly Timeout: "submitterReceiptTimeout" = SubmitterError.ReceiptTimeout;

Timed out while waiting for the account creation receipt.

TransactionManagementError

readonly TransactionManagementError: "submitterTransactionManagementError" = SubmitterError.TransactionManagementError;

The submitter had an issue with its transaction management. Typically this means that another transaction landed for the EVM nonce that we were using for the operation. This is usually solveable by retrying the operation.

UnexpectedError

readonly UnexpectedError: "submitterUnexpectedError" = "submitterUnexpectedError";

The submitter failed with an unexpected error.