--- openapi: 3.0.3 info: title: Bridge description: This API allows you to get the information on farm for bridge version: 1.0.0 tags: - name: burn_callbacks - name: dao - name: relays - name: staking - name: transfers servers: - url: "https://api.octusbridge.io/v1" - url: "https://api-test.octusbridge.io/v1" paths: /staking/search/stakeholders: post: tags: - staking summary: Stakeholders search description: Get stakeholders data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchStakeholdersRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/StakeholdersTableResponse" /transfers/tokens_info: post: tags: - transfers summary: tokens info search description: Get tokens info data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/ChainIds" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/TokensInfoResponse" /staking/search/transactions: post: tags: - staking summary: Transactions search description: Get transactions data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchTransactionsRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/TransactionsTableResponse" /staking/search/graph/tvl: post: tags: - staking summary: Graph tvl description: Get tvl graph data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/GraphRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/GraphDataResponse" /staking/main: get: tags: - staking summary: Main page staking description: Get main page data. responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/MainPageStakingResponse" /staking: post: tags: - staking summary: User page staking description: Post user page data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/UserPageStakingRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/UserPageStakingResponse" /transfers/search: post: tags: - transfers summary: Transfers search description: Get transfers data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchTransfersRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/TransfersTableResponse" /transfers/search_not_instant: post: tags: - transfers summary: Not instant transfers search description: Get not instant transfers data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchNotInstantTransfersRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/NotInstantTransfersTableResponse" /transfers/merge_tokens_info: post: tags: - transfers summary: merge tokens search description: Get merge tokens data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchMergeTokensInfoRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/MergeTokenTableResponse" /transfers/main_page: get: tags: - transfers summary: Transfers main page description: Get transfers main page. responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/TransfersStatResponse" /transfers/graph/volume: post: tags: - transfers summary: Transfers graph volume description: Get transfers volume graph data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/GraphRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/TransfersGraphDataResponse" /burn_callbacks/search: post: tags: - burn_callbacks summary: Burn callbacks search description: Get burn callbacks data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchBurnCallbackInfoRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/BurnCallbackTableResponse" /dao/search/stakeholders: post: tags: - dao summary: Dao stakeholders search description: Get stakeholders data. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchDaoStakeholdersRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/StakeholdersDaoTableResponse" "/dao/user/{user_address}": get: tags: - dao summary: Get dao stakeholder search description: Get stakeholder data. responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/DaoStakeholderResponse" parameters: - name: user_address in: path required: true schema: type: string /relays_pages/relay_info: post: tags: - relays summary: Relay info description: Get relay info. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/RelayInfoRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelayInfoResponse" /relays_pages/relay_round_info: post: tags: - relays summary: Relay round info description: Get relay round info. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/RelayRoundInfoRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelayRoundInfoResponse" /relays_pages/relays_round_info: post: tags: - relays summary: Relays round info description: Get relays round info. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/RelaysRoundInfoRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelaysRoundTableResponse" /relays_pages/all_relay_rounds_info: post: tags: - relays summary: Relay rounds info description: Get all relay rounds info. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/AllRelayRoundsRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelaysRoundTableResponse" /relays_pages/round_info: post: tags: - relays summary: Round info description: Get round info. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/RoundInfoRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RoundInfoResponse" /relays_pages/search/relays: post: tags: - relays summary: Relays search description: Get relays. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchRelaysRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelayTableSearchResponse" /relays_pages/search/relays_events: post: tags: - relays summary: "Relay's events search" description: "Get relay's events." requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchRelayEventsRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelayEventsTableSearchResponse" /relays_pages/search/global_relays_events: post: tags: - relays summary: "Global relay's events search" description: "Get global relay's events." requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/SearchGlobalRelayEventsRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/GlobalRelayEventsTableSearchResponse" /relays_pages/rounds_calendar: post: tags: - relays summary: "Round's calendar" description: "Get round's calendar." requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/RelayRoundsCalendarRequest" responses: 200: description: OK content: application/json: schema: type: array items: $ref: "#/components/schemas/CalendarRoundResponse" /relays_pages/relay_rounds_info: post: tags: - relays summary: Relay rounds info description: Get relay rounds info. requestBody: required: true description: "" content: application/json: schema: $ref: "#/components/schemas/RelayRoundsRequest" responses: 200: description: OK content: application/json: schema: $ref: "#/components/schemas/RelayRoundsTableResponse" components: schemas: AllRelayRoundsOrdering: description: Relays ordering type: string enum: - roundnumascending - roundnumdescending example: roundnumascending AllRelayRoundsRequest: description: Relay round info type: object properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/AllRelayRoundsOrdering" userAddress: type: string required: - limit - offset - userAddress - ordering BurnCallbackInfoResponse: description: Stakeholder response type: object properties: amount: description: amount type: string burnCallbackTimestampLt: type: integer format: int64 callId: type: integer format: int64 chainId: type: integer format: int32 createdAt: type: integer format: int64 creditProcessorAddress: nullable: true type: string ethUserAddress: type: string proxyAddress: type: string tonEventContractAddress: nullable: true type: string userAddress: type: string required: - amount - userAddress - callId - ethUserAddress - chainId - burnCallbackTimestampLt - proxyAddress - tonEventContractAddress - creditProcessorAddress - createdAt BurnCallbackOrdering: description: Stakeholders ordering nullable: true type: string enum: - amountexecascending - amountexecdescending - createdatascending - createdatdescending example: amountexecascending BurnCallbackTableResponse: description: Stakeholders table response type: object properties: totalCount: type: integer format: int64 transfers: type: array items: $ref: "#/components/schemas/BurnCallbackInfoResponse" required: - transfers - totalCount CalendarRoundResponse: description: Relay info response type: object properties: electionEndTime: nullable: true type: integer format: int64 electionStartTime: nullable: true type: integer format: int64 endTime: nullable: true type: integer format: int64 roundAddress: type: string roundNum: type: integer format: int32 startTime: nullable: true type: integer format: int64 required: - roundAddress - roundNum - startTime - endTime - electionStartTime - electionEndTime ChainIdStatsResponse: description: Chain id stats response type: object properties: chainId: type: integer format: int32 potentialConfirmed: type: integer format: int32 relayConfirmed: type: integer format: int32 required: - chainId - relayConfirmed - potentialConfirmed ChainIds: description: Chain ids type: object properties: chainIds: type: array items: type: integer format: int32 required: - chainIds DaoStakeholderResponse: description: Stakeholder response type: object properties: proposalVotesCount: type: integer format: int64 userAddress: type: string voteWeight: description: vote_weight type: string votes: description: votes type: string required: - userAddress - votes - voteWeight - proposalVotesCount EventType: description: Event Type nullable: true type: string enum: - deposit - withdraw - claim - freeze example: deposit GlobalRelayEventsSearchResponse: description: Relay info response type: object properties: amount: description: amount type: string chainId: type: integer format: int32 contractAddress: type: string from: nullable: true type: string timestamp: type: integer format: int64 to: nullable: true type: string tokenAddress: type: string transferKind: $ref: "#/components/schemas/TransferKind" required: - transferKind - contractAddress - chainId - tokenAddress - from - to - amount - timestamp GlobalRelayEventsTableSearchResponse: description: Relay info response type: object properties: relays: type: array items: $ref: "#/components/schemas/GlobalRelayEventsSearchResponse" totalCount: type: integer format: int64 required: - relays - totalCount GraphDataResponse: description: Graph data response type: object properties: data: description: data type: string timestamp: type: integer format: int64 required: - data - timestamp GraphRequest: description: Graph request type: object properties: from: type: integer format: int64 timeframe: $ref: "#/components/schemas/Timeframe" to: type: integer format: int64 required: - from - to - timeframe MainPageStakingResponse: description: Main page staking response type: object properties: averageApr: description: average_apr type: string reward30d: description: reward_30d type: string reward30dChange: description: reward_30d_change type: string stakeholders: type: integer format: int64 tvl: description: tvl type: string tvlChange: description: tvl_change type: string required: - tvl - tvlChange - reward30d - reward30dChange - averageApr - stakeholders MergeTokenResponse: type: object properties: canonTokenAddress: nullable: true type: string chainId: type: integer format: int32 configurationAddress: nullable: true type: string isEnable: nullable: true type: boolean mergePoolAddress: nullable: true type: string mergeRouterAddress: type: string tokenAddress: type: string tokenDecimals: type: integer format: int32 tokenName: type: string tokenSymbol: type: string required: - chainId - tokenAddress - tokenName - tokenSymbol - tokenDecimals - configurationAddress - mergePoolAddress - mergeRouterAddress - canonTokenAddress - isEnable MergeTokenTableResponse: type: object properties: tokens: type: array items: $ref: "#/components/schemas/MergeTokenResponse" totalCount: type: integer format: int32 required: - tokens - totalCount NotInstantTransferResponse: description: Stakeholder response type: object properties: bounty: description: bounty type: string chainId: type: integer format: int32 contractAddress: type: string currentAmount: description: current_amount type: string ethTokenAddress: type: string ethUserAddress: type: string payloadId: type: string status: type: string timestamp: type: integer format: int64 tonTokenAddress: type: string tonUserAddress: type: string userId: description: user_id type: string volumeExec: description: volume_exec type: string volumeUsdtExec: description: volume_usdt_exec type: string required: - bounty - currentAmount - status - userId - payloadId - tonUserAddress - contractAddress - chainId - volumeExec - volumeUsdtExec - tonTokenAddress - ethTokenAddress - ethUserAddress - timestamp NotInstantTransfersOrdering: description: Stakeholders ordering nullable: true type: string enum: - volumeexecascending - volumeexecdescending - bountyascending - bountydescending - createdatascending - createdatdescending example: volumeexecascending NotInstantTransfersTableResponse: description: Not instant transfers table response type: object properties: totalCount: type: integer format: int64 transfers: type: array items: $ref: "#/components/schemas/NotInstantTransferResponse" required: - transfers - totalCount RelayEventsOrdering: description: Relays ordering nullable: true type: string enum: - amountascending - amountdescending - timestampascending - timestampdescending example: amountascending RelayEventsSearchResponse: description: Relay info response type: object properties: amount: description: amount type: string chainId: type: integer format: int32 contractAddress: type: string from: nullable: true type: string timestamp: type: integer format: int64 to: nullable: true type: string tokenAddress: type: string transferKind: $ref: "#/components/schemas/TransferKind" required: - transferKind - contractAddress - chainId - tokenAddress - from - to - amount - timestamp RelayEventsTableSearchResponse: description: Relay info response type: object properties: relays: type: array items: $ref: "#/components/schemas/RelayEventsSearchResponse" totalCount: type: integer format: int64 required: - relays - totalCount RelayInfoRequest: description: Relay info type: object properties: relayAddress: type: string required: - relayAddress RelayInfoResponse: description: Relay info response type: object properties: evmStats: type: array items: $ref: "#/components/schemas/ChainIdStatsResponse" frozenStake: description: frozen_stake type: string latestReward: description: latest_reward type: string potentialTotalConfirmed: type: integer format: int32 relayTotalConfirmed: type: integer format: int32 successfulRounds: type: integer format: int32 totalCountRounds: type: integer format: int32 totalReward: description: total_reward type: string untilFrozen: type: integer format: int64 required: - frozenStake - untilFrozen - latestReward - totalReward - successfulRounds - totalCountRounds - relayTotalConfirmed - potentialTotalConfirmed - evmStats RelayRoundInfoRequest: description: Relay round info type: object properties: relayAddress: type: string roundNum: nullable: true type: integer format: int32 required: - relayAddress - roundNum RelayRoundInfoResponse: description: Relay info response type: object properties: endTime: type: integer format: int64 ethToTonUsdt: description: eth_to_ton_usdt type: string eventsConfirmed: type: integer format: int32 eventsConfirmedShare: description: events_confirmed_share type: string evmStats: type: array items: $ref: "#/components/schemas/ChainIdStatsResponse" relayAddress: type: string relayPlace: nullable: true type: integer format: int32 roundAddress: type: string roundNum: type: integer format: int32 stake: description: stake type: string startTime: type: integer format: int64 tonToEthUsdt: description: ton_to_eth_usdt type: string totalRoundConfirms: type: integer format: int32 required: - relayAddress - roundNum - stake - eventsConfirmed - tonToEthUsdt - ethToTonUsdt - relayPlace - eventsConfirmedShare - totalRoundConfirms - roundAddress - startTime - endTime - evmStats RelayRoundResponse: description: Relay info response type: object properties: endTime: nullable: true type: integer format: int64 eventsConfirmed: type: integer format: int32 eventsShare: description: events_part type: string fromTonUsdt: description: eth_to_ton_volume type: string fromTonUsdtShare: description: eth_to_ton_share type: string roundAddress: type: string roundNum: type: integer format: int32 stake: description: stake type: string startTime: nullable: true type: integer format: int64 toTonUsdt: description: to_ton_usdt type: string toTonUsdtShare: description: from_ton_usdt type: string required: - roundAddress - roundNum - stake - eventsConfirmed - toTonUsdt - toTonUsdtShare - fromTonUsdt - fromTonUsdtShare - startTime - endTime - eventsShare RelayRoundsCalendarRequest: description: Relay round info type: object properties: fromRoundNum: type: integer format: int32 toRoundNum: type: integer format: int32 required: - fromRoundNum - toRoundNum RelayRoundsOrdering: description: Relays ordering nullable: true type: string enum: - stakeascending - stakedescending - roundnumascending - roundnumdescending example: stakeascending RelayRoundsRequest: description: Relay round info type: object properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/RelayRoundsOrdering" roundNum: nullable: true type: integer format: int32 userAddress: nullable: true type: string required: - limit - offset - userAddress - roundNum - ordering RelayRoundsTableResponse: description: Relay info response type: object properties: relays: type: array items: $ref: "#/components/schemas/RelayRoundResponse" totalCount: type: integer format: int64 required: - relays - totalCount RelaySearchResponse: description: Relay info response type: object 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: description: stake type: string successfulRounds: type: integer format: int32 totalRounds: type: integer format: int32 required: - relayAddress - stake - slashed - currentRound - successfulRounds - totalRounds - createdAt - relayTotalConfirmed - potentialTotalConfirmed RelayTableSearchResponse: description: Relay info response type: object properties: relays: type: array items: $ref: "#/components/schemas/RelaySearchResponse" totalCount: type: integer format: int64 required: - relays - totalCount RelaysOrdering: description: Relays ordering nullable: true type: string enum: - stakeascending - stakedescending - createdatascending - createdatdescending example: stakeascending RelaysRoundInfoRequest: description: Round info type: object properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/RelaysRoundOrdering" roundNum: nullable: true type: integer format: int32 required: - roundNum - limit - offset - ordering RelaysRoundOrdering: description: Relays round ordering type: string enum: - stakeascending - stakedescending example: stakeascending RelaysRoundTableResponse: description: Relays table response type: object properties: relays: type: array items: $ref: "#/components/schemas/RelayRoundInfoResponse" totalCount: type: integer format: int64 required: - relays - totalCount RoundInfoRequest: description: Round info type: object properties: roundNum: nullable: true type: integer format: int32 required: - roundNum RoundInfoResponse: description: Relay info response type: object properties: averageRelayStake: description: average_relay_stake type: string averageRelayStakeChange: description: average_relay_stake_change type: string ethToTonUsdt: description: eth_to_ton_usdt type: string eventsConfirmed: type: integer format: int32 evmStats: type: array items: $ref: "#/components/schemas/ChainIdStatsResponse" relaysCount: type: integer format: int32 relaysCountChange: description: relays_count_change type: string roundNum: type: integer format: int32 tonToEthUsdt: description: ton_to_eth_usdt type: string totalStake: description: total_stake type: string totalStakeChange: description: total_stake_change type: string required: - roundNum - totalStake - totalStakeChange - averageRelayStake - averageRelayStakeChange - eventsConfirmed - relaysCount - relaysCountChange - tonToEthUsdt - ethToTonUsdt - evmStats RoundInterval: description: Round interval nullable: true type: string enum: - default - bidding example: default SearchBurnCallbackInfoRequest: description: Search callback info type: object properties: amountGe: description: amount_ge type: string amountLe: description: amount_le type: string callId: nullable: true type: integer format: int64 chainId: nullable: true type: integer format: int32 createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 creditProcessorAddress: nullable: true type: string ethUserAddress: nullable: true type: string limit: type: integer format: int64 offset: type: integer format: int64 ordering: $ref: "#/components/schemas/BurnCallbackOrdering" proxyAddress: nullable: true type: string tonEventUserAddress: nullable: true type: string required: - amountGe - amountLe - createdAtGe - createdAtLe - tonEventUserAddress - callId - creditProcessorAddress - proxyAddress - ordering - ethUserAddress - chainId - limit - offset SearchDaoStakeholdersRequest: description: Search stakeholders type: object properties: limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/StakeholdersDaoOrdering" required: - limit - offset - ordering SearchGlobalRelayEventsRequest: description: Relay round info type: object properties: amountGe: description: stake_ge type: string amountLe: description: stake_le type: string chainId: nullable: true type: integer format: int32 ethUserAddress: nullable: true type: string limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/RelayEventsOrdering" roundNum: nullable: true type: integer format: int32 timestampGe: nullable: true type: integer format: int64 timestampLe: nullable: true type: integer format: int64 tokenAddress: nullable: true type: string tonUserAddress: nullable: true type: string transferContractAddress: nullable: true type: string transferKind: $ref: "#/components/schemas/TransferKind" required: - limit - offset - timestampGe - timestampLe - transferKind - chainId - tokenAddress - amountGe - amountLe - tonUserAddress - ethUserAddress - ordering - roundNum - transferContractAddress SearchMergeTokensInfoRequest: description: Search merge tokens info type: object properties: canonTokenAddress: nullable: true type: string chainId: nullable: true type: integer format: int32 configurationAddress: nullable: true type: string isEnable: nullable: true type: boolean isOnlyMerge: nullable: true type: boolean limit: type: integer format: int32 mergePoolAddress: nullable: true type: string mergeRouterAddress: nullable: true type: string offset: type: integer format: int32 symbol: nullable: true type: string tokenAddress: nullable: true type: string required: - chainId - symbol - tokenAddress - mergePoolAddress - mergeRouterAddress - configurationAddress - canonTokenAddress - limit - offset - isEnable - isOnlyMerge SearchNotInstantTransfersRequest: description: Search stakeholders type: object properties: bountyGe: description: bounty_ge type: string bountyLe: description: bounty_le type: string chainId: nullable: true type: integer format: int32 contractAddress: nullable: true type: string createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 ethTokenAddress: nullable: true type: string limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/NotInstantTransfersOrdering" status: description: status type: string tonTokenAddress: nullable: true type: string userAddress: nullable: true type: string volumeExecGe: description: volume_exec_ge type: string volumeExecLe: description: volume_exec_le type: string required: - contractAddress - userAddress - tonTokenAddress - ethTokenAddress - limit - offset - volumeExecGe - volumeExecLe - bountyGe - bountyLe - chainId - status - createdAtGe - createdAtLe - ordering SearchRelayEventsRequest: description: Relay round info type: object properties: amountGe: description: stake_ge type: string amountLe: description: stake_le type: string chainId: nullable: true type: integer format: int32 ethUserAddress: nullable: true type: string limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/RelayEventsOrdering" relayAddress: nullable: true type: string roundNum: nullable: true type: integer format: int32 timestampGe: nullable: true type: integer format: int64 timestampLe: nullable: true type: integer format: int64 tokenAddress: nullable: true type: string tonUserAddress: nullable: true type: string transferContractAddress: nullable: true type: string transferKind: $ref: "#/components/schemas/TransferKind" required: - relayAddress - limit - offset - timestampGe - timestampLe - transferKind - chainId - tokenAddress - amountGe - amountLe - tonUserAddress - ethUserAddress - ordering - roundNum - transferContractAddress SearchRelaysRequest: description: Relay round info type: object properties: createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/RelaysOrdering" relayAddresses: nullable: true type: array items: type: string roundInterval: $ref: "#/components/schemas/RoundInterval" roundNum: nullable: true type: integer format: int32 stakeGe: description: stake_ge type: string stakeLe: description: stake_le type: string transferContractAddress: nullable: true type: string required: - relayAddresses - transferContractAddress - limit - offset - createdAtGe - createdAtLe - stakeGe - stakeLe - ordering - roundNum - roundInterval SearchStakeholdersRequest: description: Search stakeholders type: object properties: createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 frozenStakeGe: description: frozen_stake_ge type: string frozenStakeLe: description: frozen_stake_le type: string lastRewardGe: description: last_reward_ge type: string lastRewardLe: description: last_reward_le type: string limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/StakeholdersOrdering" relayCreatedAtGe: nullable: true type: integer format: int64 relayCreatedAtLe: nullable: true type: integer format: int64 stakeholderAddresses: nullable: true type: array items: type: string stakeholderKind: $ref: "#/components/schemas/UserType" totalRewardGe: description: total_reward_ge type: string totalRewardLe: description: total_reward_le type: string untilFrozenGe: description: until_frozen_ge type: string untilFrozenLe: description: until_frozen_le type: string userBalanceGe: description: user_balance_ge type: string userBalanceLe: description: user_balance_ge type: string required: - stakeholderAddresses - limit - offset - userBalanceGe - userBalanceLe - stakeholderKind - untilFrozenGe - untilFrozenLe - lastRewardGe - lastRewardLe - totalRewardGe - totalRewardLe - frozenStakeGe - frozenStakeLe - createdAtGe - createdAtLe - relayCreatedAtGe - relayCreatedAtLe - ordering SearchTransactionsRequest: description: Search transactions type: object properties: amountGe: description: amount_ge type: string amountLe: description: amount_le type: string limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/TransactionOrdering" timestampBlockGe: nullable: true type: integer format: int64 timestampBlockLe: nullable: true type: integer format: int64 transactionKind: $ref: "#/components/schemas/EventType" userAddress: nullable: true type: string required: - limit - offset - userAddress - transactionKind - amountGe - amountLe - timestampBlockGe - timestampBlockLe - ordering SearchTransfersRequest: description: Search stakeholders type: object properties: createdAtGe: nullable: true type: integer format: int64 createdAtLe: nullable: true type: integer format: int64 ethTokenAddress: nullable: true type: string ethTonChainId: nullable: true type: integer format: int32 limit: type: integer format: int32 offset: type: integer format: int32 ordering: $ref: "#/components/schemas/TransfersOrdering" status: description: status type: string tonEthChainId: nullable: true type: integer format: int32 tonTokenAddress: nullable: true type: string transferKinds: nullable: true type: array items: $ref: "#/components/schemas/TransferKind" updatedAtGe: nullable: true type: integer format: int64 updatedAtLe: nullable: true type: integer format: int64 userAddress: nullable: true type: string volumeExecGe: description: volume_exec_ge type: string volumeExecLe: description: volume_exec_le type: string required: - transferKinds - userAddress - tonTokenAddress - ethTokenAddress - limit - offset - volumeExecGe - volumeExecLe - ethTonChainId - tonEthChainId - status - updatedAtGe - updatedAtLe - createdAtGe - createdAtLe - ordering StakeholderResponse: description: Stakeholder response type: object properties: createdAt: type: integer format: int64 frozenStakeBalance: description: frozen_stake_balance type: string lastReward: description: last_reward type: string stakeBalance: description: stake_balance type: string totalReward: description: total_reward type: string userAddress: type: string userType: type: string required: - userAddress - userType - stakeBalance - frozenStakeBalance - lastReward - totalReward - createdAt StakeholdersDaoOrdering: description: Stakeholders ordering nullable: true type: string enum: - voteweightascending - voteweightdescending - votesascending - votesdescending example: voteweightascending StakeholdersDaoTableResponse: description: Stakeholders table response type: object properties: stakeholders: type: array items: $ref: "#/components/schemas/DaoStakeholderResponse" totalCount: type: integer format: int64 required: - stakeholders - totalCount StakeholdersOrdering: description: Stakeholders ordering nullable: true type: string enum: - updateatascending - updateatdescending - stakeascending - stakedescending - frozenstakeascending - frozenstakedescending - lastrewardascending - lastrewarddescending - totalrewardascending - totalrewarddescending - createdatascending - createdatdescending - relaycreatedatascending - relaycreatedatdescending - votesascending - votesdescending example: updateatascending StakeholdersTableResponse: description: Stakeholders table response type: object properties: stakeholders: type: array items: $ref: "#/components/schemas/StakeholderResponse" totalCount: type: integer format: int64 required: - stakeholders - totalCount Timeframe: description: Timeframe type: string enum: - H1 - D1 example: H1 TokenInfoResponse: description: Token info response type: object properties: address: type: string currency: type: string decimals: type: integer format: int32 evmAddress: type: string required: - address - currency - decimals - evmAddress TokensInfoResponse: description: Tokens info response type: object properties: chainIdTokens: type: object additionalProperties: type: array items: $ref: "#/components/schemas/TokenInfoResponse" required: - chainIdTokens TransactionOrdering: description: Transactions ordering nullable: true type: string enum: - amountascending - amountdescending - timestampblockascending - timestampblockatdescending example: amountascending TransactionResponse: description: Transaction response type: object properties: amountExec: description: amount_exec type: string timestampBlock: type: integer format: int64 transactionHash: type: string transactionKind: type: string tvExec: description: tv_exec type: string required: - transactionHash - transactionKind - amountExec - tvExec - timestampBlock TransactionsTableResponse: description: Transactions table response type: object properties: totalCount: type: integer format: int64 transactions: type: array items: $ref: "#/components/schemas/TransactionResponse" required: - transactions - totalCount TransferKind: description: Transfer kind type: string enum: - tontoeth - ethtoton - ethtoeth - creditethtoton - nativeethtoton - nativetontoeth - alienethtoton - alientontoeth example: tontoeth TransferResponse: description: Stakeholder response type: object properties: createdAt: type: integer format: int64 creditProcessorAddress: nullable: true type: string ethTonChainId: nullable: true type: integer format: int32 ethTonContractAddress: nullable: true type: string ethTonEthTokenAddress: nullable: true type: string ethTonEthUserAddress: nullable: true type: string ethTonProxyAddress: nullable: true type: string ethTonRequiredVotes: nullable: true type: integer format: int32 ethTonStatus: nullable: true type: string ethTonTonTokenAddress: nullable: true type: string ethTonTransactionHashEth: nullable: true type: string ethTonVolumeExec: description: eth_ton_volume_exec type: string ethTonVolumeUsdtExec: description: eth_ton_volume_usdt_exec type: string tonEthChainId: nullable: true type: integer format: int32 tonEthContractAddress: nullable: true type: string tonEthEthTokenAddress: nullable: true type: string tonEthEthUserAddress: nullable: true type: string tonEthProxyAddress: nullable: true type: string tonEthRequiredVotes: nullable: true type: integer format: int32 tonEthStatus: nullable: true type: string tonEthTonTokenAddress: nullable: true type: string tonEthVolumeExec: description: ton_eth_volume_exec type: string tonEthVolumeUsdtExec: description: ton_eth_volume_usdt_exec type: string tonUserAddress: type: string transferKind: type: string transferStatus: type: string updatedAt: type: integer format: int64 required: - tonUserAddress - transferStatus - transferKind - creditProcessorAddress - tonEthContractAddress - tonEthChainId - tonEthVolumeExec - tonEthVolumeUsdtExec - tonEthTonTokenAddress - tonEthEthTokenAddress - tonEthProxyAddress - tonEthEthUserAddress - tonEthStatus - tonEthRequiredVotes - ethTonContractAddress - ethTonChainId - ethTonVolumeExec - ethTonVolumeUsdtExec - ethTonTonTokenAddress - ethTonEthTokenAddress - ethTonProxyAddress - ethTonEthUserAddress - ethTonTransactionHashEth - ethTonStatus - ethTonRequiredVotes - updatedAt - createdAt TransfersGraphDataResponse: description: Transfer graph data response type: object properties: ethTonVolume: description: eth_ton_volume type: string timestamp: type: integer format: int64 tonEthVolume: description: ton_eth_volume type: string required: - ethTonVolume - tonEthVolume - timestamp TransfersOrdering: description: Stakeholders ordering nullable: true type: string enum: - tonethvolumeexecascending - tonethvolumeexecdescending - ethtonvolumeexecascending - ethtonvolumeexecdescending - updateatascending - updateatdescending - createdatascending - createdatdescending example: tonethvolumeexecascending TransfersStatResponse: description: Transfers main page response type: object properties: fromEverscaleUsdt: description: from_everscale_usdt type: string toEverscaleUsdt: description: to_everscale_usdt type: string volume24hUsdt: description: volume_24h_usdt type: string volume24hUsdtChange: description: volume_24h_usdt_change type: string volume7dUsdt: description: volume_7d_usdt type: string volume7dUsdtChange: description: volume_7d_usdt_change type: string required: - volume24hUsdt - volume24hUsdtChange - volume7dUsdt - volume7dUsdtChange - fromEverscaleUsdt - toEverscaleUsdt TransfersTableResponse: description: Transfers table response type: object properties: totalCount: type: integer format: int64 transfers: type: array items: $ref: "#/components/schemas/TransferResponse" required: - transfers - totalCount UserPageStakingRequest: description: User page staking request type: object properties: userAddress: type: string required: - userAddress UserPageStakingResponse: description: User page staking response type: object properties: averageApr: description: average_apr type: string user30dReward: description: user_30d_reward type: string user30dRewardChange: description: user_30d_reward_change type: string userFrozenStake: description: user_frozen_stake type: string userTvl: description: user_tvl type: string userTvlChange: description: user_tvl_change type: string required: - userTvl - userTvlChange - userFrozenStake - user30dReward - user30dRewardChange - averageApr UserType: description: Event Type nullable: true type: string enum: - ordinary - relay example: ordinary