@gala-chain/chaincode ∙ API
API > UniqueTransaction
ChainObject
new UniqueTransaction():
UniqueTransaction
ChainObject.constructor
created:
number
chaincode/src/services/UniqueTransaction.ts:35
transactionId:
string
chaincode/src/services/UniqueTransaction.ts:39
uniqueKey:
string
chaincode/src/services/UniqueTransaction.ts:32
static
COMPOSITEKEY_NS:string
="\x00"
ChainObject.COMPOSITEKEY_NS
chain-api/src/types/ChainObject.ts:43
static
ID_SPLIT_CHAR:string
="$"
ChainObject.ID_SPLIT_CHAR
chain-api/src/types/ChainObject.ts:46
static
ID_SUB_SPLIT_CHAR:string
="|"
ChainObject.ID_SUB_SPLIT_CHAR
chain-api/src/types/ChainObject.ts:48
static
INDEX_KEY:string
="UNTX"
chaincode/src/services/UniqueTransaction.ts:22
static
MIN_UNICODE_RUNE_VALUE:string
="\u0000"
ChainObject.MIN_UNICODE_RUNE_VALUE
chain-api/src/types/ChainObject.ts:41
getCompositeKey():
string
ChainObject.getCompositeKey
chain-api/src/types/ChainObject.ts:77
serialize():
string
ChainObject.serialize
chain-api/src/types/ChainObject.ts:50
toPlainObject():
Record
<string
,unknown
>
ChainObject.toPlainObject
chain-api/src/types/ChainObject.ts:66
validate():
Promise
<ValidationError
[]>
ChainObject.validate
chain-api/src/types/ChainObject.ts:54
validateOrReject():
Promise
<void
>
ChainObject.validateOrReject
chain-api/src/types/ChainObject.ts:58
static
deserialize<T
>(constructor
,object
):T
▪ T
▪ constructor: ClassConstructor
<Inferred
<T
, ChainObject
>>
▪ object: string
| Record
<string
, unknown
> | Record
<string
, unknown
>[]
ChainObject.deserialize
chain-api/src/types/ChainObject.ts:70
static
getCompositeKeyFromParts(indexKey
,parts
):string
▪ indexKey: string
▪ parts: unknown
[]
ChainObject.getCompositeKeyFromParts
chain-api/src/types/ChainObject.ts:99
static
getStringKeyFromParts(parts
):string
▪ parts: string
[]
ChainObject.getStringKeyFromParts