near-api-js - v7.0.4
    Preparing search index...

    Type Alias InvalidTxError

    InvalidTxError:
        | { InvalidAccessKeyError: InvalidAccessKeyError }
        | { InvalidSignerId: { signer_id: string } }
        | { SignerDoesNotExist: { signer_id: AccountId } }
        | { InvalidNonce: { ak_nonce: number; tx_nonce: number } }
        | { NonceTooLarge: { tx_nonce: number; upper_bound: number } }
        | { InvalidReceiverId: { receiver_id: string } }
        | "InvalidSignature"
        | {
            NotEnoughBalance: {
                balance: NearToken;
                cost: NearToken;
                signer_id: AccountId;
            };
        }
        | { LackBalanceForState: { amount: NearToken; signer_id: AccountId } }
        | "CostOverflow"
        | "InvalidChain"
        | "Expired"
        | { ActionsValidation: ActionsValidationError }
        | { TransactionSizeExceeded: { limit: number; size: number } }
        | "InvalidTransactionVersion"
        | { StorageError: StorageError }
        | { ShardCongested: { congestion_level: number; shard_id: number } }
        | { ShardStuck: { missed_chunks: number; shard_id: number } }

    An error happened during TX execution