@gala-chain/api ∙ API
API > BurnTokensDto
Class: BurnTokensDto
Contents
- Extends
- Constructors
- new BurnTokensDto(params)
- Properties
- owner
- prefix
- signature
- signerPublicKey
- tokenInstances
- trace
- uniqueKey
- ENCODING
- Methods
- isSignatureValid()
- serialize()
- sign()
- signed()
- validate()
- validateOrReject()
- deserialize()
Extends
Constructors
new BurnTokensDto(params)
new BurnTokensDto(
params
?):BurnTokensDto
Parameters
▪ params?: BurnTokensParams
Overrides
Source
chain-api/src/types/burn.ts:106
Properties
owner
owner?:
string
Source
chain-api/src/types/burn.ts:127
prefix
prefix?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:151
signature
signature?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:142
signerPublicKey
signerPublicKey?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:160
tokenInstances
tokenInstances:
BurnTokenQuantity
[]
Source
chain-api/src/types/burn.ts:119
trace
trace?:
TraceContext
Inherited from
Source
chain-api/src/types/dtos.ts:107
uniqueKey
uniqueKey?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:122
ENCODING
static
readonly
ENCODING:"base64"
="base64"
Inherited from
Source
chain-api/src/types/dtos.ts:108
Methods
isSignatureValid()
isSignatureValid(
publicKey
):boolean
Parameters
▪ publicKey: string
Inherited from
Source
chain-api/src/types/dtos.ts:202
serialize()
serialize():
string
Inherited from
Source
chain-api/src/types/dtos.ts:174
sign()
sign(
privateKey
,useDer
):void
Parameters
▪ privateKey: string
▪ useDer: boolean
= false
Inherited from
Source
chain-api/src/types/dtos.ts:185
signed()
signed(
privateKey
,useDer
):BurnTokensDto
Creates a signed copy of current object.
Parameters
▪ privateKey: string
▪ useDer: boolean
= false
Inherited from
Source
chain-api/src/types/dtos.ts:196
validate()
validate():
Promise
\<ValidationError
[]>
Inherited from
Source
chain-api/src/types/dtos.ts:162
validateOrReject()
validateOrReject():
Promise
\<void
>
Inherited from
Source
chain-api/src/types/dtos.ts:166
deserialize()
static
deserialize\<T
>(constructor
,object
):T
Type parameters
▪ T
Parameters
▪ constructor: ClassConstructor
\<Inferred
\<T
, ChainCallDTO
>>
▪ object: string
| Record
\<string
, unknown
> | Record
\<string
, unknown
>[]