@gala-chain/api • Readme | API
@gala-chain/api / TokenBurn
Class: TokenBurn
Extends
Constructors
new TokenBurn()
new TokenBurn():
TokenBurn
Returns
Inherited from
Properties
additionalKey
additionalKey:
string
Source
chain-api/src/types/TokenBurn.ts:45
burnedBy
burnedBy:
string
Source
chain-api/src/types/TokenBurn.ts:29
category
category:
string
Source
chain-api/src/types/TokenBurn.ts:37
collection
collection:
string
Source
chain-api/src/types/TokenBurn.ts:33
created
created:
number
Source
chain-api/src/types/TokenBurn.ts:57
instance
instance:
BigNumber
Source
chain-api/src/types/TokenBurn.ts:52
quantity
quantity:
BigNumber
Source
chain-api/src/types/TokenBurn.ts:62
type
type:
string
Source
chain-api/src/types/TokenBurn.ts:41
COMPOSITEKEY_NS
static
COMPOSITEKEY_NS:string
="\x00"
Inherited from
Source
chain-api/src/types/ChainObject.ts:43
ID_SPLIT_CHAR
static
ID_SPLIT_CHAR:string
="$"
Inherited from
Source
chain-api/src/types/ChainObject.ts:46
ID_SUB_SPLIT_CHAR
static
ID_SUB_SPLIT_CHAR:string
="|"
Inherited from
Source
chain-api/src/types/ChainObject.ts:48
INDEX_KEY
static
INDEX_KEY:string
="GCTBR"
Source
chain-api/src/types/TokenBurn.ts:25
MIN_UNICODE_RUNE_VALUE
static
MIN_UNICODE_RUNE_VALUE:string
="\u0000"
Inherited from
ChainObject
.MIN_UNICODE_RUNE_VALUE
Source
chain-api/src/types/ChainObject.ts:41
Methods
getCompositeKey()
getCompositeKey():
string
Returns
string
Inherited from
Source
chain-api/src/types/ChainObject.ts:77
serialize()
serialize():
string
Returns
string
Inherited from
Source
chain-api/src/types/ChainObject.ts:50
toPlainObject()
toPlainObject():
Record
\<string
,unknown
>
Returns
Record
\<string
, unknown
>
Inherited from
Source
chain-api/src/types/ChainObject.ts:66
validate()
validate():
Promise
\<ValidationError
[]>
Returns
Promise
\<ValidationError
[]>
Inherited from
Source
chain-api/src/types/ChainObject.ts:54
validateOrReject()
validateOrReject():
Promise
\<void
>
Returns
Promise
\<void
>
Inherited from
Source
chain-api/src/types/ChainObject.ts:58
deserialize()
static
deserialize\<T
>(constructor
,object
):T
Type parameters
• T
Parameters
• constructor: ClassConstructor
\<Inferred
\<T
, ChainObject
>>
• object: string
| Record
\<string
, unknown
> | Record
\<string
, unknown
>[]
Returns
T
Inherited from
Source
chain-api/src/types/ChainObject.ts:70
getCompositeKeyFromParts()
static
getCompositeKeyFromParts(indexKey
,parts
):string
Parameters
• indexKey: string
• parts: unknown
[]
Returns
string
Inherited from
ChainObject
.getCompositeKeyFromParts
Source
chain-api/src/types/ChainObject.ts:102
getStringKeyFromParts()
static
getStringKeyFromParts(parts
):string
Parameters
• parts: string
[]
Returns
string
Inherited from
ChainObject
.getStringKeyFromParts