@gala-chain/api ∙ API
API
Index
Enumerations
- AllowanceType
- ChainId
- ErrorCode
- FeeAccelerationRateType
- FeeGateCodes
- FeeReceiptStatus
- GalaChainResponseType
- SaleStatus
- SigningScheme
- TokenMintStatus
Classes
- AddLiquidityDTO
- AddLiquidityResDto
- Allocation
- AllowanceKey
- BatchFillTokenSwapDto
- BatchMintTokenDto
- Bitmap
- BurnAndMintDto
- BurnDto
- BurnToMintConfiguration
- BurnTokenQuantity
- BurnTokensDto
- ChainCallDTO
- ChainError
- ChainKeyValueResult
- ChainKeysDto
- ChainObject
- CleanTokenSwapsDto
- CleanTokenSwapsResponse
- CollectDto
- CollectFeeAddressDto
- CollectProtocolFeesDto
- CollectProtocolFeesResDto
- ConfigurePlatformFeeAddressDto
- ConflictError
- CreatePoolDto
- CreateSaleResDto
- CreateTokenClassDto
- CreateTokenSaleDTO
- CreateTokenSaleDto
- CreateVestingTokenDto
- DefaultError
- DeleteAllowancesDto
- DeleteOracleAssertionsDto
- DeleteOracleDefinitionDto
- DryRunDto
- DryRunResultDto
- EnsureTokenSaleIndexingDto
- EnsureTokenSaleIndexingResponse
- EnsureTokenSwapIndexingDto
- EnsureTokenSwapIndexingResponse
- ExactTokenQuantityDto
- ExpectedTokenSale
- ExpectedTokenSwap
- ExternalToken
- FeeAuthorization
- FeeAuthorizationDto
- FeeAuthorizationResDto
- FeeBalanceCreditReceipt
- FeeBalanceSettlement
- FeeBalanceSettlementDto
- FeeChannelPaymentKeyValueResult
- FeeChannelPaymentReceipt
- FeeCodeDefinition
- FeeCodeDefinitionDto
- FeeCodeSplitFormula
- FeeCodeSplitFormulaDto
- FeeCodeTransferPercentage
- FeeCodeTransferQuantity
- FeeCreditReceiptKeyValueResult
- FeeExemption
- FeeExemptionDto
- FeePendingBalance
- FeePendingBalanceKeyValueResult
- FeeProperties
- FeePropertiesDto
- FeeThresholdUses
- FeeThresholdUsesKeyValueResult
- FeeUserPaymentReceipt
- FeeVerificationDto
- FetchAllowancesDto
- FetchAllowancesLegacyDto
- FetchAllowancesResponse
- FetchBalancesDto
- FetchBalancesWithPaginationDto
- FetchBalancesWithTokenMetadataResponse
- FetchBurnCountersResponse
- FetchBurnCountersWithPaginationDto
- FetchBurnsDto
- FetchChainKeyValueObjectsWithPaginationResponse
- FetchFeeAuthorizationsDto
- FetchFeeAuthorizationsResDto
- FetchFeeChannelPaymentsDto
- FetchFeeChannelPaymentsResDto
- FetchFeeCreditReceiptsDto
- FetchFeeCreditReceiptsResponse
- FetchFeePendingBalancesDto
- FetchFeePendingBalancesResDto
- FetchFeePropertiesDto
- FetchFeeScheduleDto
- FetchFeeScheduleResDto
- FetchFeeThresholdUsesDto
- FetchFeeThresholdUsesResDto
- FetchFeeThresholdUsesWithPaginationDto
- FetchFeeThresholdUsesWithPaginationResponse
- FetchMintRequestsDto
- FetchOracleAssertionsDto
- FetchOracleDefinitionsDto
- FetchOracleDefinitionsResponse
- FetchOraclePriceAssertionsResponse
- FetchOraclePriceCrossRateAssertionsResponse
- FetchSaleDto
- FetchTokenClassesDto
- FetchTokenClassesResponse
- FetchTokenClassesWithPaginationDto
- FetchTokenInstancesDto
- FetchTokenMintConfigurationsDto
- FetchTokenMintConfigurationsResponse
- FetchTokenSaleByIdDto
- FetchTokenSalesWithPaginationDto
- FetchTokenSalesWithPaginationResponse
- FetchTokenSupplyDto
- FetchTokenSupplyResponse
- FetchTokenSwapByRequestIdDto
- FetchTokenSwapsByInstanceDto
- FetchTokenSwapsByUserDto
- FetchTokenSwapsDto
- FetchTokenSwapsWithPaginationResponse
- FetchVestingTokenDto
- FillTokenSwapDto
- FinalizeTokenAllocationDto
- ForbiddenError
- FulfillMintAllowanceDto
- FulfillMintDto
- FulfillTokenSaleDto
- FullAllowanceCheckDto
- FullAllowanceCheckResDto
- GalaChainErrorResponse
- GalaChainResponse
- GalaChainSuccessResponse
- GetAddLiquidityEstimationDto
- GetAddLiquidityEstimationResDto
- GetLiquidityResDto
- GetMyProfileDto
- GetObjectDto
- GetObjectHistoryDto
- GetPoolDataDTO
- GetPoolDto
- GetPositionDto
- GetPositionResDto
- GetPublicKeyDto
- GetRemoveLiqEstimationResDto
- GetUserPositionsDto
- GetUserPositionsResDto
- GrantAllowanceDto
- GrantAllowanceQuantity
- HighThroughputGrantAllowanceDto
- HighThroughputMintTokenDto
- InvalidCompositeKeyError
- InvalidRangedKeyError
- LaunchpadFinalizeFeeAllocation
- LaunchpadSale
- LockTokenDto
- LockTokenQuantity
- LockTokensDto
- MintFeeConfiguration
- MintRequestDto
- MintTokenDto
- MintTokenWithAllowanceDto
- NativeTokenQuantityDto
- NoLongerAvailableError
- NotFoundError
- NotImplementedError
- ObjectValidationFailedError
- OracleBridgeFeeAssertion
- OracleBridgeFeeAssertionDto
- OracleDefinition
- OracleDefinitionDto
- OraclePriceAssertion
- OraclePriceAssertionDto
- OraclePriceCrossRateAssertion
- OraclePriceCrossRateAssertionDto
- PatchMintAllowanceRequestDto
- PatchMintRequestDto
- PaymentRequiredError
- PlatformFeeConfig
- Pool
- PositionData
- PositionDto
- Positions
- PositionsObject
- PostMintLockConfiguration
- PreMintCalculationDto
- PublicKey
- QuoteExactAmountDto
- QuoteExactAmountResDto
- RangedChainObject
- RefreshAllowanceDto
- RefreshAllowancesDto
- RegisterEthUserDto
- RegisterTonUserDto
- RegisterUserDto
- ReleaseTokenDto
- RemoveTokenSaleDto
- RequestTokenBridgeOutDto
- RequestTokenSwapDto
- RuntimeError
- SetProtocolFeeDto
- SetProtocolFeeResDto
- SettleFeeBalancesResponse
- SettleFeeCreditReceiptsResponse
- SettleFeePaymentReceiptsResponse
- Slot0ResDto
- SwapDto
- SwapResDto
- TerminateTokenSwapDto
- TickData
- TickDataObj
- TokenAllowance
- TokenBalance
- TokenBalanceWithMetadata
- TokenBurn
- TokenBurnCounter
- TokenBurnCounterCompositeKeyDto
- TokenClaim
- TokenClass
- TokenClassKey
- TokenHold
- TokenInUseError
- TokenInstance
- TokenInstanceKey
- TokenInstanceQuantity
- TokenInstanceQueryKey
- TokenLockedError
- TokenMintAllowance
- TokenMintAllowanceRequest
- TokenMintConfiguration
- TokenMintConfigurationDto
- TokenMintFulfillment
- TokenMintRequest
- TokenNotInBalanceError
- TokenNotInUseError
- TokenNotLockedError
- TokenQuantityNotUnlockedError
- TokenSale
- TokenSaleDtoValidationError
- TokenSaleFailedError
- TokenSaleFulfillment
- TokenSaleMintAllowance
- TokenSaleOwner
- TokenSaleQuantity
- TokenSaleTokenCost
- TokenSaleTokenSold
- TradeCalculationResDto
- TradeResDto
- TransferTokenDto
- UnauthorizedError
- UnlockTokenDto
- UnlockTokensDto
- UpdatePublicKeyDto
- UpdateTokenClassDto
- UseTokenDto
- UserBalanceResDto
- UserPosition
- UserPositionDTO
- UserProfile
- ValidationFailedError
- VestingToken
- VestingTokenInfo
- positionInfoDto
Interfaces
- AuthorizedOnBehalf
- ChainKeyConfig
- ChainKeyMetadata
- ClassConstructor
- ContractAPI
- ICCP
- IContextDetails
- ILoggerCommons
- IPosition
- IProcessDetails
- IRequestDetails
- IResponseDetails
- ITimeLogData
- MethodAPI
- OptionalChainErrorData
- TokenClassKeyProperties
- TokenInstanceKeyProperties
- TraceContext
Type Aliases
- BigNumberish
- Inferred
- NonFunctionProperties
- Numeric
- PositionInPool
- Primitive
- StepComputations
- SwapState
Variables
Functions
- ApplyConstructor
- ArrayUniqueConcat
- ArrayUniqueObjects
- BigNumberArrayProperty
- BigNumberIsInteger
- BigNumberIsNotInfinity
- BigNumberIsNotNegative
- BigNumberIsPositive
- BigNumberProperty
- ChainKey
- EnumProperty
- IsBigNumber
- IsDifferentValue
- IsNonZeroBigNumber
- IsUserAlias
- IsWholeNumber
- StringEnumProperty
- checkTicks
- computeSwapStep
- createAndSignValidDTO
- createValidDTO
- deserialize
- flipTick
- flipTickOrientation
- generateResponseSchema
- generateSchema
- getAmount0Delta
- getAmount1Delta
- getAmountsForLiquidity
- getFeeGrowthInside
- getLiquidityForAmounts
- getNextSqrtPriceFromAmount0
- getNextSqrtPriceFromAmount1
- getNextSqrtPriceFromInput
- getNextSqrtPriceFromOutput
- getValidationErrorMessages
- leastSignificantBit
- liquidity0
- liquidity1
- mostSignificantBit
- nextInitialisedTickWithInSameWord
- normalizePublicKey
- parseValidDTO
- requirePosititve
- serialize
- spaceTick
- sqrtPriceToTick
- tickCross
- tickSpacingToMaxLiquidityPerTick
- tickToSqrtPrice
- updatePositions
- updateTick
- validateDTO