Skip to content

api.entities.Asset.types.TransferError

prashantasdeveloper edited this page Oct 31, 2024 · 16 revisions

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

Table of contents

Enumeration Members

Enumeration Members

AssetDoesNotExists

AssetDoesNotExists = "AssetDoesNotExists"

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

Defined in

api/entities/Asset/types.ts:366


BalanceOverflow

BalanceOverflow = "BalanceOverflow"

occurs if receiver balance will overflow on receiving the transfer amount

Defined in

api/entities/Asset/types.ts:371


ComplianceFailure

ComplianceFailure = "ComplianceFailure"

translates to TransferStatus.ComplianceFailure

occurs if some compliance rule would prevent the transfer

Defined in

api/entities/Asset/types.ts:356


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:325


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:349


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:294


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:306


InvalidReceiverPortfolio

InvalidReceiverPortfolio = "InvalidReceiverPortfolio"

translates to TransferStatus.PortfolioFailure

occurs if the receiver Portfolio doesn't exist

Defined in

api/entities/Asset/types.ts:343


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:312


InvalidSenderPortfolio

InvalidSenderPortfolio = "InvalidSenderPortfolio"

translates to TransferStatus.PortfolioFailure

occurs if the sender Portfolio doesn't exist

Defined in

api/entities/Asset/types.ts:337


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:319


SelfTransfer

SelfTransfer = "SelfTransfer"

translates to TransferStatus.InvalidReceiverIdentity

occurs if the origin and destination Identities are the same

Defined in

api/entities/Asset/types.ts:300


TransferNotAllowed

TransferNotAllowed = "TransferNotAllowed"

occurs if some statistics transfer condition would prevent the transfer

Defined in

api/entities/Asset/types.ts:361


TransfersFrozen

TransfersFrozen = "TransfersFrozen"

translates to TransferStatus.TransfersHalted

occurs if the Asset's transfers are frozen

Defined in

api/entities/Asset/types.ts:331

Clone this wiki locally