--- openapi: 3.1.0 info: title: "" description: an example API version: "" servers: - url: "https://api.octusbridge.io/v1" description: production - url: "https://api-test.octusbridge.io/v1" description: test paths: /swagger.yaml: get: tags: - swagger /staking/: post: tags: - staking requestBody: content: application/json: schema: $ref: "#/components/schemas/UserPageStakingRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/UserPageStakingResponse" /staking/search/stakeholders: post: tags: - staking requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchStakeholdersRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/StakeholdersTableResponse" /staking/main: get: tags: - staking responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/MainPageStakingResponse" /staking/search/transactions: post: tags: - staking requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchTransactionsRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/TransactionsTableResponse" /staking/search/graph/tvl: post: tags: - staking requestBody: content: application/json: schema: $ref: "#/components/schemas/GraphRequest" required: true responses: "200": description: "" content: application/json: schema: type: array items: $ref: "#/components/schemas/GraphDataResponse" /staking/search/graph/apr: post: tags: - staking requestBody: content: application/json: schema: $ref: "#/components/schemas/GraphRequest" required: true responses: "200": description: "" content: application/json: schema: type: array items: $ref: "#/components/schemas/GraphDataResponse" /transfers/search: post: tags: - transfers summary: /transfers/search description: "Depending on the type of transfer eth->ton (evm->tvm), ton->eth (tvm->evm) or eth-eth (evm-evm), the null transfer fields will differ.\n\nFields with the prefix EthTon refer to eth->ton transfers, similar to TonEth for transfers of the type ton->eth." requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchTransfersRequest" required: true /transfers/graph/volume: post: tags: - transfers requestBody: content: application/json: schema: $ref: "#/components/schemas/GraphRequest2" required: true responses: "200": description: "" content: application/json: schema: type: array items: $ref: "#/components/schemas/TransfersGraphDataResponse" /transfers/main_page: get: tags: - transfers responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/TransfersStatResponse" /transfers/search_not_instant: post: tags: - transfers summary: /search_not_instant description: Transfers that could not close automatically get here (liquidity requests). requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchNotInstantTransfersRequest" required: true /transfers/merge_tokens_info: post: tags: - transfers summary: /merge_tokens_info description: A utility for merging the same tokens from different evm networks into tvm. requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchMergeTokensInfoRequest" required: true /transfers/tokens_info: post: tags: - transfers requestBody: content: application/json: schema: $ref: "#/components/schemas/ChainIds" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/TokensInfoResponse" /dao/search/stakeholders: post: tags: - dao requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchDaoStakeholdersRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/StakeholdersDaoTableResponse" "/dao/user/{address}": get: tags: - dao responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/DaoStakeholderResponse" /relays_pages/relay_info: post: tags: - relays summary: /relay_info description: Global statistics (with every evm) on relayers. requestBody: content: application/json: schema: $ref: "#/components/schemas/RelayInfoRequest" required: true /relays_pages/relay_round_info: post: tags: - relays requestBody: content: application/json: schema: $ref: "#/components/schemas/RelayRoundInfoRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/RelayRoundInfoResponse" /relays_pages/all_relay_rounds_info: post: tags: - relays summary: /all_relay_rounds_info description: Relayer statistics (with every evm) by rounds. requestBody: content: application/json: schema: $ref: "#/components/schemas/AllRelayRoundsRequest" required: true /relays_pages/relays_round_info: post: tags: - relays summary: /relays_round_info description: Relayers statistics (with every evm) for a specific round. requestBody: content: application/json: schema: $ref: "#/components/schemas/RelaysRoundInfoRequest" required: true /relays_pages/round_info: post: tags: - relays requestBody: content: application/json: schema: $ref: "#/components/schemas/RoundInfoRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/RoundInfoResponse" /relays_pages/search/relays: post: tags: - relays requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchRelaysRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/RelayTableSearchResponse" /relays_pages/search/relays_events: post: tags: - relays requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchRelayEventsRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/RelayEventsTableSearchResponse" /relays_pages/search/global_relays_events: post: tags: - relays requestBody: content: application/json: schema: $ref: "#/components/schemas/SearchGlobalRelayEventsRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/GlobalRelayEventsTableSearchResponse" /relays_pages/rounds_calendar: post: tags: - relays summary: /rounds_calendar description: Information on time periods in rounds. requestBody: content: application/json: schema: $ref: "#/components/schemas/RelayRoundsCalendarRequest" required: true /relays_pages/relay_rounds_info: post: tags: - relays summary: /relay_rounds_info description: General information on relayers (without every evm network stat). requestBody: content: application/json: schema: $ref: "#/components/schemas/RelayRoundsRequest" required: true /gate_prices/: post: tags: - gate_prices summary: /gate_prices description: "A route to receive prices (ETH, BNB, FMT, etc.) from the \"gate.io\" in native tvm tokens. The price is updated every 1 minute." requestBody: content: application/json: schema: $ref: "#/components/schemas/GatePricesRequest" required: true /gate_prices/all: get: tags: - gate_prices summary: /gate_prices/all description: Get all gate rates by chain_id /payload/build: post: tags: - payload requestBody: content: application/json: schema: $ref: "#/components/schemas/BuildPayloadRequest" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/BuildPayloadResponse" /payload/calc_destination_token: post: tags: - payload requestBody: content: application/json: schema: $ref: "#/components/schemas/CalcDestinationTokenInput" required: true responses: "200": description: "" content: application/json: schema: $ref: "#/components/schemas/CalcDestinationTokenResponse" /vaults/tvm_currency_info: post: tags: - vaults summary: /tvm_currency_info description: Get vaults token balances. requestBody: content: application/json: schema: $ref: "#/components/schemas/TvmCurrenciesVaultsRequest" required: true /vaults/all_gas_prices: get: tags: - vaults summary: /all_gas_prices description: Get all gas prices by chain_id /vaults/tvl: get: tags: - vaults summary: /tvl description: Get global vault tvl components: schemas: AllRelayRoundsOrdering: type: string enum: - roundnumascending - roundnumdescending AllRelayRoundsRequest: type: object required: - limit - offset - ordering - userAddress properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/AllRelayRoundsOrdering" userAddress: type: string BuildPayloadRequest: oneOf: - type: object required: - evmTvm properties: evmTvm: $ref: "#/components/schemas/EvmTvmRequest" additionalProperties: false - type: object required: - tvmEvm properties: tvmEvm: $ref: "#/components/schemas/TvmEvmRequest" additionalProperties: false - type: object required: - evmEvm properties: evmEvm: $ref: "#/components/schemas/EvmEvmRequest" additionalProperties: false - type: object required: - tvmEvmNativeV1 properties: tvmEvmNativeV1: $ref: "#/components/schemas/TvmEvmNativeV1Request" additionalProperties: false - type: object required: - tvmEvmNativeV2 properties: tvmEvmNativeV2: $ref: "#/components/schemas/TvmEvmNativeV2Request" additionalProperties: false - type: object required: - solTvm properties: solTvm: $ref: "#/components/schemas/SolanaTvmRequest" additionalProperties: false - type: object required: - tvmSol properties: tvmSol: $ref: "#/components/schemas/TvmSolanaRequest" additionalProperties: false - type: object required: - solEvm properties: solEvm: $ref: "#/components/schemas/SolanaEvmRequest" additionalProperties: false - type: object required: - evmSol properties: evmSol: $ref: "#/components/schemas/EvmSolRequest" additionalProperties: false - type: object required: - tvmSolNativeV1 properties: tvmSolNativeV1: $ref: "#/components/schemas/TvmSolNativeV1Request" additionalProperties: false BuildPayloadResponse: oneOf: - type: object required: - evmTvm properties: evmTvm: $ref: "#/components/schemas/EvmTvmResponse" additionalProperties: false - type: object required: - tvmEvm properties: tvmEvm: $ref: "#/components/schemas/TvmEvmResponse" additionalProperties: false - type: object required: - evmEvm properties: evmEvm: $ref: "#/components/schemas/EvmEvmResponse" additionalProperties: false - type: object required: - tvmEvmNativeV1 properties: tvmEvmNativeV1: $ref: "#/components/schemas/TvmEvmNativeV1Response" additionalProperties: false - type: object required: - tvmEvmNativeV2 properties: tvmEvmNativeV2: $ref: "#/components/schemas/TvmEvmNativeV2Response" additionalProperties: false - type: object required: - solTvm properties: solTvm: $ref: "#/components/schemas/SolTvmResponse" additionalProperties: false - type: object required: - tvmSol properties: tvmSol: $ref: "#/components/schemas/TvmSolResponse" additionalProperties: false - type: object required: - solEvm properties: solEvm: $ref: "#/components/schemas/SolEvmResponse" additionalProperties: false - type: object required: - evmSol properties: evmSol: $ref: "#/components/schemas/EvmSolResponse" additionalProperties: false - type: object required: - tvmSolNativeV1 properties: tvmSolNativeV1: $ref: "#/components/schemas/TvmSolNativeV1Response" additionalProperties: false BurnCallbackInfoResponse: type: object required: - amount - burnCallbackTimestampLt - callId - chainId - createdAt - ethUserAddress - proxyAddress - userAddress properties: amount: examples: - "1.337" type: string burnCallbackTimestampLt: type: integer format: int64 callId: type: integer format: int64 chainId: type: integer format: int32 createdAt: type: integer format: int64 creditProcessorAddress: type: - string - "null" ethUserAddress: type: string proxyAddress: type: string tonEventContractAddress: type: - string - "null" userAddress: type: string BurnCallbackOrdering: type: string enum: - amountexecascending - amountexecdescending - createdatascending - createdatdescending BurnCallbackTableResponse: type: object required: - totalCount - transfers properties: totalCount: type: integer format: int64 transfers: type: array items: $ref: "#/components/schemas/BurnCallbackInfoResponse" CalcDestinationTokenInput: oneOf: - type: object required: - evmTvm properties: evmTvm: $ref: "#/components/schemas/EvmTvmTokenRequest" additionalProperties: false - type: object required: - tvmEvm properties: tvmEvm: $ref: "#/components/schemas/TvmEvmTokenRequest" additionalProperties: false CalcDestinationTokenResponse: oneOf: - type: object required: - evmTvm properties: evmTvm: $ref: "#/components/schemas/EvmTvmTokenResponse" additionalProperties: false - type: object required: - tvmEvm properties: tvmEvm: $ref: "#/components/schemas/TvmEvmTokenResponse" additionalProperties: false ChainIdStatsResponse: type: object required: - chainId - potentialConfirmed - relayConfirmed properties: chainId: type: integer format: int32 potentialConfirmed: type: integer format: int32 relayConfirmed: type: integer format: int32 ChainIds: type: object required: - chainIds properties: chainIds: type: array items: type: integer format: int32 CompoundResponse: type: object required: - amount - deployWalletValue - notify - payload - recipient - remainingGasTo properties: amount: type: string deployWalletValue: type: string notify: type: boolean payload: type: string recipient: type: string remainingGasTo: type: string DaoStakeholderResponse: type: object required: - proposalVotesCount - userAddress - voteWeight - votes properties: proposalVotesCount: type: integer format: int64 userAddress: type: string voteWeight: examples: - "1.337" type: string votes: examples: - "1.337" type: string EventType: type: string enum: - deposit - withdraw - claim - freeze EvmEvmRequest: type: object required: - callback - evmRecipientAddress - evmTokenAddress - evmTokenAmount - evmTokenDecimals - evmTokenName - evmTokenSymbol - fromChainId - toChainId properties: callback: $ref: "#/components/schemas/TvmEvmCallbackRequest" evmRecipientAddress: type: string evmTokenAddress: type: string evmTokenAmount: type: string evmTokenDecimals: type: integer format: int32 evmTokenName: type: string evmTokenSymbol: type: string fromChainId: type: integer format: int32 toChainId: type: integer format: int32 userWalletAddress: type: - string - "null" EvmEvmResponse: type: object required: - destinationEvmTokenAddress - evmDepositTokenAddress - evmGlobalFeeAmount - evmGlobalFeeTokensAmount - evmMultivaultAddress - evmTokenAmount - evmTvmFeeAmount - evmTvmFeeTokensAmount - evmTvmGasEstimateTokensAmount - evmTvmRate - evmTvmRemainingGasTo - evmTvmTokenIsDeployed - evmTvmTokenType - expectedNativeTokensAmount - payload - tvmEvmFeeAmount - tvmEvmFeeTokensAmount - tvmEvmGasEstimateTokensAmount - tvmEvmRate - tvmEvmRemainingGasTo - tvmEvmTokenIsDeployed - tvmEvmTokenType - tvmRecipientAddress - tvmTokenAddress properties: destinationEvmTokenAddress: type: string evmDepositTokenAddress: type: string evmGlobalFeeAmount: type: string evmGlobalFeeTokensAmount: type: string evmMultivaultAddress: type: string evmTokenAmount: type: string evmTvmFeeAmount: type: string evmTvmFeeTokensAmount: type: string evmTvmGasEstimateTokensAmount: type: string evmTvmRate: type: string evmTvmRemainingGasTo: type: string evmTvmTokenIsDeployed: type: boolean evmTvmTokenType: $ref: "#/components/schemas/TokenType" expectedNativeTokensAmount: type: string payload: type: string tvmEvmFeeAmount: type: string tvmEvmFeeTokensAmount: type: string tvmEvmGasEstimateTokensAmount: type: string tvmEvmRate: type: string tvmEvmRemainingGasTo: type: string tvmEvmTokenIsDeployed: type: boolean tvmEvmTokenType: $ref: "#/components/schemas/TokenType" tvmRecipientAddress: type: string tvmTokenAddress: type: string EvmSolRequest: type: object required: - evmTokenAddress - evmTokenAmount - evmTokenDecimals - evmTokenName - evmTokenSymbol - executeAccounts - fromChainId - solRecipientAddress properties: evmTokenAddress: type: string evmTokenAmount: type: string evmTokenDecimals: type: integer format: int32 evmTokenName: type: string evmTokenSymbol: type: string executeAccounts: type: array items: $ref: "#/components/schemas/ExecuteAccountRequest" fromChainId: type: integer format: int32 solRecipientAddress: type: string EvmSolResponse: type: object required: - destinationSolTokenAddress - evmDepositTokenAddress - evmGlobalFeeAmount - evmGlobalFeeTokensAmount - evmTokenAmount - evmTvmFeeAmount - evmTvmFeeTokensAmount - evmTvmGasEstimateTokensAmount - evmTvmRate - evmTvmRemainingGasTo - evmTvmTokenIsDeployed - evmTvmTokenType - expectedNativeTokensAmount - payload - tvmRecipientAddress - tvmSolFeeAmount - tvmSolFeeTokensAmount - tvmSolGasEstimateTokensAmount - tvmSolRate - tvmSolRemainingGasTo - tvmSolTokenIsDeployed - tvmSolTokenType - tvmTokenAddress properties: destinationSolTokenAddress: type: string evmDepositTokenAddress: type: string evmGlobalFeeAmount: type: string evmGlobalFeeTokensAmount: type: string evmTokenAmount: type: string evmTvmFeeAmount: type: string evmTvmFeeTokensAmount: type: string evmTvmGasEstimateTokensAmount: type: string evmTvmRate: type: string evmTvmRemainingGasTo: type: string evmTvmTokenIsDeployed: type: boolean evmTvmTokenType: $ref: "#/components/schemas/TokenType" expectedNativeTokensAmount: type: string payload: type: string tvmRecipientAddress: type: string tvmSolFeeAmount: type: string tvmSolFeeTokensAmount: type: string tvmSolGasEstimateTokensAmount: type: string tvmSolRate: type: string tvmSolRemainingGasTo: type: string tvmSolTokenIsDeployed: type: boolean tvmSolTokenType: $ref: "#/components/schemas/TokenType" tvmTokenAddress: type: string EvmTvmRequest: type: object required: - evmChainId - evmTokenAddress - evmTokenAmount - evmTokenDecimals - evmTokenName - evmTokenSymbol - payload - tvmRecipientAddress - tvmRemainingGasTo - useCredit properties: evmChainId: type: integer format: int32 evmTokenAddress: type: string evmTokenAmount: type: string evmTokenDecimals: type: integer format: int32 evmTokenName: type: string evmTokenSymbol: type: string expectedNativeTokensAmount: type: - string - "null" payload: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string useCredit: type: boolean EvmTvmResponse: type: object required: - evmDepositFeeAmount - evmDepositFeeTokensAmount - evmDepositTokenAddress - evmDepositTokensAmount - evmMultivaultAddress - expectedNativeTokensAmount - gasEstimateTokensAmount - payload - rate - tokenIsDeployed - tokenType - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAddress properties: evmDepositFeeAmount: type: string evmDepositFeeTokensAmount: type: string evmDepositTokenAddress: type: string evmDepositTokensAmount: type: string evmExpectedNativeTokensAmount: type: - string - "null" evmMultivaultAddress: type: string expectedNativeTokensAmount: type: string gasEstimateTokensAmount: type: string payload: type: string rate: type: string tokenIsDeployed: type: boolean tokenType: $ref: "#/components/schemas/TokenType" tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAddress: type: string EvmTvmTokenRequest: type: object required: - evmChainId - evmTokenAddress - evmTokenDecimals - evmTokenName - evmTokenSymbol properties: evmChainId: type: integer format: int32 evmTokenAddress: type: string evmTokenDecimals: type: integer format: int32 evmTokenName: type: string evmTokenSymbol: type: string EvmTvmTokenResponse: type: object required: - tokenAddress - tokenType properties: decimals: type: - integer - "null" format: int32 name: type: - string - "null" symbol: type: - string - "null" tokenAddress: type: string tokenType: $ref: "#/components/schemas/TokenType" ExecuteAccountRequest: type: object required: - account - isSigner - readOnly properties: account: type: string isSigner: type: boolean readOnly: type: boolean GatePricesRequest: type: object required: - ticker properties: ticker: type: string GlobalRelayEventsSearchResponse: type: object required: - amount - chainId - contractAddress - timestamp - tokenAddress - transferKind properties: amount: examples: - "1.337" type: string chainId: type: integer format: int32 contractAddress: type: string from: type: - string - "null" timestamp: type: integer format: int64 to: type: - string - "null" tokenAddress: type: string transferKind: $ref: "#/components/schemas/TransferKind" GlobalRelayEventsTableSearchResponse: type: object required: - relays - totalCount properties: relays: type: array items: $ref: "#/components/schemas/GlobalRelayEventsSearchResponse" totalCount: type: integer format: int64 GraphDataResponse: type: object required: - data - timestamp properties: data: examples: - "1.337" type: string timestamp: type: integer format: int64 GraphRequest: type: object required: - from - timeframe - to properties: from: type: integer format: int64 timeframe: $ref: "#/components/schemas/Timeframe" to: type: integer format: int64 GraphRequest2: type: object required: - from - timeframe - to properties: from: type: integer format: int64 timeframe: $ref: "#/components/schemas/Timeframe" to: type: integer format: int64 MainPageStakingResponse: type: object required: - averageApr - reward30d - reward30dChange - stakeholders - tvl - tvlChange properties: averageApr: examples: - "1.337" type: string reward30d: examples: - "1.337" type: string reward30dChange: examples: - "1.337" type: string stakeholders: type: integer format: int64 tvl: examples: - "1.337" type: string tvlChange: examples: - "1.337" type: string NotInstantTransfersOrdering: type: string enum: - volumeexecascending - volumeexecdescending - bountyascending - bountydescending - createdatascending - createdatdescending OperationTvmEvmEverV1Response: oneOf: - type: object required: - vaultWrap properties: vaultWrap: $ref: "#/components/schemas/VaultWrapResponse" additionalProperties: false - type: object required: - transfer properties: transfer: $ref: "#/components/schemas/TvmEvmNativeTransferResponse" additionalProperties: false - type: object required: - compound properties: compound: $ref: "#/components/schemas/CompoundResponse" additionalProperties: false OperationTvmEvmEverV2Response: oneOf: - type: object required: - transfer properties: transfer: $ref: "#/components/schemas/TvmEvmNativeTransferV2Response" additionalProperties: false - type: object required: - acceptNative properties: acceptNative: $ref: "#/components/schemas/TvmEvmNativeAcceptNativeResponse" additionalProperties: false OperationTvmEvmResponse: type: string enum: - burn - transfer RelayEventsOrdering: type: string enum: - amountascending - amountdescending - timestampascending - timestampdescending RelayEventsSearchResponse: type: object required: - amount - chainId - contractAddress - timestamp - tokenAddress - transferKind properties: amount: examples: - "1.337" type: string chainId: type: integer format: int32 contractAddress: type: string from: type: - string - "null" timestamp: type: integer format: int64 to: type: - string - "null" tokenAddress: type: string transferKind: $ref: "#/components/schemas/TransferKind" RelayEventsTableSearchResponse: type: object required: - relays - totalCount properties: relays: type: array items: $ref: "#/components/schemas/RelayEventsSearchResponse" totalCount: type: integer format: int64 RelayInfoRequest: type: object required: - relayAddress properties: relayAddress: type: string RelayRoundInfoRequest: type: object required: - relayAddress properties: relayAddress: type: string roundNum: type: - integer - "null" format: int32 RelayRoundInfoResponse: type: object required: - endTime - ethToTonUsdt - eventsConfirmed - eventsConfirmedShare - evmStats - relayAddress - roundAddress - roundNum - stake - startTime - tonToEthUsdt - totalRoundConfirms properties: endTime: type: integer format: int64 ethToTonUsdt: examples: - "1.337" type: string eventsConfirmed: type: integer format: int32 eventsConfirmedShare: examples: - "1.337" type: string evmStats: type: array items: $ref: "#/components/schemas/ChainIdStatsResponse" relayAddress: type: string relayPlace: type: - integer - "null" format: int32 roundAddress: type: string roundNum: type: integer format: int32 stake: examples: - "1.337" type: string startTime: type: integer format: int64 tonToEthUsdt: examples: - "1.337" type: string totalRoundConfirms: type: integer format: int32 RelayRoundsCalendarRequest: type: object required: - fromRoundNum - toRoundNum properties: fromRoundNum: type: integer format: int32 toRoundNum: type: integer format: int32 RelayRoundsOrdering: type: string enum: - stakeascending - stakedescending - roundnumascending - roundnumdescending RelayRoundsRequest: type: object required: - limit - offset properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/RelayRoundsOrdering" - type: "null" roundNum: type: - integer - "null" format: int32 userAddress: type: - string - "null" RelaySearchResponse: type: object required: - createdAt - currentRound - potentialTotalConfirmed - relayAddress - relayTotalConfirmed - slashed - stake - successfulRounds - totalRounds properties: createdAt: type: integer format: int64 currentRound: type: boolean potentialTotalConfirmed: type: integer format: int32 relayAddress: type: string relayTotalConfirmed: type: integer format: int32 slashed: type: boolean stake: examples: - "1.337" type: string successfulRounds: type: integer format: int32 totalRounds: type: integer format: int32 RelayTableSearchResponse: type: object required: - relays - totalCount properties: relays: type: array items: $ref: "#/components/schemas/RelaySearchResponse" totalCount: type: integer format: int64 RelaysOrdering: type: string enum: - stakeascending - stakedescending - createdatascending - createdatdescending RelaysRoundInfoRequest: type: object required: - limit - offset - ordering properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/RelaysRoundOrdering" roundNum: type: - integer - "null" format: int32 RelaysRoundOrdering: type: string enum: - stakeascending - stakedescending RoundInfoRequest: type: object properties: roundNum: type: - integer - "null" format: int32 RoundInfoResponse: type: object required: - averageRelayStake - averageRelayStakeChange - ethToTonUsdt - eventsConfirmed - evmStats - relaysCount - relaysCountChange - roundNum - tonToEthUsdt - totalStake - totalStakeChange properties: averageRelayStake: examples: - "1.337" type: string averageRelayStakeChange: examples: - "1.337" type: string ethToTonUsdt: examples: - "1.337" type: string eventsConfirmed: type: integer format: int32 evmStats: type: array items: $ref: "#/components/schemas/ChainIdStatsResponse" relaysCount: type: integer format: int32 relaysCountChange: examples: - "1.337" type: string roundNum: type: integer format: int32 tonToEthUsdt: examples: - "1.337" type: string totalStake: examples: - "1.337" type: string totalStakeChange: examples: - "1.337" type: string RoundInterval: type: string enum: - default - bidding SearchBurnCallbackInfoRequest: type: object required: - limit - offset properties: amountGe: examples: - "1.337" type: - string - "null" amountLe: examples: - "1.337" type: - string - "null" callId: type: - integer - "null" format: int64 chainId: type: - integer - "null" format: int32 createdAtGe: type: - integer - "null" format: int64 createdAtLe: type: - integer - "null" format: int64 creditProcessorAddress: type: - string - "null" ethUserAddress: type: - string - "null" limit: type: integer format: int64 offset: type: integer format: int64 ordering: anyOf: - $ref: "#/components/schemas/BurnCallbackOrdering" - type: "null" proxyAddress: type: - string - "null" tonEventUserAddress: type: - string - "null" SearchDaoStakeholdersRequest: type: object required: - limit - offset properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/StakeholdersDaoOrdering" - type: "null" SearchGlobalRelayEventsRequest: type: object required: - limit - offset properties: amountGe: examples: - "1.337" type: - string - "null" amountLe: examples: - "1.337" type: - string - "null" chainId: type: - integer - "null" format: int32 ethUserAddress: type: - string - "null" limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/RelayEventsOrdering" - type: "null" roundNum: type: - integer - "null" format: int32 timestampGe: type: - integer - "null" format: int64 timestampLe: type: - integer - "null" format: int64 tokenAddress: type: - string - "null" tonUserAddress: type: - string - "null" transferContractAddress: type: - string - "null" transferKind: anyOf: - $ref: "#/components/schemas/TransferKind" - type: "null" SearchMergeTokensInfoRequest: type: object required: - limit - offset properties: canonTokenAddress: type: - string - "null" chainId: type: - integer - "null" format: int32 configurationAddress: type: - string - "null" isEnable: type: - boolean - "null" isOnlyMerge: type: - boolean - "null" limit: type: integer format: int32 mergePoolAddress: type: - string - "null" mergeRouterAddress: type: - string - "null" offset: type: integer format: int32 symbol: type: - string - "null" tokenAddress: type: - string - "null" SearchNotInstantTransfersRequest: type: object required: - limit - offset properties: bountyGe: examples: - "1.337" type: - string - "null" bountyLe: examples: - "1.337" type: - string - "null" chainId: type: - integer - "null" format: int32 contractAddress: type: - string - "null" createdAtGe: type: - integer - "null" format: int64 createdAtLe: type: - integer - "null" format: int64 ethTokenAddress: type: - string - "null" evmWhiteListTokens: type: - array - "null" items: type: string limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/NotInstantTransfersOrdering" - type: "null" status: anyOf: - $ref: "#/components/schemas/WithdrawalsStatus" - type: "null" tonTokenAddress: type: - string - "null" tvmWhiteListTokens: type: - array - "null" items: type: string userAddress: type: - string - "null" volumeExecGe: examples: - "1.337" type: - string - "null" volumeExecLe: examples: - "1.337" type: - string - "null" SearchRelayEventsRequest: type: object required: - limit - offset properties: amountGe: examples: - "1.337" type: - string - "null" amountLe: examples: - "1.337" type: - string - "null" chainId: type: - integer - "null" format: int32 ethUserAddress: type: - string - "null" limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/RelayEventsOrdering" - type: "null" relayAddress: type: - string - "null" roundNum: type: - integer - "null" format: int32 timestampGe: type: - integer - "null" format: int64 timestampLe: type: - integer - "null" format: int64 tokenAddress: type: - string - "null" tonUserAddress: type: - string - "null" transferContractAddress: type: - string - "null" transferKind: anyOf: - $ref: "#/components/schemas/TransferKind" - type: "null" SearchRelaysRequest: type: object required: - limit - offset properties: createdAtGe: type: - integer - "null" format: int64 createdAtLe: type: - integer - "null" format: int64 limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/RelaysOrdering" - type: "null" relayAddresses: type: - array - "null" items: type: string roundInterval: anyOf: - $ref: "#/components/schemas/RoundInterval" - type: "null" roundNum: type: - integer - "null" format: int32 stakeGe: examples: - "1.337" type: - string - "null" stakeLe: examples: - "1.337" type: - string - "null" transferContractAddress: type: - string - "null" SearchStakeholdersRequest: type: object required: - limit - offset properties: createdAtGe: type: - integer - "null" format: int64 createdAtLe: type: - integer - "null" format: int64 frozenStakeGe: examples: - "1.337" type: - string - "null" frozenStakeLe: examples: - "1.337" type: - string - "null" lastRewardGe: examples: - "1.337" type: - string - "null" lastRewardLe: examples: - "1.337" type: - string - "null" limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/StakeholdersOrdering" - type: "null" relayCreatedAtGe: type: - integer - "null" format: int64 relayCreatedAtLe: type: - integer - "null" format: int64 stakeholderAddresses: type: - array - "null" items: type: string stakeholderKind: anyOf: - $ref: "#/components/schemas/UserType" - type: "null" totalRewardGe: examples: - "1.337" type: - string - "null" totalRewardLe: examples: - "1.337" type: - string - "null" untilFrozenGe: examples: - "1.337" type: - string - "null" untilFrozenLe: examples: - "1.337" type: - string - "null" userBalanceGe: examples: - "1.337" type: - string - "null" userBalanceLe: examples: - "1.337" type: - string - "null" SearchTransactionsRequest: type: object required: - limit - offset properties: amountGe: examples: - "1.337" type: - string - "null" amountLe: examples: - "1.337" type: - string - "null" limit: type: integer format: int32 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/TransactionOrdering" - type: "null" timestampBlockGe: type: - integer - "null" format: int64 timestampBlockLe: type: - integer - "null" format: int64 transactionKind: anyOf: - $ref: "#/components/schemas/EventType" - type: "null" userAddress: type: - string - "null" SearchTransfersRequest: type: object required: - limit - offset properties: createdAtGe: type: - integer - "null" format: int64 createdAtLe: type: - integer - "null" format: int64 ethTokenAddress: type: - string - "null" ethTonChainId: type: - integer - "null" format: int32 ethTonTransactionHashEth: type: - string - "null" limit: type: integer format: int32 nonce: type: - integer - "null" format: uint64 minimum: 0.0 offset: type: integer format: int32 ordering: anyOf: - $ref: "#/components/schemas/TransfersOrdering" - type: "null" status: anyOf: - $ref: "#/components/schemas/TransferStatus" - type: "null" tonEthChainId: type: - integer - "null" format: int32 tonEthContractAddress: type: - string - "null" tonTokenAddress: type: - string - "null" transferKinds: type: - array - "null" items: $ref: "#/components/schemas/TransferKind" updatedAtGe: type: - integer - "null" format: int64 updatedAtLe: type: - integer - "null" format: int64 userAddress: type: - string - "null" volumeExecGe: examples: - "1.337" type: - string - "null" volumeExecLe: examples: - "1.337" type: - string - "null" SolEvmResponse: type: object required: - destinationEvmTokenAddress - evmGlobalFeeAmount - evmGlobalFeeTokensAmount - evmMultivaultAddress - expectedNativeTokensAmount - payload - solDepositTokenAddress - solTokenAmount - solTvmFeeAmount - solTvmFeeTokensAmount - solTvmGasEstimateTokensAmount - solTvmRate - solTvmRemainingGasTo - solTvmTokenIsDeployed - solTvmTokenType - tvmEvmFeeAmount - tvmEvmFeeTokensAmount - tvmEvmGasEstimateTokensAmount - tvmEvmRate - tvmEvmRemainingGasTo - tvmEvmTokenIsDeployed - tvmEvmTokenType - tvmRecipientAddress - tvmTokenAddress properties: destinationEvmTokenAddress: type: string evmGlobalFeeAmount: type: string evmGlobalFeeTokensAmount: type: string evmMultivaultAddress: type: string expectedNativeTokensAmount: type: string payload: type: string solDepositTokenAddress: type: string solTokenAmount: type: string solTvmFeeAmount: type: string solTvmFeeTokensAmount: type: string solTvmGasEstimateTokensAmount: type: string solTvmRate: type: string solTvmRemainingGasTo: type: string solTvmTokenIsDeployed: type: boolean solTvmTokenType: $ref: "#/components/schemas/TokenType" tvmEvmFeeAmount: type: string tvmEvmFeeTokensAmount: type: string tvmEvmGasEstimateTokensAmount: type: string tvmEvmRate: type: string tvmEvmRemainingGasTo: type: string tvmEvmTokenIsDeployed: type: boolean tvmEvmTokenType: $ref: "#/components/schemas/TokenType" tvmRecipientAddress: type: string tvmTokenAddress: type: string SolTvmResponse: type: object required: - expectedNativeTokensAmount - gasEstimateTokensAmount - payload - rate - solDepositFeeAmount - solDepositFeeTokensAmount - solDepositTokenAddress - solDepositTokensAmount - tokenIsDeployed - tokenType - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAddress properties: expectedNativeTokensAmount: type: string gasEstimateTokensAmount: type: string payload: type: string rate: type: string solDepositFeeAmount: type: string solDepositFeeTokensAmount: type: string solDepositTokenAddress: type: string solDepositTokensAmount: type: string solExpectedNativeTokensAmount: type: - string - "null" tokenIsDeployed: type: boolean tokenType: $ref: "#/components/schemas/TokenType" tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAddress: type: string SolanaEvmRequest: type: object required: - callback - evmRecipientAddress - solTokenAddress - solTokenAmount - solTokenDecimals - solTokenName - solTokenSymbol - toChainId properties: callback: $ref: "#/components/schemas/TvmEvmCallbackRequest" evmRecipientAddress: type: string solTokenAddress: type: string solTokenAmount: type: string solTokenDecimals: type: integer format: int32 solTokenName: type: string solTokenSymbol: type: string toChainId: type: integer format: int32 SolanaTvmRequest: type: object required: - payload - solTokenAddress - solTokenAmount - solTokenDecimals - solTokenName - solTokenSymbol - tvmRecipientAddress - tvmRemainingGasTo - useCredit properties: expectedNativeTokensAmount: type: - string - "null" payload: type: string solTokenAddress: type: string solTokenAmount: type: string solTokenDecimals: type: integer format: int32 solTokenName: type: string solTokenSymbol: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string useCredit: type: boolean StakeholderResponse: type: object required: - createdAt - frozenStakeBalance - lastReward - stakeBalance - totalReward - userAddress - userType properties: createdAt: type: integer format: int64 frozenStakeBalance: examples: - "1.337" type: string lastReward: examples: - "1.337" type: string stakeBalance: examples: - "1.337" type: string totalReward: examples: - "1.337" type: string userAddress: type: string userType: type: string StakeholdersDaoOrdering: type: string enum: - voteweightascending - voteweightdescending - votesascending - votesdescending StakeholdersDaoTableResponse: type: object required: - stakeholders - totalCount properties: stakeholders: type: array items: $ref: "#/components/schemas/DaoStakeholderResponse" totalCount: type: integer format: int64 StakeholdersOrdering: type: string enum: - updateatascending - updateatdescending - stakeascending - stakedescending - frozenstakeascending - frozenstakedescending - lastrewardascending - lastrewarddescending - totalrewardascending - totalrewarddescending - createdatascending - createdatdescending - relaycreatedatascending - relaycreatedatdescending - votesascending - votesdescending StakeholdersTableResponse: type: object required: - stakeholders - totalCount properties: stakeholders: type: array items: $ref: "#/components/schemas/StakeholderResponse" totalCount: type: integer format: int64 Timeframe: type: string enum: - H1 - D1 TokenInfoResponse: type: object required: - address - currency - decimals - evmAddress properties: address: type: string currency: type: string decimals: type: integer format: int32 evmAddress: type: string TokenType: type: string enum: - Alien - Native TokensInfoResponse: type: object required: - chainIdTokens properties: chainIdTokens: type: object additionalProperties: type: array items: $ref: "#/components/schemas/TokenInfoResponse" TransactionOrdering: type: string enum: - amountascending - amountdescending - timestampblockascending - timestampblockatdescending TransactionResponse: type: object required: - amountExec - timestampBlock - transactionHash - transactionKind - tvExec properties: amountExec: examples: - "1.337" type: string timestampBlock: type: integer format: int64 transactionHash: type: string transactionKind: type: string tvExec: examples: - "1.337" type: string TransactionsTableResponse: type: object required: - totalCount - transactions properties: totalCount: type: integer format: int64 transactions: type: array items: $ref: "#/components/schemas/TransactionResponse" TransferKind: type: string enum: - tontoeth - ethtoton - ethtoeth - creditethtoton TransferStatus: type: string enum: - pending - rejected - confirmed TransfersGraphDataResponse: type: object required: - ethTonVolume - timestamp - tonEthVolume properties: ethTonVolume: examples: - "1.337" type: string timestamp: type: integer format: int64 tonEthVolume: examples: - "1.337" type: string TransfersOrdering: type: string enum: - tonethvolumeexecascending - tonethvolumeexecdescending - ethtonvolumeexecascending - ethtonvolumeexecdescending - updateatascending - updateatdescending - createdatascending - createdatdescending TransfersStatResponse: type: object required: - fromEverscaleUsdt - toEverscaleUsdt - volume24hUsdt - volume24hUsdtChange - volume7dUsdt - volume7dUsdtChange properties: fromEverscaleUsdt: examples: - "1.337" type: string toEverscaleUsdt: examples: - "1.337" type: string volume24hUsdt: examples: - "1.337" type: string volume24hUsdtChange: examples: - "1.337" type: string volume7dUsdt: examples: - "1.337" type: string volume7dUsdtChange: examples: - "1.337" type: string TvmCurrenciesVaultsRequest: type: object required: - addresses properties: addresses: type: array items: type: string TvmEvmCallbackRequest: type: object required: - evmHexPayload - evmRecipientAddress - strict properties: evmHexPayload: type: string evmRecipientAddress: type: string strict: type: boolean TvmEvmNativeAcceptNativeResponse: type: object required: - deployWalletValue - tvmBase64Payload - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAmount properties: deployWalletValue: type: string tvmBase64Payload: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string TvmEvmNativeTransferResponse: type: object required: - tvmBase64Payload - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAmount properties: tvmBase64Payload: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string TvmEvmNativeTransferV2Response: type: object required: - deployWalletValue - notify - tvmBase64Payload - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAmount properties: deployWalletValue: type: string notify: type: boolean tvmBase64Payload: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string TvmEvmNativeV1Request: type: object required: - callback - evmChainId - evmRecipientAddress - nativeTokenAmount - tvmRemainingGasTo - tvmTokenAmount - useCredit - wrappedNativeTokenAmount properties: callback: $ref: "#/components/schemas/TvmEvmCallbackRequest" evmChainId: type: integer format: int32 evmRecipientAddress: type: string nativeTokenAmount: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string useCredit: type: boolean wrappedNativeTokenAmount: type: string TvmEvmNativeV1Response: type: object required: - evmMultivaultAddress - evmTokenAddress - feeAmount - feeTokensAmount - gasEstimateTokensAmount - initialBalanceTokensAmount - operation - tvmConfigurationAddress - tvmValue properties: evmMultivaultAddress: type: string evmTokenAddress: type: string feeAmount: type: string feeTokensAmount: type: string gasEstimateTokensAmount: type: string initialBalanceTokensAmount: type: string operation: $ref: "#/components/schemas/OperationTvmEvmEverV1Response" rate: type: - string - "null" tvmConfigurationAddress: type: string tvmNativeValue: type: - string - "null" tvmValue: type: string TvmEvmNativeV2Request: type: object required: - callback - evmChainId - evmRecipientAddress - nativeTokenAmount - tvmRemainingGasTo - tvmTokenAmount - useCredit - wrappedNativeTokenAmount properties: callback: $ref: "#/components/schemas/TvmEvmCallbackRequest" evmChainId: type: integer format: int32 evmRecipientAddress: type: string nativeTokenAmount: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string useCredit: type: boolean userWalletAddress: type: - string - "null" wrappedNativeTokenAmount: type: string TvmEvmNativeV2Response: type: object required: - evmMultivaultAddress - evmTokenAddress - feeAmount - feeTokensAmount - gasEstimateTokensAmount - initialBalanceTokensAmount - operation - tvmConfigurationAddress - tvmValue properties: evmMultivaultAddress: type: string evmTokenAddress: type: string feeAmount: type: string feeTokensAmount: type: string gasEstimateTokensAmount: type: string initialBalanceTokensAmount: type: string operation: $ref: "#/components/schemas/OperationTvmEvmEverV2Response" rate: type: - string - "null" tvmConfigurationAddress: type: string tvmNativeValue: type: - string - "null" tvmValue: type: string TvmEvmRequest: type: object required: - callback - evmChainId - evmRecipientAddress - tvmRemainingGasTo - tvmTokenAddress - tvmTokenAmount - useCredit properties: callback: $ref: "#/components/schemas/TvmEvmCallbackRequest" evmChainId: type: integer format: int32 evmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAddress: type: string tvmTokenAmount: type: string useCredit: type: boolean TvmEvmResponse: type: object required: - evmFeeAmount - evmFeeTokensAmount - evmMultivaultAddress - evmTokenAddress - gasEstimateTokensAmount - operation - rate - tokenIsDeployed - tokenType - tvmBase64Payload - tvmConfigurationAddress - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAmount properties: evmFeeAmount: type: string evmFeeTokensAmount: type: string evmMultivaultAddress: type: string evmTokenAddress: type: string gasEstimateTokensAmount: type: string operation: $ref: "#/components/schemas/OperationTvmEvmResponse" rate: type: string tokenIsDeployed: type: boolean tokenType: $ref: "#/components/schemas/TokenType" tvmBase64Payload: type: string tvmConfigurationAddress: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string TvmEvmTokenRequest: type: object required: - evmChainId - tvmTokenAddress properties: evmChainId: type: integer format: int32 tvmTokenAddress: type: string TvmEvmTokenResponse: type: object required: - tokenAddress - tokenType properties: tokenAddress: type: string tokenType: $ref: "#/components/schemas/TokenType" TvmSolNativeV1Request: type: object required: - executeAccounts - nativeTokenAmount - solRecipientAddress - tvmRemainingGasTo - tvmTokenAmount - useCredit - wrappedNativeTokenAmount properties: executeAccounts: type: array items: $ref: "#/components/schemas/ExecuteAccountRequest" nativeTokenAmount: type: string solRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string useCredit: type: boolean wrappedNativeTokenAmount: type: string TvmSolNativeV1Response: type: object required: - feeAmount - feeTokensAmount - gasEstimateTokensAmount - initialBalanceTokensAmount - operation - solTokenAddress - tvmConfigurationAddress - tvmValue properties: feeAmount: type: string feeTokensAmount: type: string gasEstimateTokensAmount: type: string initialBalanceTokensAmount: type: string operation: $ref: "#/components/schemas/OperationTvmEvmEverV1Response" rate: type: - string - "null" solTokenAddress: type: string tvmConfigurationAddress: type: string tvmNativeValue: type: - string - "null" tvmValue: type: string TvmSolResponse: type: object required: - gasEstimateTokensAmount - operation - rate - solFeeAmount - solFeeTokensAmount - solTokenAddress - tokenIsDeployed - tokenType - tvmBase64Payload - tvmConfigurationAddress - tvmRecipientAddress - tvmRemainingGasTo - tvmTokenAmount properties: gasEstimateTokensAmount: type: string operation: $ref: "#/components/schemas/OperationTvmEvmResponse" rate: type: string solFeeAmount: type: string solFeeTokensAmount: type: string solTokenAddress: type: string tokenIsDeployed: type: boolean tokenType: $ref: "#/components/schemas/TokenType" tvmBase64Payload: type: string tvmConfigurationAddress: type: string tvmRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAmount: type: string TvmSolanaRequest: type: object required: - executeAccounts - solRecipientAddress - tvmRemainingGasTo - tvmTokenAddress - tvmTokenAmount - useCredit properties: executeAccounts: type: array items: $ref: "#/components/schemas/ExecuteAccountRequest" solRecipientAddress: type: string tvmRemainingGasTo: type: string tvmTokenAddress: type: string tvmTokenAmount: type: string useCredit: type: boolean UserPageStakingRequest: type: object required: - userAddress properties: userAddress: type: string UserPageStakingResponse: type: object required: - averageApr - user30dReward - user30dRewardChange - userFrozenStake - userTvl - userTvlChange properties: averageApr: examples: - "1.337" type: string user30dReward: examples: - "1.337" type: string user30dRewardChange: examples: - "1.337" type: string userFrozenStake: examples: - "1.337" type: string userTvl: examples: - "1.337" type: string userTvlChange: examples: - "1.337" type: string UserType: type: string enum: - ordinary - relay VaultWrapResponse: type: object required: - gasBackAddress - ownerAddress - payload - tokens properties: gasBackAddress: type: string ownerAddress: type: string payload: type: string tokens: type: string WithdrawalsStatus: type: string enum: - Open - Close