Skip to content

@gala-chain/apiAPI


API > TransferTokenDto

Class: TransferTokenDto

Contents

Extends

Constructors

new TransferTokenDto()

new TransferTokenDto(): TransferTokenDto

Inherited from

ChainCallDTO.constructor

Properties

from

from?: string

Source

chain-api/src/types/token.ts:486


prefix

prefix?: string

Inherited from

ChainCallDTO.prefix

Source

chain-api/src/types/dtos.ts:144


quantity

quantity: BigNumber

Source

chain-api/src/types/token.ts:507


signature

signature?: string

Inherited from

ChainCallDTO.signature

Source

chain-api/src/types/dtos.ts:135


signerPublicKey

signerPublicKey?: string

Inherited from

ChainCallDTO.signerPublicKey

Source

chain-api/src/types/dtos.ts:153


to

to: string

Source

chain-api/src/types/token.ts:489


tokenInstance

tokenInstance: TokenInstanceKey

Source

chain-api/src/types/token.ts:499


trace

trace?: TraceContext

Inherited from

ChainCallDTO.trace

Source

chain-api/src/types/dtos.ts:100


uniqueKey

uniqueKey?: string

Inherited from

ChainCallDTO.uniqueKey

Source

chain-api/src/types/dtos.ts:115


useAllowances

useAllowances?: string[]

Source

chain-api/src/types/token.ts:515


ENCODING

static readonly ENCODING: "base64" = "base64"

Inherited from

ChainCallDTO.ENCODING

Source

chain-api/src/types/dtos.ts:101

Methods

isSignatureValid()

isSignatureValid(publicKey): boolean

Parameters

publicKey: string

Inherited from

ChainCallDTO.isSignatureValid

Source

chain-api/src/types/dtos.ts:195


serialize()

serialize(): string

Inherited from

ChainCallDTO.serialize

Source

chain-api/src/types/dtos.ts:167


sign()

sign(privateKey, useDer): void

Parameters

privateKey: string

useDer: boolean= false

Inherited from

ChainCallDTO.sign

Source

chain-api/src/types/dtos.ts:178


signed()

signed(privateKey, useDer): TransferTokenDto

Creates a signed copy of current object.

Parameters

privateKey: string

useDer: boolean= false

Inherited from

ChainCallDTO.signed

Source

chain-api/src/types/dtos.ts:189


validate()

validate(): Promise\<ValidationError[]>

Inherited from

ChainCallDTO.validate

Source

chain-api/src/types/dtos.ts:155


validateOrReject()

validateOrReject(): Promise\<void>

Inherited from

ChainCallDTO.validateOrReject

Source

chain-api/src/types/dtos.ts:159


deserialize()

static deserialize\<T>(constructor, object): T

Type parameters

T

Parameters

constructor: ClassConstructor\<Inferred\<T, ChainCallDTO>>

object: string | Record\<string, unknown> | Record\<string, unknown>[]

Inherited from

ChainCallDTO.deserialize

Source

chain-api/src/types/dtos.ts:171