Skip to main content
Version: 27.0.x

Enumeration: TransferError

api/entities/Asset/types.TransferError

Akin to TransferStatus, these are a bit more granular and specific. Every TransferError translates to a TransferStatus, but two or more TransferErrors can represent the same TransferStatus, and not all Transfer Statuses are represented by a TransferError

Enumeration Members

AssetDoesNotExists

AssetDoesNotExists = "AssetDoesNotExists"

occurs if asset to be check for transfer, no longer exists

Defined in

api/entities/Asset/types.ts:358


BalanceOverflow

BalanceOverflow = "BalanceOverflow"

occurs if receiver balance will overflow on receiving the transfer amount

Defined in

api/entities/Asset/types.ts:363


ComplianceFailure

ComplianceFailure = "ComplianceFailure"

translates to TransferStatus.ComplianceFailure

occurs if some compliance rule would prevent the transfer

Defined in

api/entities/Asset/types.ts:348


InsufficientBalance

InsufficientBalance = "InsufficientBalance"

translates to TransferStatus.InsufficientBalance

occurs if the sender Identity does not have enough balance to cover the amount

Defined in

api/entities/Asset/types.ts:317


InsufficientPortfolioBalance

InsufficientPortfolioBalance = "InsufficientPortfolioBalance"

translates to TransferStatus.PortfolioFailure

occurs if the sender Portfolio does not have enough balance to cover the amount

Defined in

api/entities/Asset/types.ts:341


InvalidGranularity

InvalidGranularity = "InvalidGranularity"

translates to TransferStatus.InvalidGranularity

occurs if attempting to transfer decimal amounts of a non-divisible token

Defined in

api/entities/Asset/types.ts:286


InvalidReceiverCdd

InvalidReceiverCdd = "InvalidReceiverCdd"

translates to TransferStatus.InvalidReceiverIdentity

occurs if the receiver Identity doesn't have a valid CDD claim

Defined in

api/entities/Asset/types.ts:298


InvalidReceiverPortfolio

InvalidReceiverPortfolio = "InvalidReceiverPortfolio"

translates to TransferStatus.PortfolioFailure

occurs if the receiver Portfolio doesn't exist

Defined in

api/entities/Asset/types.ts:335


InvalidSenderCdd

InvalidSenderCdd = "InvalidSenderCdd"

translates to TransferStatus.InvalidSenderIdentity

occurs if the receiver Identity doesn't have a valid CDD claim

Defined in

api/entities/Asset/types.ts:304


InvalidSenderPortfolio

InvalidSenderPortfolio = "InvalidSenderPortfolio"

translates to TransferStatus.PortfolioFailure

occurs if the sender Portfolio doesn't exist

Defined in

api/entities/Asset/types.ts:329


ScopeClaimMissing

ScopeClaimMissing = "ScopeClaimMissing"

translates to TransferStatus.ScopeClaimMissing

occurs if one of the participants doesn't have a valid Investor Uniqueness Claim for the Asset

Defined in

api/entities/Asset/types.ts:311


SelfTransfer

SelfTransfer = "SelfTransfer"

translates to TransferStatus.InvalidReceiverIdentity

occurs if the origin and destination Identities are the same

Defined in

api/entities/Asset/types.ts:292


TransferNotAllowed

TransferNotAllowed = "TransferNotAllowed"

occurs if some statistics transfer condition would prevent the transfer

Defined in

api/entities/Asset/types.ts:353


TransfersFrozen

TransfersFrozen = "TransfersFrozen"

translates to TransferStatus.TransfersHalted

occurs if the Asset's transfers are frozen

Defined in

api/entities/Asset/types.ts:323