Skip to content

@gala-chain/apiAPI


API > FetchAllowancesDto

Class: FetchAllowancesDto

Contents

Extends

Constructors

new FetchAllowancesDto()

new FetchAllowancesDto(): FetchAllowancesDto

Inherited from

ChainCallDTO.constructor

Properties

additionalKey

additionalKey?: string

Source

chain-api/src/types/allowance.ts:78


allowanceType

allowanceType?: AllowanceType

Source

chain-api/src/types/allowance.ts:89


bookmark

bookmark?: string

Source

chain-api/src/types/allowance.ts:103


category

category?: string

Source

chain-api/src/types/allowance.ts:64


collection

collection?: string

Source

chain-api/src/types/allowance.ts:57


grantedBy

grantedBy?: string

Source

chain-api/src/types/allowance.ts:96


grantedTo

grantedTo: string

Source

chain-api/src/types/allowance.ts:50


instance

instance?: string

Source

chain-api/src/types/allowance.ts:85


limit

limit?: number

Source

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


prefix

prefix?: string

Inherited from

ChainCallDTO.prefix

Source

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


signature

signature?: string

Inherited from

ChainCallDTO.signature

Source

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


signerPublicKey

signerPublicKey?: string

Inherited from

ChainCallDTO.signerPublicKey

Source

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


trace

trace?: TraceContext

Inherited from

ChainCallDTO.trace

Source

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


type

type?: string

Source

chain-api/src/types/allowance.ts:71


uniqueKey

uniqueKey?: string

Inherited from

ChainCallDTO.uniqueKey

Source

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


DEFAULT_LIMIT

static readonly DEFAULT_LIMIT: 1000 = 1000

Source

chain-api/src/types/allowance.ts:44


ENCODING

static readonly ENCODING: "base64" = "base64"

Inherited from

ChainCallDTO.ENCODING

Source

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


MAX_LIMIT

static readonly MAX_LIMIT: number

Source

chain-api/src/types/allowance.ts:43

Methods

isSignatureValid()

isSignatureValid(publicKey): boolean

Parameters

publicKey: string

Inherited from

ChainCallDTO.isSignatureValid

Source

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


serialize()

serialize(): string

Inherited from

ChainCallDTO.serialize

Source

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


sign()

sign(privateKey, useDer): void

Parameters

privateKey: string

useDer: boolean= false

Inherited from

ChainCallDTO.sign

Source

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


signed()

signed(privateKey, useDer): FetchAllowancesDto

Creates a signed copy of current object.

Parameters

privateKey: string

useDer: boolean= false

Inherited from

ChainCallDTO.signed

Source

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


validate()

validate(): Promise\<ValidationError[]>

Inherited from

ChainCallDTO.validate

Source

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


validateOrReject()

validateOrReject(): Promise\<void>

Inherited from

ChainCallDTO.validateOrReject

Source

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


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:170