@gala-chain/api ∙ API
API > ChainObject
Class: abstract ChainObject
Contents
- Extended By
 - Constructors
 - new ChainObject()
 - Properties
 - COMPOSITEKEY_NS
 - ID_SPLIT_CHAR
 - ID_SUB_SPLIT_CHAR
 - MIN_UNICODE_RUNE_VALUE
 - Methods
 - copy()
 - getCompositeKey()
 - serialize()
 - toPlainObject()
 - validate()
 - validateOrReject()
 - deserialize()
 - getCompositeKeyFromParts()
 - getStringKeyFromParts()
 
Extended By
FeeAuthorizationFeeBalanceCreditReceiptFeeChannelPaymentReceiptFeeCodeDefinitionFeeCodeTransferPercentageFeeCodeTransferQuantityFeeCodeSplitFormulaFeeExemptionFeePendingBalanceFeePropertiesFeeThresholdUsesFeeUserPaymentReceiptPublicKeyUserProfileTokenInstanceTokenClassTokenAllowanceTokenBalanceTokenClaimTokenBurnOracleBridgeFeeAssertionOracleDefinitionExternalTokenOraclePriceAssertionOraclePriceCrossRateAssertionTokenSaleTokenSaleTokenSoldTokenSaleTokenCostTokenSaleOwnerTokenSaleMintAllowanceTokenSaleFulfillmentTokenMintAllowancePostMintLockConfigurationBurnToMintConfigurationTokenMintConfigurationTokenMintFulfillment
Constructors
new ChainObject()
new ChainObject():
ChainObject
Properties
COMPOSITEKEY_NS
staticCOMPOSITEKEY_NS:string="\x00"
Source
chain-api/src/types/ChainObject.ts:45
ID_SPLIT_CHAR
staticID_SPLIT_CHAR:string="$"
Source
chain-api/src/types/ChainObject.ts:48
ID_SUB_SPLIT_CHAR
staticID_SUB_SPLIT_CHAR:string="|"
Source
chain-api/src/types/ChainObject.ts:50
MIN_UNICODE_RUNE_VALUE
staticMIN_UNICODE_RUNE_VALUE:string="\u0000"
Source
chain-api/src/types/ChainObject.ts:43
Methods
copy()
copy():
ChainObject
Source
chain-api/src/types/ChainObject.ts:72
getCompositeKey()
getCompositeKey():
string
Source
chain-api/src/types/ChainObject.ts:84
serialize()
serialize():
string
Source
chain-api/src/types/ChainObject.ts:52
toPlainObject()
toPlainObject():
Record\<string,unknown>
Source
chain-api/src/types/ChainObject.ts:68
validate()
validate():
Promise\<ValidationError[]>
Source
chain-api/src/types/ChainObject.ts:56
validateOrReject()
validateOrReject():
Promise\<void>
Source
chain-api/src/types/ChainObject.ts:60
deserialize()
staticdeserialize\<T>(constructor,object):T
Type parameters
▪ T
Parameters
▪ constructor: ClassConstructor\<Inferred\<T, ChainObject>>
▪ object: string | Record\<string, unknown> | Record\<string, unknown>[]
Source
chain-api/src/types/ChainObject.ts:77
getCompositeKeyFromParts()
staticgetCompositeKeyFromParts(indexKey,parts):string
Parameters
▪ indexKey: string
▪ parts: unknown[]
Source
chain-api/src/types/ChainObject.ts:109
getStringKeyFromParts()
staticgetStringKeyFromParts(parts):string
Parameters
▪ parts: string[]