@gala-chain/api ∙ API
API > BatchFillTokenSwapDto
Class: BatchFillTokenSwapDto
Contents
- Extends
- Constructors
- new BatchFillTokenSwapDto()
- Properties
- prefix
- signature
- signerAddress
- signerPublicKey
- signing
- swapDtos
- trace
- uniqueKey
- ENCODING
- MAX_ARR_SIZE
- Methods
- isSignatureValid()
- serialize()
- sign()
- signed()
- validate()
- validateOrReject()
- deserialize()
Extends
Constructors
new BatchFillTokenSwapDto()
new BatchFillTokenSwapDto():
BatchFillTokenSwapDto
Inherited from
Properties
prefix
prefix?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:145
signature
signature?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:136
signerAddress
signerAddress?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:152
signerPublicKey
signerPublicKey?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:159
signing
signing?:
SigningScheme
Inherited from
Source
chain-api/src/types/dtos.ts:169
swapDtos
swapDtos:
FillTokenSwapDto
[]
Source
chain-api/src/types/swap.ts:193
trace
trace?:
TraceContext
Inherited from
Source
chain-api/src/types/dtos.ts:111
uniqueKey
uniqueKey?:
string
Inherited from
Source
chain-api/src/types/dtos.ts:126
ENCODING
static
readonly
ENCODING:"base64"
="base64"
Inherited from
Source
chain-api/src/types/dtos.ts:112
MAX_ARR_SIZE
static
MAX_ARR_SIZE:number
=1000
Source
chain-api/src/types/swap.ts:184
Methods
isSignatureValid()
isSignatureValid(
publicKey
):boolean
Parameters
▪ publicKey: string
Inherited from
Source
chain-api/src/types/dtos.ts:216
serialize()
serialize():
string
Inherited from
Source
chain-api/src/types/dtos.ts:183
sign()
sign(
privateKey
,useDer
):void
Parameters
▪ privateKey: string
▪ useDer: boolean
= false
Inherited from
Source
chain-api/src/types/dtos.ts:194
signed()
signed(
privateKey
,useDer
):BatchFillTokenSwapDto
Creates a signed copy of current object.
Parameters
▪ privateKey: string
▪ useDer: boolean
= false
Inherited from
Source
chain-api/src/types/dtos.ts:210
validate()
validate():
Promise
\<ValidationError
[]>
Inherited from
Source
chain-api/src/types/dtos.ts:171
validateOrReject()
validateOrReject():
Promise
\<void
>
Inherited from
Source
chain-api/src/types/dtos.ts:175
deserialize()
static
deserialize\<T
>(constructor
,object
):T
Type parameters
▪ T
Parameters
▪ constructor: ClassConstructor
\<Inferred
\<T
, ChainCallDTO
>>
▪ object: string
| Record
\<string
, unknown
> | Record
\<string
, unknown
>[]