{
	"components": {
		"responses": {
			"ActionsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"properties": {
								"actions": {
									"items": {
										"$ref": "#/components/schemas/Action"
									},
									"type": "array"
								},
								"count": {
									"description": "Int64, number of results matching the given filters. It may be -1 if\nMidgard is having trouble counting the results and has to cancel the count query\n(temporary fix). Also, if new action parameters is used it won't be returned.\n",
									"type": "string"
								},
								"meta": {
									"$ref": "#/components/schemas/ActionMeta"
								}
							},
							"required": [
								"actions",
								"meta"
							],
							"type": "object"
						}
					}
				},
				"description": "Returns an array of actions for the given filters."
			},
			"AffiliateEarningResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/AffiliateEarning"
						}
					}
				},
				"description": "Affiliate earnings (liquidity fees) history"
			},
			"AffiliateHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/AffiliateHistory"
						}
					}
				},
				"description": "Affiliate fee count and earnings history"
			},
			"AffiliateStatsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/AffiliateStats"
						}
					}
				},
				"description": "Affiliate count and volume stats history"
			},
			"BalanceResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Balance"
						}
					}
				},
				"description": "object containing balance details for a given address"
			},
			"BonderDetailsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/BonderDetails"
						}
					}
				},
				"description": "object containing bonder data for a specific member"
			},
			"BorrowerDetailsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/BorrowerDetails"
						}
					}
				},
				"description": "object containing loan data for a specific borrower"
			},
			"BorrowersResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Borrowers"
						}
					}
				},
				"description": "array of all the borrowers"
			},
			"ChurnsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Churns"
						}
					}
				},
				"description": "Array containing the last occurred churns in block height and timestamp"
			},
			"DepthHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/DepthHistory"
						}
					}
				},
				"description": "Depth and price history"
			},
			"EarningsHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/EarningsHistory"
						}
					}
				},
				"description": "earnings history"
			},
			"HealthResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Health"
						}
					}
				},
				"description": "Returns health status for Midgard"
			},
			"HolderResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Holders"
						}
					}
				},
				"description": "object containing balance details for a given address"
			},
			"KnownPoolsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/KnownPools"
						}
					}
				},
				"description": "Object containing known pools to status mapping"
			},
			"LiquidityHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/LiquidityHistory"
						}
					}
				},
				"description": "Withdrawals and deposits history"
			},
			"MemberDetailsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/MemberDetails"
						}
					}
				},
				"description": "object containing liquidity provider data for a specific member"
			},
			"MembersResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Members"
						}
					}
				},
				"description": "array of all the members"
			},
			"NetworkResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Network"
						}
					}
				},
				"description": "Returns an object containing Network data"
			},
			"NodesResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Nodes"
						}
					}
				},
				"description": "Returns an object containing Node public key data"
			},
			"PoolResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/PoolDetail"
						}
					}
				},
				"description": "Object containing details for one pool"
			},
			"PoolStatsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/PoolStatsDetail"
						}
					}
				},
				"description": "Stats for one pool."
			},
			"PoolsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/PoolDetails"
						}
					}
				},
				"description": "Array of pool details"
			},
			"RUNEPoolDetailsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/RUNEPoolDetails"
						}
					}
				},
				"description": "object containing RUNEPool data for a specific members"
			},
			"RUNEPoolHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/RUNEPoolHistory"
						}
					}
				},
				"description": "Members and Units history of RUNEPool"
			},
			"ReserveHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/ReserveHistory"
						}
					}
				},
				"description": "Reserve"
			},
			"ReverseTHORNameResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/ReverseTHORNames"
						}
					}
				},
				"description": "object containing a list of THORName names for a specific address"
			},
			"RunePriceHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/RunePriceHistory"
						}
					}
				},
				"description": "Returns rune price history in USD based on the time bucket given"
			},
			"SaverDetailsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/SaverDetails"
						}
					}
				},
				"description": "object containing saver data for a specific member"
			},
			"SaversHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/SaversHistory"
						}
					}
				},
				"description": "Depth and Units history of savers"
			},
			"StatsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/StatsData"
						}
					}
				},
				"description": "object containing global THORChain data"
			},
			"SwapHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/SwapHistory"
						}
					}
				},
				"description": "Swap count, volume, fee and slip history"
			},
			"TCYDistributionResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/TCYDistribution"
						}
					}
				},
				"description": "object containing TCY distribution data for a specific address"
			},
			"THORNameDetailsResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/THORNameDetails"
						}
					}
				},
				"description": "object containing THORName data for a specific name"
			},
			"TVLHistoryResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/TVLHistory"
						}
					}
				},
				"description": "Total pool depths, total bonds, and total value locked history"
			},
			"VotesResponse": {
				"content": {
					"application/json": {
						"schema": {
							"$ref": "#/components/schemas/Votes"
						}
					}
				},
				"description": "Array containing the current protocol voting situation"
			}
		},
		"schemas": {
			"Action": {
				"description": "action details among with related transactions",
				"properties": {
					"date": {
						"description": "Int64, nano timestamp of the block at which the action was registered",
						"type": "string"
					},
					"height": {
						"description": "Int64, height of the block at which the action was registered",
						"type": "string"
					},
					"in": {
						"description": "Inbound transactions related to the action",
						"items": {
							"$ref": "#/components/schemas/Transaction"
						},
						"type": "array"
					},
					"metadata": {
						"$ref": "#/components/schemas/Metadata"
					},
					"out": {
						"description": "Outbound transactions related to the action",
						"items": {
							"$ref": "#/components/schemas/Transaction"
						},
						"type": "array"
					},
					"pools": {
						"description": "Pools involved in the action",
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"status": {
						"description": "Indicates if the action is completed or if related outbound transactions are still\npending, failed to be processed.\n",
						"enum": [
							"success",
							"pending",
							"failed"
						],
						"type": "string"
					},
					"type": {
						"description": "Type of action",
						"enum": [
							"swap",
							"addLiquidity",
							"withdraw",
							"donate",
							"refund",
							"switch",
							"thorname",
							"send",
							"runePoolDeposit",
							"runePoolWithdraw"
						],
						"type": "string"
					}
				},
				"required": [
					"pools",
					"type",
					"status",
					"in",
					"out",
					"date",
					"height",
					"metadata"
				],
				"type": "object"
			},
			"ActionMeta": {
				"description": "action query metadata",
				"properties": {
					"nextPageToken": {
						"description": "Int64, The last action event_id that can be used for pagination. \nThis token is needed to be given for next page.\n",
						"type": "string"
					},
					"prevPageToken": {
						"description": "Int64, The first action event_id that can be used for previous pagination.\nThis token is needed to be given for previous page.\n",
						"type": "string"
					}
				},
				"required": [
					"nextPageToken",
					"prevPageToken"
				],
				"type": "object"
			},
			"AddLiquidityMetadata": {
				"properties": {
					"affiliateAddress": {
						"description": "Affiliate fee address of the addLiquidity",
						"type": "string"
					},
					"affiliateFee": {
						"description": "Int64 (Basis points, 0-1000, where 1000=10%)",
						"type": "string"
					},
					"liquidityUnits": {
						"description": "Int64, amount of liquidity units assigned to the member as result of the liquidity\ndeposit\n",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of the addLiquidity action",
						"type": "string"
					}
				},
				"required": [
					"liquidityUnits",
					"memo",
					"affiliateAddress",
					"affiliateFee"
				],
				"type": "object"
			},
			"AffiliateEarning": {
				"items": {
					"$ref": "#/components/schemas/AffiliateEarningInterval"
				},
				"type": "array"
			},
			"AffiliateEarningInterval": {
				"properties": {
					"affiliates": {
						"description": "List of affiliate earnings for the time interval",
						"items": {
							"$ref": "#/components/schemas/AffiliateEarningItem"
						},
						"type": "array"
					},
					"count": {
						"description": "Int64, The total count of affiliate transactions during the time interval\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"totalEarningsRune": {
						"description": "Int64(e8), The total earnings (liquidity fees) of all affiliates in RUNE during the time interval\n",
						"type": "string"
					},
					"totalEarningsUSD": {
						"description": "Int64(e2), The total earnings (liquidity fees) of all affiliates in USD during the time interval\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"totalEarningsRune",
					"totalEarningsUSD",
					"count",
					"affiliates"
				],
				"type": "object"
			},
			"AffiliateEarningItem": {
				"properties": {
					"affiliate": {
						"description": "Affiliate address or THORName",
						"type": "string"
					},
					"count": {
						"description": "Int64, The count of transactions for this affiliate during the time interval\n",
						"type": "string"
					},
					"earningsRUNE": {
						"description": "Int64(e8), The earnings (liquidity fees) for this affiliate in RUNE during the time interval\n",
						"type": "string"
					},
					"earningsUSD": {
						"description": "Int64(e2), The earnings (liquidity fees) for this affiliate in USD during the time interval\n",
						"type": "string"
					}
				},
				"required": [
					"affiliate",
					"earningsUSD",
					"earningsRUNE",
					"count"
				],
				"type": "object"
			},
			"AffiliateHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/AffiliateHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/AffiliateHistoryMeta"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"AffiliateHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/AffiliateHistoryItem"
				},
				"type": "array"
			},
			"AffiliateHistoryItem": {
				"properties": {
					"count": {
						"description": "Int64, The count of affiliates during the time interval\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"thornames": {
						"items": {
							"$ref": "#/components/schemas/ItemThorname"
						},
						"type": "array"
					},
					"volume": {
						"description": "Int64(e8), The total earnings of the affiliates detonated in RUNE\n",
						"type": "string"
					},
					"volumeUSD": {
						"description": "Int64(e2), The total earnings of the affiliates\ndenoted in USD price\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"count",
					"thornames",
					"volume",
					"volumeUSD"
				],
				"type": "object"
			},
			"AffiliateHistoryMeta": {
				"properties": {
					"count": {
						"description": "Int64, The count of affiliates during the time interval\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"volume": {
						"description": "Int64(e8), The total earnings of the affiliates detonated in RUNE\n",
						"type": "string"
					},
					"volumeUSD": {
						"description": "Int64(e2), The total earnings of the affiliates\ndenoted in USD price\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"count",
					"volume",
					"volumeUSD"
				],
				"type": "object"
			},
			"AffiliateStatItem": {
				"properties": {
					"affiliate": {
						"description": "affiliate address",
						"type": "string"
					},
					"count": {
						"description": "Int64, The count of swaps for the affiliate during the stats interval\n",
						"type": "string"
					},
					"volumeUSD": {
						"description": "Int64(e2), The volume of swaps for the affiliate\ndenoted in USD price of the rune in each swap\n",
						"type": "string"
					}
				},
				"required": [
					"affiliate",
					"count",
					"volumeUSD"
				],
				"type": "object"
			},
			"AffiliateStats": {
				"items": {
					"$ref": "#/components/schemas/AffiliateStatsItem"
				},
				"type": "array"
			},
			"AffiliateStatsItem": {
				"properties": {
					"affiliates": {
						"items": {
							"$ref": "#/components/schemas/AffiliateStatItem"
						},
						"type": "array"
					},
					"count": {
						"description": "Int64, The count of unique swaps during the stats interval\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of the stats interval in unix timestamp",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of the stats interval in unix timestamp",
						"type": "string"
					},
					"totalVolumeUSD": {
						"description": "Int64(e2), The total volume of the affiliates\ndenoted in USD price\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"totalVolumeUSD",
					"count",
					"affiliates"
				],
				"type": "object"
			},
			"Balance": {
				"properties": {
					"coins": {
						"$ref": "#/components/schemas/Coins"
					},
					"date": {
						"description": "full timestamp (nanoseconds since 1970) of the block at which the returned balance snapshot was valid",
						"example": "946684801000000000",
						"type": "string"
					},
					"height": {
						"description": "height of the block at which the returned balance snapshot was valid",
						"example": "2000000",
						"type": "string"
					}
				},
				"required": [
					"height",
					"date",
					"coins"
				],
				"type": "object"
			},
			"BlockRewards": {
				"properties": {
					"blockReward": {
						"type": "string"
					},
					"bondReward": {
						"type": "string"
					},
					"poolReward": {
						"type": "string"
					}
				},
				"required": [
					"blockReward",
					"bondReward",
					"poolReward"
				],
				"type": "object"
			},
			"BondMetadata": {
				"properties": {
					"fee": {
						"description": "node operator fee",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of bond event",
						"type": "string"
					},
					"nodeAddress": {
						"description": "node address",
						"type": "string"
					},
					"provider": {
						"description": "bond provider address",
						"type": "string"
					}
				},
				"required": [
					"memo",
					"nodeAddress"
				],
				"type": "object"
			},
			"BondMetrics": {
				"properties": {
					"averageActiveBond": {
						"description": "Int64(e8), Average bond of active nodes",
						"type": "string"
					},
					"averageStandbyBond": {
						"description": "Int64(e8), Average bond of standby nodes",
						"type": "string"
					},
					"bondHardCap": {
						"description": "Int64(e8), Highest effective bond for nodes",
						"type": "string"
					},
					"maximumActiveBond": {
						"description": "Int64(e8), Maxinum bond of active nodes",
						"type": "string"
					},
					"maximumStandbyBond": {
						"description": "Int64(e8), Maximum bond of standby nodes",
						"type": "string"
					},
					"medianActiveBond": {
						"description": "Int64(e8), Median bond of active nodes",
						"type": "string"
					},
					"medianStandbyBond": {
						"description": "Int64(e8), Median bond of standby nodes",
						"type": "string"
					},
					"minimumActiveBond": {
						"description": "Int64(e8), Minimum bond of active nodes",
						"type": "string"
					},
					"minimumStandbyBond": {
						"description": "Int64(e8), Minimum bond of standby nodes",
						"type": "string"
					},
					"totalActiveBond": {
						"description": "Int64(e8), Total bond of active nodes",
						"type": "string"
					},
					"totalStandbyBond": {
						"description": "Int64(e8), Total bond of standby nodes",
						"type": "string"
					}
				},
				"required": [
					"totalActiveBond",
					"averageActiveBond",
					"medianActiveBond",
					"minimumActiveBond",
					"maximumActiveBond",
					"bondHardCap",
					"totalStandbyBond",
					"averageStandbyBond",
					"medianStandbyBond",
					"minimumStandbyBond",
					"maximumStandbyBond"
				],
				"type": "object"
			},
			"BonderDetails": {
				"properties": {
					"address": {
						"description": "Bonder address",
						"example": "thor1",
						"type": "string"
					},
					"nodes": {
						"items": {
							"$ref": "#/components/schemas/BonderNode"
						},
						"type": "array"
					},
					"totalBonded": {
						"description": "Int64(e8), total amount of RUNE bonded from the bonder",
						"example": "1000000000",
						"type": "string"
					}
				},
				"required": [
					"address",
					"totalBonded",
					"nodes"
				],
				"type": "object"
			},
			"BonderNode": {
				"properties": {
					"address": {
						"description": "Bonded node address",
						"example": "thor1",
						"type": "string"
					},
					"bond": {
						"description": "Int64(e8), amount of RUNE bonded to the node",
						"example": "1000000000",
						"type": "string"
					},
					"status": {
						"description": "status of the node",
						"example": "Active",
						"type": "string"
					}
				},
				"required": [
					"address",
					"bond",
					"status"
				],
				"type": "object"
			},
			"BorrowerDetails": {
				"properties": {
					"pools": {
						"description": "List details of all the loans identified with the given address",
						"items": {
							"$ref": "#/components/schemas/BorrowerPool"
						},
						"type": "array"
					}
				},
				"required": [
					"pools"
				],
				"type": "object"
			},
			"BorrowerPool": {
				"properties": {
					"collateral_asset": {
						"description": "The asset that the borrower used as collateral",
						"type": "string"
					},
					"collateral_deposited": {
						"description": "Int64(e8), The total amount of collateral that user deposited",
						"type": "string"
					},
					"collateral_withdrawn": {
						"description": "Int64(e8), The total amount of collateral the system paid back to the user",
						"type": "string"
					},
					"debt_issued_tor": {
						"description": "Int64(e8), The total amount of debt issued as debt for user. denominated in TOR.",
						"type": "string"
					},
					"debt_repaid_tor": {
						"description": "Int64(e8), The total amount of debt that the user paid back. denominated in TOR.",
						"type": "string"
					},
					"last_open_loan_timestamp": {
						"description": "Int64, Unix timestamp for the last time borrower opened a loan",
						"type": "string"
					},
					"last_repay_loan_timestamp": {
						"description": "Int64, Unix timestamp for the last time borrower repayment occurred",
						"type": "string"
					},
					"target_assets": {
						"items": {
							"description": "All target assets that the user used as debt target",
							"example": "ETH.ETH",
							"type": "string"
						},
						"type": "array"
					}
				},
				"required": [
					"collateral_asset",
					"target_assets",
					"debt_issued_tor",
					"debt_repaid_tor",
					"collateral_deposited",
					"collateral_withdrawn",
					"last_open_loan_timestamp",
					"last_repay_loan_timestamp"
				],
				"type": "object"
			},
			"Borrowers": {
				"items": {
					"description": "Borrower address",
					"example": "tbnb1fj2lqj8dvr5pumfchc7ntlfqd2v6zdxqwjewf5",
					"type": "string"
				},
				"type": "array"
			},
			"ChurnItem": {
				"properties": {
					"date": {
						"description": "full timestamp (nanoseconds since 1970) of the block at which the churn occurred",
						"example": "946684801000000000",
						"type": "string"
					},
					"height": {
						"description": "height of the block at which the churn occurred",
						"example": "2000000",
						"type": "string"
					}
				},
				"required": [
					"height",
					"date"
				],
				"type": "object"
			},
			"Churns": {
				"items": {
					"$ref": "#/components/schemas/ChurnItem"
				},
				"type": "array"
			},
			"Coin": {
				"description": "Represents a digital currency amount",
				"properties": {
					"amount": {
						"description": "Int64(e8), asset Amount.",
						"type": "string"
					},
					"asset": {
						"description": "Asset in CHAIN.SYMBOL format",
						"type": "string"
					}
				},
				"required": [
					"asset",
					"amount"
				],
				"type": "object"
			},
			"Coins": {
				"items": {
					"$ref": "#/components/schemas/Coin"
				},
				"type": "array"
			},
			"ContractMetadata": {
				"properties": {
					"attributes": {
						"description": "contract attributes emitted from its event",
						"type": "object"
					},
					"contractType": {
						"description": "contract type defined by cosmwasm",
						"type": "string"
					},
					"funds": {
						"description": "contract funds emitted from its event",
						"type": "string"
					},
					"msg": {
						"description": "contract massages emitted from its event",
						"type": "object"
					}
				},
				"required": [
					"contractType",
					"attributes"
				],
				"type": "object"
			},
			"DepthHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/DepthHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/DepthHistoryMeta"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"DepthHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/DepthHistoryItem"
				},
				"type": "array"
			},
			"DepthHistoryItem": {
				"properties": {
					"assetDepth": {
						"description": "Int64(e8), the amount of Asset in the pool at the end of the interval",
						"type": "string"
					},
					"assetPrice": {
						"description": "Float, price of asset in rune. I.e. rune amount / asset amount",
						"type": "string"
					},
					"assetPriceUSD": {
						"description": "Float, the price of asset in USD (based on the deepest USD pool).",
						"type": "string"
					},
					"closePriceUSD": {
						"description": "Float, the closing price of asset in USD at the end of the interval.",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"highPriceUSD": {
						"description": "Float, the highest price of asset in USD during the interval.",
						"type": "string"
					},
					"liquidityUnits": {
						"description": "Int64, Liquidity Units in the pool at the end of the interval",
						"type": "string"
					},
					"lowPriceUSD": {
						"description": "Float, the lowest price of asset in USD during the interval.",
						"type": "string"
					},
					"luvi": {
						"description": "Float, The liquidity unit value index. Sqrt(assetDepth * runeDepth)/liquidity units\n",
						"type": "string"
					},
					"membersCount": {
						"description": "Int64, Number of liquidity members in the pool at the end of the interval",
						"type": "string"
					},
					"openPriceUSD": {
						"description": "Float, the opening price of asset in USD at the beginning of the interval.",
						"type": "string"
					},
					"runeDepth": {
						"description": "Int64(e8), the amount of Rune in the pool at the end of the interval",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"synthSupply": {
						"description": "Int64, Synth supply in the pool at the end of the interval",
						"type": "string"
					},
					"synthUnits": {
						"description": "Int64, Synth Units in the pool at the end of the interval",
						"type": "string"
					},
					"units": {
						"description": "Int64, Total Units (synthUnits + liquidityUnits) in the pool at the end of the interval\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"assetDepth",
					"runeDepth",
					"assetPrice",
					"assetPriceUSD",
					"liquidityUnits",
					"membersCount",
					"synthUnits",
					"synthSupply",
					"units",
					"luvi"
				],
				"type": "object"
			},
			"DepthHistoryItemPool": {
				"properties": {
					"pool": {
						"description": "asset for the given pool",
						"type": "string"
					},
					"totalDepth": {
						"description": "Int64(e8) in rune, the total value in the pool (both assets and rune) at the end of the interval.\nNote: this is twice of the pool's Rune depth. (as pools are symmetrically balance)\n",
						"type": "string"
					}
				},
				"required": [
					"pool",
					"totalDepth"
				],
				"type": "object"
			},
			"DepthHistoryMeta": {
				"properties": {
					"endAssetDepth": {
						"description": "Int64(e8), the amount of Asset in the pool at the end of the interval at time endTime\n",
						"type": "string"
					},
					"endLPUnits": {
						"description": "Int64, Liquidity Units in the pool at the end of the interval at time endTime",
						"type": "string"
					},
					"endMemberCount": {
						"description": "Int64, Number of liquidity members in the pool at the end of the interval at time endTime",
						"type": "string"
					},
					"endRuneDepth": {
						"description": "Int64(e8), the amount of Rune in the pool at the end of the interval at time endTime\n",
						"type": "string"
					},
					"endSynthUnits": {
						"description": "Int64, Synth Units in the pool at the end of the interval at time endTime",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"luviIncrease": {
						"description": "Float, The liquidity unit value index increase between startTime and endTime\n",
						"type": "string"
					},
					"priceShiftLoss": {
						"description": "Float, The impermanent loss between the first and last depth item",
						"type": "string"
					},
					"startAssetDepth": {
						"description": "Int64(e8), the amount of Asset in the pool at the start of the interval at time\nstartTime\n",
						"type": "string"
					},
					"startLPUnits": {
						"description": "Int64, Liquidity Units in the pool at the start of the interval at time startTime\n",
						"type": "string"
					},
					"startMemberCount": {
						"description": "Int64, Number of liquidity member in the pool at the start of the interval at time startTime\n",
						"type": "string"
					},
					"startRuneDepth": {
						"description": "Int64(e8), the amount of Rune in the pool at the start of the interval at time startTime\n",
						"type": "string"
					},
					"startSynthUnits": {
						"description": "Int64, Synth Units in the pool at the start of the interval at time startTime\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"priceShiftLoss",
					"luviIncrease",
					"startAssetDepth",
					"startRuneDepth",
					"startLPUnits",
					"startMemberCount",
					"startSynthUnits",
					"endAssetDepth",
					"endRuneDepth",
					"endLPUnits",
					"endMemberCount",
					"endSynthUnits"
				],
				"type": "object"
			},
			"EarningsHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/EarningsHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/EarningsHistoryItem"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"EarningsHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/EarningsHistoryItem"
				},
				"type": "array"
			},
			"EarningsHistoryItem": {
				"properties": {
					"avgNodeCount": {
						"description": "float64, Average amount of active nodes during the time interval",
						"type": "string"
					},
					"blockRewards": {
						"description": "Int64(e8), Total block rewards emitted during the time interval",
						"type": "string"
					},
					"bondingEarnings": {
						"description": "Int64(e8), Share of earnings sent to nodes during the time interval",
						"type": "string"
					},
					"earnings": {
						"description": "Int64(e8), System income generated during the time interval. It is the sum of\nliquidity fees and block rewards\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of interval in unix timestamp",
						"type": "string"
					},
					"liquidityEarnings": {
						"description": "Int64(e8), Share of earnings sent to pools during the time interval",
						"type": "string"
					},
					"liquidityFees": {
						"description": "Int64(e8), Total liquidity fees, converted to RUNE, collected during the time interval\n",
						"type": "string"
					},
					"pools": {
						"description": "Earnings data for each pool for the time interval",
						"items": {
							"$ref": "#/components/schemas/EarningsHistoryItemPool"
						},
						"type": "array"
					},
					"runePriceUSD": {
						"description": "Float, the price of Rune based on the deepest USD pool at the end of the interval.\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of interval in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"liquidityFees",
					"blockRewards",
					"earnings",
					"bondingEarnings",
					"liquidityEarnings",
					"avgNodeCount",
					"runePriceUSD",
					"pools"
				],
				"type": "object"
			},
			"EarningsHistoryItemPool": {
				"description": "pool earnings data during the time interval",
				"properties": {
					"assetLiquidityFees": {
						"description": "Int64(e8), liquidity fees collected in the pool's asset",
						"type": "string"
					},
					"earnings": {
						"description": "Int64(e8), total earnings in RUNE (totalLiquidityFees + rewards)",
						"type": "string"
					},
					"pool": {
						"description": "asset for the given pool",
						"type": "string"
					},
					"rewards": {
						"description": "Int64(e8), RUNE amount sent to (positive) or taken from (negative) the pool as\na result of balancing it's share of system income each block\n",
						"type": "string"
					},
					"runeLiquidityFees": {
						"description": "Int64(e8), liquidity fees collected in RUNE",
						"type": "string"
					},
					"saverEarning": {
						"description": "Int64(e8), total saver reward collected by the pool, shown in pool's ASSET\n",
						"type": "string"
					},
					"totalLiquidityFeesRune": {
						"description": "Int64(e8), total liquidity fees (assetFees + runeFees) collected, shown in RUNE\n",
						"type": "string"
					}
				},
				"required": [
					"pool",
					"assetLiquidityFees",
					"runeLiquidityFees",
					"totalLiquidityFeesRune",
					"saverEarning",
					"rewards",
					"earnings"
				],
				"type": "object"
			},
			"FailedMetadata": {
				"properties": {
					"code": {
						"description": "failed transaction code",
						"type": "string"
					},
					"memo": {
						"description": "failed transaction memo",
						"type": "string"
					},
					"reason": {
						"description": "failed transaction code",
						"type": "string"
					}
				},
				"required": [
					"memo",
					"reason",
					"code"
				],
				"type": "object"
			},
			"GenesisInf": {
				"properties": {
					"hash": {
						"description": "Genesis Block hash",
						"type": "string"
					},
					"height": {
						"description": "Genesis Block height",
						"type": "integer"
					}
				},
				"required": [
					"height",
					"hash"
				],
				"type": "object"
			},
			"Health": {
				"properties": {
					"database": {
						"description": "True means healthy, connected to database",
						"type": "boolean"
					},
					"genesisInfo": {
						"$ref": "#/components/schemas/GenesisInf"
					},
					"inSync": {
						"description": "True means healthy. False means Midgard is still catching up to the chain",
						"type": "boolean"
					},
					"lastAggregated": {
						"$ref": "#/components/schemas/HeightTS"
					},
					"lastCommitted": {
						"$ref": "#/components/schemas/HeightTS"
					},
					"lastFetched": {
						"$ref": "#/components/schemas/HeightTS"
					},
					"lastThorNode": {
						"$ref": "#/components/schemas/HeightTS"
					},
					"scannerHeight": {
						"description": "Int64, the current block count",
						"type": "string"
					}
				},
				"required": [
					"database",
					"scannerHeight",
					"inSync",
					"lastThorNode",
					"lastFetched",
					"lastCommitted",
					"lastAggregated"
				],
				"type": "object"
			},
			"HeightTS": {
				"properties": {
					"height": {
						"description": "Block height",
						"type": "integer"
					},
					"timestamp": {
						"description": "Block timestamp (seconds since epoch)",
						"type": "integer"
					}
				},
				"required": [
					"height",
					"timestamp"
				],
				"type": "object"
			},
			"Holder": {
				"properties": {
					"address": {
						"description": "address of the holder",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"type": "string"
					},
					"coins": {
						"$ref": "#/components/schemas/Coins"
					}
				},
				"required": [
					"address",
					"coins"
				],
				"type": "object"
			},
			"Holders": {
				"items": {
					"$ref": "#/components/schemas/Holder"
				},
				"type": "array"
			},
			"ItemThorname": {
				"properties": {
					"count": {
						"description": "Int64, The count of affiliates with the same thorname during the time interval\n",
						"type": "string"
					},
					"thorname": {
						"description": "thorname of the affiliate",
						"type": "string"
					},
					"volume": {
						"description": "Int64(e8), The volume of affiliates with the same thorname detonated in RUNE\n",
						"type": "string"
					},
					"volumeUSD": {
						"description": "Int64(e2), The volume of affiliates with the same thorname\ndenoted in USD price of the rune in each swap\n",
						"type": "string"
					}
				},
				"required": [
					"thorname",
					"count",
					"volume",
					"volumeUSD"
				],
				"type": "object"
			},
			"KnownPools": {
				"additionalProperties": {
					"type": "string"
				},
				"example": {
					"BTC.BTC": "available"
				},
				"type": "object"
			},
			"LimitSwapMetadata": {
				"properties": {
					"memo": {
						"description": "Transaction memo of bond event",
						"type": "string"
					}
				},
				"required": [
					"memo"
				],
				"type": "object"
			},
			"LiquidityHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/LiquidityHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/LiquidityHistoryItem"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"LiquidityHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/LiquidityHistoryItem"
				},
				"type": "array"
			},
			"LiquidityHistoryItem": {
				"properties": {
					"addAssetLiquidityVolume": {
						"description": "Int64(e8), total assets deposited during the time interval.\nDenoted in Rune using the price at deposit time.\n",
						"type": "string"
					},
					"addLiquidityCount": {
						"description": "Int64, number of deposits during the time interval.\n",
						"type": "string"
					},
					"addLiquidityVolume": {
						"description": "Int64(e8), total of rune and asset deposits.\nDenoted in Rune (using the price at deposit time).\n",
						"type": "string"
					},
					"addRuneLiquidityVolume": {
						"description": "Int64(e8), total Rune deposited during the time interval.\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"net": {
						"description": "Int64(e8), net liquidity changes (withdrawals - deposits) during the time interval\n",
						"type": "string"
					},
					"runePriceUSD": {
						"description": "Float, the price of Rune based on the deepest USD pool at the end of the interval.\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"withdrawAssetVolume": {
						"description": "Int64(e8), total assets withdrawn during the time interval.\nDenoted in Rune using the price at withdraw time.\n",
						"type": "string"
					},
					"withdrawCount": {
						"description": "Int64, number of withdraw during the time interval.\n",
						"type": "string"
					},
					"withdrawRuneVolume": {
						"description": "Int64(e8), total Rune withdrawn during the time interval.\n",
						"type": "string"
					},
					"withdrawVolume": {
						"description": "Int64(e8), total of rune and asset withdrawals.\nDenoted in Rune (using the price at withdraw time).\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"addAssetLiquidityVolume",
					"addRuneLiquidityVolume",
					"addLiquidityVolume",
					"addLiquidityCount",
					"withdrawAssetVolume",
					"withdrawRuneVolume",
					"withdrawVolume",
					"withdrawCount",
					"net",
					"runePriceUSD"
				],
				"type": "object"
			},
			"MemberDetails": {
				"properties": {
					"pools": {
						"description": "List details of all the liquidity providers identified with the given address",
						"items": {
							"$ref": "#/components/schemas/MemberPool"
						},
						"type": "array"
					}
				},
				"required": [
					"pools"
				],
				"type": "object"
			},
			"MemberPool": {
				"properties": {
					"assetAdded": {
						"description": "Int64(e8), total asset added to the pool by member",
						"type": "string"
					},
					"assetAddress": {
						"description": "asset address used by the member",
						"type": "string"
					},
					"assetDeposit": {
						"description": "Int64(e8), total asset that is currently deposited to the pool by member.\nThis field is same as the `asset_deposit_value` field in thornode. Mainly can be used \nfor tracking, mainly Growth Percentage\n",
						"type": "string"
					},
					"assetPending": {
						"description": "Int64(e8), asset sent but not added yet, it will be added when the rune pair arrives\n",
						"type": "string"
					},
					"assetWithdrawn": {
						"description": "Int64(e8), total asset withdrawn from the pool by member",
						"type": "string"
					},
					"dateFirstAdded": {
						"description": "Int64, Unix timestamp for the first time member deposited into the pool",
						"type": "string"
					},
					"dateLastAdded": {
						"description": "Int64, Unix timestamp for the last time member deposited into the pool",
						"type": "string"
					},
					"liquidityUnits": {
						"description": "Int64, pool liquidity units that belong the the member",
						"type": "string"
					},
					"pool": {
						"description": "Pool rest of the data refers to",
						"type": "string"
					},
					"runeAdded": {
						"description": "Int64(e8), total Rune added to the pool by member",
						"type": "string"
					},
					"runeAddress": {
						"description": "Rune address used by the member",
						"type": "string"
					},
					"runeDeposit": {
						"description": "Int64(e8), total Rune that is currently deposited to the pool by member.\nThis field is same as the `rune_deposit_value` field in thornode. Mainly can be used \nfor tracking, mainly Growth Percentage\n",
						"type": "string"
					},
					"runePending": {
						"description": "Int64(e8), Rune sent but not added yet, it will be added when the asset pair arrives\n",
						"type": "string"
					},
					"runeWithdrawn": {
						"description": "Int64(e8), total Rune withdrawn from the pool by member",
						"type": "string"
					}
				},
				"required": [
					"pool",
					"runeAddress",
					"assetAddress",
					"liquidityUnits",
					"runeDeposit",
					"assetDeposit",
					"runeAdded",
					"assetAdded",
					"runePending",
					"assetPending",
					"runeWithdrawn",
					"assetWithdrawn",
					"dateFirstAdded",
					"dateLastAdded"
				],
				"type": "object"
			},
			"Members": {
				"items": {
					"description": "Member address",
					"example": "tbnb1fj2lqj8dvr5pumfchc7ntlfqd2v6zdxqwjewf5",
					"type": "string"
				},
				"type": "array"
			},
			"Metadata": {
				"properties": {
					"addLiquidity": {
						"$ref": "#/components/schemas/AddLiquidityMetadata"
					},
					"bond": {
						"$ref": "#/components/schemas/BondMetadata"
					},
					"contract": {
						"$ref": "#/components/schemas/ContractMetadata"
					},
					"failed": {
						"$ref": "#/components/schemas/FailedMetadata"
					},
					"limitSwap": {
						"$ref": "#/components/schemas/LimitSwapMetadata"
					},
					"rebond": {
						"$ref": "#/components/schemas/RebondMetadata"
					},
					"refund": {
						"$ref": "#/components/schemas/RefundMetadata"
					},
					"runePoolDeposit": {
						"$ref": "#/components/schemas/RunePoolDepositMetadata"
					},
					"runePoolWithdraw": {
						"$ref": "#/components/schemas/RunePoolWithdrawMetadata"
					},
					"send": {
						"$ref": "#/components/schemas/SendMetadata"
					},
					"swap": {
						"$ref": "#/components/schemas/SwapMetadata"
					},
					"tcy": {
						"$ref": "#/components/schemas/TcyMetadata"
					},
					"thorname": {
						"$ref": "#/components/schemas/ThornameMetadata"
					},
					"withdraw": {
						"$ref": "#/components/schemas/WithdrawMetadata"
					}
				},
				"type": "object"
			},
			"Network": {
				"properties": {
					"activeBonds": {
						"description": "Array of rune amounts (e8) bonded by each active node.\n",
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"activeNodeCount": {
						"description": "Int64, Number of active nodes",
						"type": "string"
					},
					"blockRewards": {
						"$ref": "#/components/schemas/BlockRewards"
					},
					"bondMetrics": {
						"$ref": "#/components/schemas/BondMetrics"
					},
					"bondingAPY": {
						"description": "Float, E.g. 0.01 = 1%. Estimate of the compounded bonding earnings based on the current\nreserve size, emmission curve, blocks per year and pool share factor =\n(WeeklyBondIncome/BondAmount + 1)^52 - 1\n",
						"type": "string"
					},
					"liquidityAPY": {
						"description": "Float, E.g. 0.01 = 1%. Estimate of the compounded  liquidity provider earnings based\non the current reserve size, emmission curve, blocks per year and pool share factor =\n(WeeklyLiquidityIncome/(totalPooledRune*2) + 1)^52 - 1\n",
						"type": "string"
					},
					"nextChurnHeight": {
						"description": "Int64, height (block number) of the next churn.",
						"type": "string"
					},
					"poolActivationCountdown": {
						"description": "Int64, the remaining time of pool activation (in blocks)",
						"type": "string"
					},
					"poolShareFactor": {
						"description": "Float [0..1], the ratio which is used to split earnings between liquidity provider and\nnodes.\nLPIncome = rewards * poolShareFactor ;\nBondIncome :=  rewards * (1 - poolShareFactor)\n",
						"type": "string"
					},
					"standbyBonds": {
						"description": "Array of rune amounts (e8) bonded by each standby node.\n",
						"items": {
							"type": "string"
						},
						"type": "array"
					},
					"standbyNodeCount": {
						"description": "Int64, Number of standby nodes, some of them might become active at the next churn.\n",
						"type": "string"
					},
					"totalPooledRune": {
						"description": "Int64(e8), total Rune in all pools. Because asset and Rune value is the same amount in\nevery pool (by definition), the total amount pooled is totalPooledRune*2.\n",
						"type": "string"
					},
					"totalReserve": {
						"description": "Int64(e8), Current size of the Reserve.",
						"type": "string"
					}
				},
				"required": [
					"bondMetrics",
					"blockRewards",
					"activeBonds",
					"standbyBonds",
					"activeNodeCount",
					"standbyNodeCount",
					"totalPooledRune",
					"totalReserve",
					"nextChurnHeight",
					"poolActivationCountdown",
					"poolShareFactor",
					"bondingAPY",
					"liquidityAPY"
				],
				"type": "object"
			},
			"NetworkFees": {
				"description": "List of network fees associated to an action. One network fee is charged for each\noutbound transaction\n",
				"items": {
					"$ref": "#/components/schemas/Coin"
				},
				"type": "array"
			},
			"Node": {
				"properties": {
					"ed25519": {
						"description": "ed25519 public key",
						"example": "thorpub1addwnpepqgxwdf3ure0pg5fwnpeux3ym9n06267lkres54zwjh4c8048ezhj5024qyr",
						"type": "string"
					},
					"nodeAddress": {
						"description": "node thorchain address",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"type": "string"
					},
					"secp256k1": {
						"description": "secp256k1 public key",
						"example": "thorpub1addwnpepqgxwdf3ure0pg5fwnpeux3ym9n06267lkres54zwjh4c8048ezhj5024qyr",
						"type": "string"
					}
				},
				"required": [
					"nodeAddress",
					"secp256k1",
					"ed25519"
				],
				"type": "object"
			},
			"Nodes": {
				"items": {
					"$ref": "#/components/schemas/Node"
				},
				"type": "array"
			},
			"PoolDetail": {
				"properties": {
					"annualPercentageRate": {
						"description": "Float, Annual Percentage Yield of earning to depth (earning/depth) estimated from a period\n(configurable by the period parameter, default is 14) E.g. 0.1 means 10% yearly return.\n",
						"type": "string"
					},
					"asset": {
						"type": "string"
					},
					"assetDepth": {
						"description": "Int64(e8), the amount of Asset in the pool.",
						"type": "string"
					},
					"assetPrice": {
						"description": "Float, price of asset in rune. I.e. rune amount / asset amount.",
						"type": "string"
					},
					"assetPriceUSD": {
						"description": "Float, the price of asset in USD (based on the deepest USD pool).",
						"type": "string"
					},
					"depthMinus2Percent": {
						"description": "Int64(e8), liquidity depth at -2% price movement calculated using Uniswap V2 constant product\nformula with fee from L1SLIPMINBPS mimir value. Represents the maximum RUNE value that can be traded before the pool\nprice decreases by 2%.\n",
						"type": "string"
					},
					"depthPlus2Percent": {
						"description": "Int64(e8), liquidity depth at +2% price movement calculated using Uniswap V2 constant product\nformula with fee from L1SLIPMINBPS mimir value. Represents the maximum RUNE value that can be traded before the pool\nprice increases by 2%.\n",
						"type": "string"
					},
					"earnings": {
						"description": "Int64(e8), The earning that has been recorded from the pool asset's Liquidity Fees\nand Rewards in RUNE. The earnings shown are from the period parameter default being 14 days \n(configurable by the period parameter).\n",
						"type": "string"
					},
					"earningsAnnualAsPercentOfDepth": {
						"description": "Float, The estimation of earnings during the time interval expanded through a year \ncompared to the current pool depth.\nE.g. 0.1 means the pool based on this interval earnings can earn 10% of its pool during a year.\n",
						"type": "string"
					},
					"liquidityInUSD": {
						"description": "Float, the price of the liquidity pool in USD",
						"type": "string"
					},
					"liquidityUnits": {
						"description": "Int64, Liquidity Units in the pool.",
						"type": "string"
					},
					"lpLuvi": {
						"description": "Float, Annual yield estimated (compounding) from a period (default being 14d)\nconfigurable by the period parameter. Calculated from Liquidity Unit Value Index (LUVI).\nDue to Impermanent Loss and Synths Leverage this might be negative.\n",
						"type": "string"
					},
					"nativeDecimal": {
						"description": "Int64, The native decimal number of the pool asset. (If the value is \"-1\", it means midgard doesn't know the pool native decimal)",
						"type": "string"
					},
					"poolAPY": {
						"description": "Float, Annual Percentage Yield of earning to depth (earning/depth) estimated from a period\n(configurable by the period parameter, default is 14) E.g. 0.1 means 10% yearly return.\n",
						"type": "string"
					},
					"runeDepth": {
						"description": "Int64(e8), the amount of Rune in the pool.",
						"type": "string"
					},
					"saversAPR": {
						"description": "Float, Annual Return estimated linearly (not compounded) for savers from\na period of typically the last 30 or 100 days (configurable by the period parameter,\ndefault is 14). E.g. 0.1 means 10% yearly return.\nIf the savers period has not yet been reached, It will show zero instead.\n",
						"type": "string"
					},
					"saversDepth": {
						"description": "Int64, Total synth locked in saver vault.",
						"type": "string"
					},
					"saversUnits": {
						"description": "Int64, Units tracking savers vault ownership.",
						"type": "string"
					},
					"saversYieldShare": {
						"description": "Float, the proportion of overall yield that is given to savers based on its size \n(relative to dual side LPs) and the SynthYieldBasisPoints. E.g. 0.1 means 10% of the yield\ngoes to the savers.\n",
						"type": "string"
					},
					"status": {
						"description": "The state of the pool, e.g. Available, Staged.",
						"type": "string"
					},
					"synthSupply": {
						"description": "Int64, Synth supply in the pool.",
						"type": "string"
					},
					"synthUnits": {
						"description": "Int64, Synth Units in the pool.",
						"type": "string"
					},
					"totalCollateral": {
						"description": "Int64, Total collateral of the pool created by the borrowers.",
						"type": "string"
					},
					"totalDebtTor": {
						"description": "Int64, Total debt of the pool by the borrowers.",
						"type": "string"
					},
					"units": {
						"description": "Int64, Total Units (synthUnits + liquidityUnits) in the pool.",
						"type": "string"
					},
					"volume24h": {
						"description": "Int64(e8), the total volume of swaps in the last 24h to and from Rune denoted in Rune.\nIt includes synth mint or burn.\n",
						"type": "string"
					}
				},
				"required": [
					"asset",
					"volume24h",
					"assetDepth",
					"runeDepth",
					"assetPrice",
					"assetPriceUSD",
					"liquidityInUSD",
					"annualPercentageRate",
					"poolAPY",
					"earnings",
					"earningsAnnualAsPercentOfDepth",
					"status",
					"liquidityUnits",
					"synthUnits",
					"synthSupply",
					"units",
					"nativeDecimal",
					"saversUnits",
					"saversDepth",
					"saversAPR",
					"totalCollateral",
					"totalDebtTor",
					"lpLuvi"
				],
				"type": "object"
			},
			"PoolDetails": {
				"items": {
					"$ref": "#/components/schemas/PoolDetail"
				},
				"type": "array"
			},
			"PoolStatsDetail": {
				"properties": {
					"addAssetLiquidityVolume": {
						"description": "Int64(e8), same as history/liquidity_changes:addAssetLiquidityVolume",
						"type": "string"
					},
					"addLiquidityCount": {
						"description": "Int64, same as history/liquidity_changes:addLiquidityCount",
						"type": "string"
					},
					"addLiquidityVolume": {
						"description": "Int64(e8), same as history/liquidity_changes:addLiquidityVolume",
						"type": "string"
					},
					"addRuneLiquidityVolume": {
						"description": "Int64(e8), same as history/liquidity_changes:addRuneLiquidityVolume",
						"type": "string"
					},
					"annualPercentageRate": {
						"description": "deprecated now it's only showing zero util being deleted.",
						"type": "string"
					},
					"asset": {
						"type": "string"
					},
					"assetDepth": {
						"description": "Int64(e8), the amount of Asset in the pool",
						"type": "string"
					},
					"assetPrice": {
						"description": "Float, price of asset in rune. I.e. rune amount / asset amount",
						"type": "string"
					},
					"assetPriceUSD": {
						"description": "Float, the price of asset in USD (based on the deepest USD pool).",
						"type": "string"
					},
					"averageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), same as history/swaps:averageSlip\n",
						"type": "string"
					},
					"earnings": {
						"description": "Int64(e8), The earning that has been recorded from the pool asset's Liquidity Fees\nand Rewards in RUNE. The earnings shown are from the period parameter default being 14 days \n(configurable by the period parameter).\n",
						"type": "string"
					},
					"earningsAnnualAsPercentOfDepth": {
						"description": "Float, The estimation of earnings during the time interval expanded through a year \ncompared to the current pool depth.\nE.g. 0.1 means the pool based on this interval earnings can earn 10% of its pool during a year.\n",
						"type": "string"
					},
					"liquidityUnits": {
						"description": "Int64, Liquidity Units in the pool",
						"type": "string"
					},
					"poolAPY": {
						"description": "deprecated now it's only showing zero util being deleted.",
						"type": "string"
					},
					"runeDepth": {
						"description": "Int64(e8), the amount of Rune in the pool",
						"type": "string"
					},
					"saversAPR": {
						"description": "Float, Annual Return estimated linearly (not compounded) for savers from\na period of typically the last 30 or 100 days (configurable by the period parameter,\ndefault is 14). E.g. 0.1 means 10% yearly return.\nIf the savers period has not yet been reached, It will show zero instead.\n",
						"type": "string"
					},
					"status": {
						"description": "The state of the pool, e.g. Available, Staged",
						"type": "string"
					},
					"swapCount": {
						"description": "Int64, same as history/swaps:totalCount",
						"type": "string"
					},
					"swapVolume": {
						"description": "Int64(e8), same as history/swaps:totalVolume",
						"type": "string"
					},
					"synthSupply": {
						"description": "Int64, Synth supply in the pool",
						"type": "string"
					},
					"synthUnits": {
						"description": "Int64, Synth Units in the pool",
						"type": "string"
					},
					"toAssetAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), same as\nhistory/swaps:toAssetAverageSlip\n",
						"type": "string"
					},
					"toAssetCount": {
						"description": "Int64, same as history/swaps:toAssetCount",
						"type": "string"
					},
					"toAssetFees": {
						"description": "Int64(e8), same as history/swaps:toAssetFees",
						"type": "string"
					},
					"toAssetVolume": {
						"description": "Int64(e8), same as history/swaps:toAssetVolume",
						"type": "string"
					},
					"toRuneAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), same as\nhistory/swaps:toRuneAverageSlip\n",
						"type": "string"
					},
					"toRuneCount": {
						"description": "Int64, same as history/swaps:toRuneCount",
						"type": "string"
					},
					"toRuneFees": {
						"description": "Int64(e8), same as history/swaps:toRuneFees",
						"type": "string"
					},
					"toRuneVolume": {
						"description": "Int64(e8), same as history/swaps:toRuneVolume",
						"type": "string"
					},
					"totalFees": {
						"description": "Int64(e8), same as history/swaps:totalFees",
						"type": "string"
					},
					"uniqueMemberCount": {
						"description": "Int64, same as len(history/members?pool=POOL)",
						"type": "string"
					},
					"uniqueSwapperCount": {
						"description": "Deprecated, it's always 0.",
						"type": "string"
					},
					"units": {
						"description": "Int64, Total Units (synthUnits + liquidityUnits) in the pool",
						"type": "string"
					},
					"withdrawAssetVolume": {
						"description": "Int64(e8), same as history/liquidity_changes:withdrawAssetVolume",
						"type": "string"
					},
					"withdrawCount": {
						"description": "Int64, same as history/liquidity_changes:withdrawCount",
						"type": "string"
					},
					"withdrawRuneVolume": {
						"description": "Int64(e8), same as history/liquidity_changes:withdrawRuneVolume",
						"type": "string"
					},
					"withdrawVolume": {
						"description": "Int64(e8), same as history/liquidity_changes:withdrawVolume",
						"type": "string"
					}
				},
				"required": [
					"asset",
					"status",
					"assetPrice",
					"assetPriceUSD",
					"assetDepth",
					"runeDepth",
					"liquidityUnits",
					"synthUnits",
					"synthSupply",
					"units",
					"toAssetVolume",
					"toRuneVolume",
					"swapVolume",
					"toAssetCount",
					"toRuneCount",
					"swapCount",
					"uniqueSwapperCount",
					"toAssetAverageSlip",
					"toRuneAverageSlip",
					"averageSlip",
					"toAssetFees",
					"toRuneFees",
					"totalFees",
					"poolAPY",
					"annualPercentageRate",
					"earnings",
					"earningsAnnualAsPercentOfDepth",
					"saversAPR",
					"addAssetLiquidityVolume",
					"addRuneLiquidityVolume",
					"addLiquidityVolume",
					"addLiquidityCount",
					"withdrawAssetVolume",
					"withdrawRuneVolume",
					"withdrawVolume",
					"withdrawCount",
					"uniqueMemberCount"
				],
				"type": "object"
			},
			"RUNEPoolDetails": {
				"description": "List details of all the RUNEPools identified with the given addresses",
				"items": {
					"$ref": "#/components/schemas/RUNEPoolProvider"
				},
				"type": "array"
			},
			"RUNEPoolHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/RUNEPoolHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/RUNEPoolHistoryMeta"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"RUNEPoolHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/RUNEPoolHistoryItem"
				},
				"type": "array"
			},
			"RUNEPoolHistoryItem": {
				"properties": {
					"count": {
						"description": "Int64, Number of RUNEPool members in the pool at the end of the interval",
						"type": "string"
					},
					"depth": {
						"description": "Int64(e8), The depth in the RUNEPool vault at the end of the interval",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"units": {
						"description": "Int64, Units in the RUNEPool vault at the end of the interval\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"count",
					"units"
				],
				"type": "object"
			},
			"RUNEPoolHistoryMeta": {
				"properties": {
					"endCount": {
						"description": "Int64, Number of RUNEPool member in the RUNEPool vault at the end of the interval at time endTime",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"endUnits": {
						"description": "Int64,  Units in the RUNEPool vault at the end of the interval at time endTime",
						"type": "string"
					},
					"startCount": {
						"description": "Int64, Number of RUNEPool member in the RUNEPool vault at the start of the interval at time startTime\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"startUnits": {
						"description": "Int64,  Units in the RUNEPool vault at the start of the interval at time startTime\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"startUnits",
					"startCount",
					"endUnits",
					"endCount"
				],
				"type": "object"
			},
			"RUNEPoolProvider": {
				"properties": {
					"dateFirstAdded": {
						"description": "Int64, Unix timestamp for the first time member deposited into the RUNEPool",
						"type": "string"
					},
					"dateLastAdded": {
						"description": "Int64, Unix timestamp for the last time member deposited into the RUNEPool",
						"type": "string"
					},
					"runeAdded": {
						"description": "Int64(e8), total asset added in the RUNEPool by member",
						"type": "string"
					},
					"runeAddress": {
						"description": "address used by the member",
						"type": "string"
					},
					"runeDeposit": {
						"description": "Int64(e8), total asset that is currently deposited by the member",
						"type": "string"
					},
					"runeWithdrawn": {
						"description": "Int64(e8), total asset withdrawn from the RUNEPool by the member",
						"type": "string"
					},
					"units": {
						"description": "Int64, units that belong the the member",
						"type": "string"
					}
				},
				"required": [
					"runeAddress",
					"units",
					"runeAdded",
					"runeWithdrawn",
					"runeDeposit",
					"dateFirstAdded",
					"dateLastAdded"
				],
				"type": "object"
			},
			"RebondMetadata": {
				"properties": {
					"memo": {
						"description": "Transaction memo of bond event",
						"type": "string"
					},
					"newBondAddress": {
						"description": "new bond address",
						"type": "string"
					},
					"nodeAddress": {
						"description": "node address",
						"type": "string"
					}
				},
				"required": [
					"memo",
					"nodeAddress",
					"newBondAddress"
				],
				"type": "object"
			},
			"RefundMetadata": {
				"properties": {
					"affiliateAddress": {
						"description": "Affiliate fee address of the swap, empty if fee swap",
						"type": "string"
					},
					"affiliateFee": {
						"description": "Int64 (Basis points, 0-1000, where 1000=10%)",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of the refund action",
						"type": "string"
					},
					"networkFees": {
						"$ref": "#/components/schemas/NetworkFees"
					},
					"reason": {
						"description": "Reason for the refund",
						"type": "string"
					},
					"txType": {
						"description": "The type of the transaction given from its Memo\nType of Transaction type: \n\"unknown\", \"add\", \"withdraw\", \"swap\", \"limitOrder\", \"outbound\", \"donate\",\n\"bond\", \"unbond\", \"leave\", \"yggdrasilFund\", \"yggdrasilReturn\", \"reserve\",\n\"refund\", \"migrate\", \"ragnarok\", \"switch\", \"noOp\", \"consolidate\", \"thorname\",\n\"loanOpen\", \"loanRepayment\"\n",
						"example": "loanOpen",
						"type": "string"
					}
				},
				"required": [
					"networkFees",
					"reason",
					"memo",
					"affiliateFee",
					"affiliateAddress",
					"txType"
				],
				"type": "object"
			},
			"ReserveHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/ReserveIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/ReserveMeta"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"ReserveIntervals": {
				"items": {
					"$ref": "#/components/schemas/ReserveItem"
				},
				"type": "array"
			},
			"ReserveItem": {
				"properties": {
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"gasFeeOutbound": {
						"description": "Int64(e8), fee made from outbound",
						"type": "string"
					},
					"gasReimbursement": {
						"description": "Int64(e8), RUNE paid to the pool for compensating the gas fees",
						"type": "string"
					},
					"networkFee": {
						"description": "Int64(e8), RUNE paid to the system on deposit, send messages\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"gasFeeOutbound",
					"gasReimbursement",
					"networkFee"
				],
				"type": "object"
			},
			"ReserveMeta": {
				"properties": {
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"gasFeeOutbound": {
						"description": "Int64(e8), fee made from outbound\n",
						"type": "string"
					},
					"gasReimbursement": {
						"description": "Int64(e8), RUNE paid to the pool for compensating the gas fees\n",
						"type": "string"
					},
					"networkFee": {
						"description": "Int64(e8), RUNE paid to the system on deposit, send messages\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"gasFeeOutbound",
					"gasReimbursement",
					"networkFee"
				],
				"type": "object"
			},
			"ReverseTHORNames": {
				"items": {
					"description": "THORName name",
					"example": "myname",
					"type": "string"
				},
				"type": "array"
			},
			"RunePoolDepositMetadata": {
				"properties": {
					"units": {
						"description": "Int64, amount of units assigned to the member as result of the \ndeposit\n",
						"type": "string"
					}
				},
				"required": [
					"units"
				],
				"type": "object"
			},
			"RunePoolWithdrawMetadata": {
				"properties": {
					"affiliateAddress": {
						"description": "Transaction affiliate address",
						"type": "string"
					},
					"affiliateAmount": {
						"description": "Int64, Transaction affiliate amount in rune",
						"type": "string"
					},
					"affiliateBasisPoint": {
						"description": "Transaction affiliate basis point",
						"type": "string"
					},
					"basisPoints": {
						"description": "Int64 (Basis points, 0-10000, where 10000=100%), percentage of total ownership\nwithdrawn\n",
						"type": "string"
					},
					"units": {
						"description": "Int64, amount of units removed from the member as result of the withdrawal\n",
						"type": "string"
					}
				},
				"required": [
					"units",
					"basisPoints",
					"affiliateAmount",
					"affiliateAddress",
					"affiliateBasisPoint"
				],
				"type": "object"
			},
			"RunePriceHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/RunePriceIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/RunePriceMeta"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"RunePriceIntervals": {
				"items": {
					"$ref": "#/components/schemas/RunePriceItem"
				},
				"type": "array"
			},
			"RunePriceItem": {
				"properties": {
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"runePriceUSD": {
						"description": "Int64(e8), The price of Rune based on the USD pools at the the interval\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"runePriceUSD"
				],
				"type": "object"
			},
			"RunePriceMeta": {
				"properties": {
					"endRunePriceUSD": {
						"description": "Int64(e8), The price of Rune based on the USD pools at the end of the interval\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"startRunePriceUSD": {
						"description": "Int64(e8), The price of Rune based on the USD pools at the start of the interval\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"startRunePriceUSD",
					"endRunePriceUSD"
				],
				"type": "object"
			},
			"SaverDetails": {
				"properties": {
					"pools": {
						"description": "List details of all the savers identified with the given address",
						"items": {
							"$ref": "#/components/schemas/SaverPool"
						},
						"type": "array"
					}
				},
				"required": [
					"pools"
				],
				"type": "object"
			},
			"SaverPool": {
				"properties": {
					"assetAdded": {
						"description": "Int64(e8), total asset added in the saver pool by member",
						"type": "string"
					},
					"assetAddress": {
						"description": "saver address used by the member",
						"type": "string"
					},
					"assetDeposit": {
						"description": "Int64(e8), total asset that is currently deposited by the member",
						"type": "string"
					},
					"assetRedeem": {
						"description": "Int64(e8), total asset can be redeemed from the saver pool by member",
						"type": "string"
					},
					"assetWithdrawn": {
						"description": "Int64(e8), total asset withdrawn from the saver pool by member",
						"type": "string"
					},
					"dateFirstAdded": {
						"description": "Int64, Unix timestamp for the first time member deposited into the saver pool",
						"type": "string"
					},
					"dateLastAdded": {
						"description": "Int64, Unix timestamp for the last time member deposited into the saver pool",
						"type": "string"
					},
					"pool": {
						"description": "The Pool rest of the data are referring to (only those pools can show up which have a corresponding saver pool)",
						"type": "string"
					},
					"saverUnits": {
						"description": "Int64, saver liquidity units that belong the the member",
						"type": "string"
					}
				},
				"required": [
					"pool",
					"assetAddress",
					"saverUnits",
					"assetAdded",
					"assetRedeem",
					"assetDeposit",
					"assetWithdrawn",
					"dateFirstAdded",
					"dateLastAdded"
				],
				"type": "object"
			},
			"SaversHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/SaversHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/SaversHistoryMeta"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"SaversHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/SaversHistoryItem"
				},
				"type": "array"
			},
			"SaversHistoryItem": {
				"properties": {
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"saversCount": {
						"description": "Int64, Number of saver members in the pool at the end of the interval",
						"type": "string"
					},
					"saversDepth": {
						"description": "Int64(e8), The depth in the savers vault at the end of the interval",
						"type": "string"
					},
					"saversUnits": {
						"description": "Int64, Savers Units in the saver vault at the end of the interval\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"saversDepth",
					"saversCount",
					"saversUnits"
				],
				"type": "object"
			},
			"SaversHistoryMeta": {
				"properties": {
					"endSaversCount": {
						"description": "Int64, Number of savers member in the savers vault at the end of the interval at time endTime",
						"type": "string"
					},
					"endSaversDepth": {
						"description": "Int64(e8), The depth in the savers vault at the end of the interval at time\nendTime\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"endUnits": {
						"description": "Int64, Savers Units in the savers vault at the end of the interval at time endTime",
						"type": "string"
					},
					"startSaversCount": {
						"description": "Int64, Number of savers member in the savers vault at the start of the interval at time startTime\n",
						"type": "string"
					},
					"startSaversDepth": {
						"description": "Int64(e8), The depth in savers vault at the start of the interval at time\nstartTime\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"startUnits": {
						"description": "Int64, Savers Units in the savers vault at the start of the interval at time startTime\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"startSaversDepth",
					"startUnits",
					"startSaversCount",
					"endSaversDepth",
					"endUnits",
					"endSaversCount"
				],
				"type": "object"
			},
			"SendMetadata": {
				"properties": {
					"code": {
						"description": "failed transaction code",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of the send action",
						"type": "string"
					},
					"networkFees": {
						"$ref": "#/components/schemas/NetworkFees"
					},
					"reason": {
						"description": "failed transaction code",
						"type": "string"
					}
				},
				"required": [
					"networkFees",
					"memo",
					"reason",
					"code"
				],
				"type": "object"
			},
			"StatsData": {
				"properties": {
					"addLiquidityCount": {
						"description": "Int64, number of deposits since beginning.",
						"type": "string"
					},
					"addLiquidityVolume": {
						"description": "Int64(e8), total of deposits since beginning.\n",
						"type": "string"
					},
					"dailyActiveUsers": {
						"description": "Deprecated, it's always 0.",
						"type": "string"
					},
					"monthlyActiveUsers": {
						"description": "Deprecated, it's always 0.",
						"type": "string"
					},
					"runeDepth": {
						"description": "Int64(e8), current total Rune in the pools.",
						"type": "string"
					},
					"runePriceUSD": {
						"description": "Float, the price of Rune based on the deepest USD pool.",
						"type": "string"
					},
					"swapCount": {
						"description": "Int64, number of swaps (including synths) since beginning.",
						"type": "string"
					},
					"swapCount24h": {
						"description": "Int64(e8), number of swaps (including synths) in the last 24h.",
						"type": "string"
					},
					"swapCount30d": {
						"description": "Int64, number of swaps (including synths) in the last 30d.",
						"type": "string"
					},
					"swapVolume": {
						"description": "Int64(e8), total volume of swaps (including synths) denoted in Rune since beginning.\n",
						"type": "string"
					},
					"switchedRune": {
						"description": "Int64(e8), amount of native rune switched from erc20 or bep2 rune.",
						"type": "string"
					},
					"synthBurnCount": {
						"description": "Int64, number of swaps from Synth to Rune since beginning.",
						"type": "string"
					},
					"synthMintCount": {
						"description": "Int64, number of swaps from Rune to Synth since beginning.",
						"type": "string"
					},
					"toAssetCount": {
						"description": "Int64, number of swaps from Rune to Asset since beginning.",
						"type": "string"
					},
					"toRuneCount": {
						"description": "Int64, number of swaps from Asset to Rune since beginning.",
						"type": "string"
					},
					"uniqueSwapperCount": {
						"description": "Deprecated, it's always 0.",
						"type": "string"
					},
					"withdrawCount": {
						"description": "Int64, number of withdraws since beginning.",
						"type": "string"
					},
					"withdrawVolume": {
						"description": "Int64(e8), total of withdraws since beginning.\n",
						"type": "string"
					}
				},
				"required": [
					"runeDepth",
					"switchedRune",
					"runePriceUSD",
					"swapVolume",
					"swapCount24h",
					"swapCount30d",
					"swapCount",
					"toAssetCount",
					"toRuneCount",
					"synthMintCount",
					"synthBurnCount",
					"dailyActiveUsers",
					"monthlyActiveUsers",
					"uniqueSwapperCount",
					"addLiquidityVolume",
					"withdrawVolume",
					"addLiquidityCount",
					"withdrawCount"
				],
				"type": "object"
			},
			"StreamingSwapMeta": {
				"description": "Streaming Metadata associated with the action if it was streaming swap",
				"properties": {
					"count": {
						"description": "Int64, Number of swaps events which already happened.",
						"type": "string"
					},
					"depositedCoin": {
						"$ref": "#/components/schemas/Coin"
					},
					"failedSwapReasons": {
						"description": "Array of failed swaps reasons in streaming swap.",
						"items": {
							"description": "The reason why swap got failed",
							"type": "string"
						},
						"type": "array"
					},
					"failedSwaps": {
						"description": "Array of failed swaps index in streaming swap.",
						"items": {
							"description": "Int64, Failed Swap number",
							"type": "string"
						},
						"type": "array"
					},
					"inCoin": {
						"$ref": "#/components/schemas/Coin"
					},
					"interval": {
						"description": "Int64, Number of blocks between swpas. (Blocks/Swap) E.g. 1 means every block.",
						"type": "string"
					},
					"lastHeight": {
						"description": "Int64, The last blockheight the final swap happened (not outbound). This field will be missing until the final swap happens.\n",
						"type": "string"
					},
					"outCoin": {
						"$ref": "#/components/schemas/Coin"
					},
					"outEstimation": {
						"description": "Int64, The estimated output based on the first swap block * quantity.\nThis is the current method quote calculate the estimation.\n",
						"type": "string"
					},
					"quantity": {
						"description": "Int64,  Number of swaps which thorchain is planning to execute. Total count at the end might be less.\n",
						"type": "string"
					}
				},
				"required": [
					"count",
					"quantity",
					"interval",
					"lastHeight",
					"inCoin",
					"outCoin",
					"depositedCoin",
					"outEstimation"
				],
				"type": "object"
			},
			"SwapHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/SwapHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/SwapHistoryItem"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"SwapHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/SwapHistoryItem"
				},
				"type": "array"
			},
			"SwapHistoryItem": {
				"properties": {
					"averageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the weighted average (by count)\nof toAssetAverageSlip, toRuneAverageSlip, synthMintAverageSlip, synthRedeemAverageSlip.\nBig swaps have the same weight as small swaps.\n",
						"type": "string"
					},
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"fromSecuredAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom asset to secured asset.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"fromSecuredCount": {
						"description": "Int64, count of swaps from secured asset to rune",
						"type": "string"
					},
					"fromSecuredFees": {
						"description": "Int64(e8), the fees collected from swaps from rune to secured asset (in rune)",
						"type": "string"
					},
					"fromSecuredVolume": {
						"description": "Int64(e8), volume of swaps from rune to secured asset denoted in rune",
						"type": "string"
					},
					"fromSecuredVolumeUSD": {
						"description": "Int64(e2), volume of swaps from secured asset to rune denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"fromTradeAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom asset to trade asset.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"fromTradeCount": {
						"description": "Int64, count of swaps from trade asset to rune",
						"type": "string"
					},
					"fromTradeFees": {
						"description": "Int64(e8), the fees collected from swaps from rune to trade asset (in rune)",
						"type": "string"
					},
					"fromTradeVolume": {
						"description": "Int64(e8), volume of swaps from rune to trade asset denoted in rune",
						"type": "string"
					},
					"fromTradeVolumeUSD": {
						"description": "Int64(e2), volume of swaps from trade asset to rune denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"runePriceUSD": {
						"description": "Float, the price of Rune based on the deepest USD pool at the end of the interval.\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"synthMintAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom rune to synthetic asset.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"synthMintCount": {
						"description": "Int64, count of rune to synthetic asset swaps",
						"type": "string"
					},
					"synthMintFees": {
						"description": "Int64(e8), the fees collected from swaps from rune to synthetic asset (in rune)\n",
						"type": "string"
					},
					"synthMintVolume": {
						"description": "Int64(e8), volume of swaps from rune to synthetic asset denoted in rune",
						"type": "string"
					},
					"synthMintVolumeUSD": {
						"description": "Int64(e2), volume of swaps from rune to synthetic asset denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"synthRedeemAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom synthetic asset to rune.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"synthRedeemCount": {
						"description": "Int64, count of synthetic asset to rune swaps",
						"type": "string"
					},
					"synthRedeemFees": {
						"description": "Int64(e8), the fees collected from swaps from synthetic asset to rune (in rune)\n",
						"type": "string"
					},
					"synthRedeemVolume": {
						"description": "Int64(e8), volume of swaps from synthetic asset to rune denoted in rune",
						"type": "string"
					},
					"synthRedeemVolumeUSD": {
						"description": "Int64(e2), volume of swaps from synthetic asset to rune denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"toAssetAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom rune to asset.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"toAssetCount": {
						"description": "Int64, count of swaps from rune to asset",
						"type": "string"
					},
					"toAssetFees": {
						"description": "Int64(e8), the fees collected from swaps from rune to asset (in rune)",
						"type": "string"
					},
					"toAssetVolume": {
						"description": "Int64(e8), volume of swaps from rune to asset denoted in rune",
						"type": "string"
					},
					"toAssetVolumeUSD": {
						"description": "Int64(e2), volume of swaps from rune to asset denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"toRuneAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom asset to rune.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"toRuneCount": {
						"description": "Int64, count of swaps from asset to rune",
						"type": "string"
					},
					"toRuneFees": {
						"description": "Int64(e8), the fees collected from swaps from asset to rune (in rune)",
						"type": "string"
					},
					"toRuneVolume": {
						"description": "Int64(e8), volume of swaps from asset to rune denoted in rune",
						"type": "string"
					},
					"toRuneVolumeUSD": {
						"description": "Int64(e2), volume of swaps from asset to rune denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"toSecuredAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom rune to secured asset.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"toSecuredCount": {
						"description": "Int64, count of swaps from rune to secured asset",
						"type": "string"
					},
					"toSecuredFees": {
						"description": "Int64(e8), the fees collected from swaps from rune to secured asset (in rune)",
						"type": "string"
					},
					"toSecuredVolume": {
						"description": "Int64(e8), volume of swaps from secured asset to rune denoted in rune",
						"type": "string"
					},
					"toSecuredVolumeUSD": {
						"description": "Int64(e2), volume of swaps from rune to secured asset denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"toTradeAverageSlip": {
						"description": "Float64 (Basis points, 0-10000, where 10000=100%), the average slip for swaps\nfrom rune to trade asset.\nBig swaps have the same weight as small swaps\n",
						"type": "string"
					},
					"toTradeCount": {
						"description": "Int64, count of swaps from rune to trade asset",
						"type": "string"
					},
					"toTradeFees": {
						"description": "Int64(e8), the fees collected from swaps from rune to trade asset (in rune)",
						"type": "string"
					},
					"toTradeVolume": {
						"description": "Int64(e8), volume of swaps from trade asset to rune denoted in rune",
						"type": "string"
					},
					"toTradeVolumeUSD": {
						"description": "Int64(e2), volume of swaps from rune to trade asset denoted in USD price of the rune in each swap",
						"type": "string"
					},
					"totalCount": {
						"description": "Int64, toAssetCount + toRuneCount + synthMintCount + synthRedeemCount",
						"type": "string"
					},
					"totalFees": {
						"description": "Int64(e8), toAssetFees + toRuneFees + synthMintFees + synthRedeemFees",
						"type": "string"
					},
					"totalVolume": {
						"description": "Int64(e8),\ntoAssetVolume + toRuneVolume + synthMintVolume + synthRedeemVolume (denoted in rune)\n",
						"type": "string"
					},
					"totalVolumeUSD": {
						"description": "Int64(e2),\ntoAssetVolume + toRuneVolume + synthMintVolume + synthRedeemVolume (denoted in USD price of the rune in each swap)\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"toAssetCount",
					"toRuneCount",
					"toTradeCount",
					"fromTradeCount",
					"toSecuredCount",
					"fromSecuredCount",
					"synthMintCount",
					"synthRedeemCount",
					"totalCount",
					"toAssetVolume",
					"toRuneVolume",
					"toTradeVolume",
					"fromTradeVolume",
					"toSecuredVolume",
					"fromSecuredVolume",
					"synthMintVolume",
					"synthRedeemVolume",
					"totalVolume",
					"toAssetVolumeUSD",
					"toRuneVolumeUSD",
					"toTradeVolumeUSD",
					"fromTradeVolumeUSD",
					"toSecuredVolumeUSD",
					"fromSecuredVolumeUSD",
					"synthMintVolumeUSD",
					"synthRedeemVolumeUSD",
					"totalVolumeUSD",
					"toAssetFees",
					"toRuneFees",
					"toTradeFees",
					"fromTradeFees",
					"toSecuredFees",
					"fromSecuredFees",
					"synthMintFees",
					"synthRedeemFees",
					"totalFees",
					"toAssetAverageSlip",
					"toRuneAverageSlip",
					"synthMintAverageSlip",
					"toTradeAverageSlip",
					"fromTradeAverageSlip",
					"toSecuredAverageSlip",
					"fromSecuredAverageSlip",
					"synthRedeemAverageSlip",
					"averageSlip",
					"runePriceUSD"
				],
				"type": "object"
			},
			"SwapMetadata": {
				"properties": {
					"affiliateAddress": {
						"description": "Affiliate fee address of the swap, empty if fee swap",
						"type": "string"
					},
					"affiliateFee": {
						"description": "Int64 (Basis points, 0-1000, where 1000=10%)",
						"type": "string"
					},
					"inPriceUSD": {
						"description": "in asset price usd at the first interval",
						"type": "string"
					},
					"isStreamingSwap": {
						"description": "indicate whether this action was streaming",
						"example": true,
						"type": "boolean"
					},
					"liquidityFee": {
						"description": "Int64(e8), RUNE amount charged as swap liquidity fee",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of the swap action",
						"type": "string"
					},
					"networkFees": {
						"$ref": "#/components/schemas/NetworkFees"
					},
					"outPriceUSD": {
						"description": "out asset price usd at the first interval",
						"type": "string"
					},
					"streamingSwapMeta": {
						"$ref": "#/components/schemas/StreamingSwapMeta"
					},
					"swapSlip": {
						"description": "Int64 (Basis points, 0-10000, where 10000=100%), swap slip percentage",
						"type": "string"
					},
					"swapTarget": {
						"description": "Int64(e8), minimum output amount specified for the swap",
						"type": "string"
					},
					"txType": {
						"description": "The type of the transaction given from its Memo.\nType of Transaction: \n\"unknown\", \"add\", \"withdraw\", \"swap\", \"limitOrder\", \"outbound\", \"donate\",\n\"bond\", \"unbond\", \"leave\", \"yggdrasilFund\", \"yggdrasilReturn\", \"reserve\",\n\"refund\", \"migrate\", \"ragnarok\", \"switch\", \"noOp\", \"consolidate\", \"thorname\",\n\"loanOpen\", \"loanRepayment\"\n",
						"example": "loanOpen",
						"type": "string"
					}
				},
				"required": [
					"networkFees",
					"liquidityFee",
					"swapSlip",
					"swapTarget",
					"affiliateFee",
					"affiliateAddress",
					"memo",
					"isStreamingSwap",
					"txType",
					"inPriceUSD",
					"outPriceUSD"
				],
				"type": "object"
			},
			"TCYDistribution": {
				"properties": {
					"address": {
						"description": "TCY holder address.",
						"type": "string"
					},
					"apr": {
						"description": "Float, annual percentage rate of the TCY distribution.",
						"type": "string"
					},
					"distributions": {
						"description": "List details of all the TCY distributions.",
						"items": {
							"$ref": "#/components/schemas/TCYDistributionItem"
						},
						"type": "array"
					},
					"total": {
						"description": "Int64(e8), total amount of RUNE distributed to the TCY holder.",
						"type": "string"
					}
				},
				"required": [
					"apr",
					"total",
					"address",
					"distributions"
				],
				"type": "object"
			},
			"TCYDistributionItem": {
				"properties": {
					"amount": {
						"description": "Int64(e8), amount of RUNE distributed to the TCY holder.",
						"type": "string"
					},
					"date": {
						"description": "Int64, Unix timestamp for the TCY distribution.",
						"type": "string"
					},
					"price": {
						"description": "Int64(e8), RUNE price at the time of distribution.",
						"type": "string"
					}
				},
				"required": [
					"amount",
					"price",
					"date"
				],
				"type": "object"
			},
			"THORNameDetails": {
				"properties": {
					"entries": {
						"description": "List details of all chains and their addresses for a given THORName",
						"items": {
							"$ref": "#/components/schemas/THORNameEntry"
						},
						"type": "array"
					},
					"expire": {
						"description": "Int64, THORChain block height in which THORName expires",
						"type": "string"
					},
					"owner": {
						"description": "owner's THOR address",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"type": "string"
					}
				},
				"required": [
					"owner",
					"expire",
					"entries"
				],
				"type": "object"
			},
			"THORNameEntry": {
				"properties": {
					"address": {
						"description": "address on blockchain",
						"type": "string"
					},
					"chain": {
						"description": "blockchain",
						"type": "string"
					}
				},
				"required": [
					"chain",
					"address"
				],
				"type": "object"
			},
			"TVLHistory": {
				"properties": {
					"intervals": {
						"$ref": "#/components/schemas/TVLHistoryIntervals"
					},
					"meta": {
						"$ref": "#/components/schemas/TVLHistoryItem"
					}
				},
				"required": [
					"meta",
					"intervals"
				],
				"type": "object"
			},
			"TVLHistoryIntervals": {
				"items": {
					"$ref": "#/components/schemas/TVLHistoryItem"
				},
				"type": "array"
			},
			"TVLHistoryItem": {
				"properties": {
					"endTime": {
						"description": "Int64, The end time of bucket in unix timestamp",
						"type": "string"
					},
					"poolsDepth": {
						"items": {
							"$ref": "#/components/schemas/DepthHistoryItemPool"
						},
						"type": "array"
					},
					"runePriceUSD": {
						"description": "Float, the price of Rune based on the deepest USD pool at the end of the interval.\n",
						"type": "string"
					},
					"startTime": {
						"description": "Int64, The beginning time of bucket in unix timestamp",
						"type": "string"
					},
					"totalValueBonded": {
						"description": "Int64(e8), the total amount of bonds (both active and standby) at the end of\nthe interval\n",
						"type": "string"
					},
					"totalValueLocked": {
						"description": "Int64(e8), total value locked in the chain (in rune)\nThis equals `totalPooledValue + totalBondedValue`, as it combines the liquidity\npools and bonds of the nodes.\n",
						"type": "string"
					},
					"totalValuePooled": {
						"description": "Int64(e8) in rune, the total pooled value (both assets and rune) in all of the pools at\nthe end of the interval.\nNote: this is twice the aggregate Rune depth of all pools.\n",
						"type": "string"
					}
				},
				"required": [
					"startTime",
					"endTime",
					"totalValuePooled",
					"runePriceUSD",
					"poolsDepth"
				],
				"type": "object"
			},
			"TcyMetadata": {
				"properties": {
					"memo": {
						"description": "Transaction memo of tcy message.",
						"type": "string"
					}
				},
				"required": [
					"memo"
				],
				"type": "object"
			},
			"ThornameMetadata": {
				"properties": {
					"address": {
						"description": "The CHAIN address thorname has been registered to.",
						"type": "string"
					},
					"chain": {
						"description": "The thorname's chain.",
						"type": "string"
					},
					"expire": {
						"description": "Int64, THORChain block height in which THORName expires.",
						"type": "string"
					},
					"fundAmount": {
						"description": "Int64, the amount of funding for the THORName registration.",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of thorname deposit message.",
						"type": "string"
					},
					"owner": {
						"description": "owner's THOR address.",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"type": "string"
					},
					"registrationFee": {
						"description": "Int64, the registration fee paid.",
						"type": "string"
					},
					"thorname": {
						"description": "The thorname registered to the address.",
						"type": "string"
					},
					"txType": {
						"description": "The type of the transaction given from its Memo.",
						"type": "string"
					}
				},
				"required": [
					"memo",
					"thorname",
					"address",
					"owner",
					"expire",
					"chain",
					"fundAmount",
					"registrationFee",
					"txType"
				],
				"type": "object"
			},
			"Transaction": {
				"description": "Transaction data",
				"properties": {
					"address": {
						"description": "Sender address",
						"type": "string"
					},
					"affiliate": {
						"description": "if transactions flaged as affiliate",
						"type": "boolean"
					},
					"coins": {
						"$ref": "#/components/schemas/Coins"
					},
					"height": {
						"description": "The thorchain height that the outbound transaction occurred.\n",
						"type": "string"
					},
					"txID": {
						"description": "Transaction id hash. Some transactions (such as outbound transactions made in the\nnative asset) may have a zero value.\n",
						"type": "string"
					}
				},
				"required": [
					"txID",
					"address",
					"coins"
				],
				"type": "object"
			},
			"VoteItem": {
				"properties": {
					"address": {
						"description": "node address that voted in the protocol",
						"example": "thor1",
						"type": "string"
					},
					"date": {
						"description": "full timestamp (nanoseconds since 1970) of the block at which the churn occurred",
						"example": "946684801000000000",
						"type": "string"
					},
					"key": {
						"description": "key amount of the vote",
						"example": "1",
						"type": "string"
					}
				},
				"required": [
					"address",
					"key",
					"date"
				],
				"type": "object"
			},
			"VoteValue": {
				"properties": {
					"value": {
						"description": "value of the vote",
						"example": "prop6",
						"type": "string"
					},
					"votes": {
						"items": {
							"$ref": "#/components/schemas/VoteItem"
						},
						"type": "array"
					}
				},
				"required": [
					"value",
					"votes"
				],
				"type": "object"
			},
			"Votes": {
				"items": {
					"$ref": "#/components/schemas/VoteValue"
				},
				"type": "array"
			},
			"WithdrawMetadata": {
				"properties": {
					"asymmetry": {
						"description": "Decimal (-1.0 \u003c=\u003e 1.0), indicates how asymmetrical the withdrawal was. 0 means\ntotally symmetrical\n",
						"type": "string"
					},
					"basisPoints": {
						"description": "Int64 (Basis points, 0-10000, where 10000=100%), percentage of total pool ownership\nwithdrawn\n",
						"type": "string"
					},
					"impermanentLossProtection": {
						"description": "Int64, additional Rune paid out because of impermanent loss protection",
						"type": "string"
					},
					"liquidityUnits": {
						"description": "Int64, amount of liquidity units removed from the member as result of the withdrawal\n",
						"type": "string"
					},
					"memo": {
						"description": "Transaction memo of the withdraw action",
						"type": "string"
					},
					"networkFees": {
						"$ref": "#/components/schemas/NetworkFees"
					}
				},
				"required": [
					"liquidityUnits",
					"asymmetry",
					"basisPoints",
					"networkFees",
					"impermanentLossProtection",
					"memo"
				],
				"type": "object"
			}
		}
	},
	"info": {
		"contact": {
			"email": "devs@thorchain.org"
		},
		"description": "The Midgard Public API queries THORChain and any chains linked via the Bifröst and prepares information about the network to be readily available for public users. The API parses transaction event data from THORChain and stores them in a time-series database to make time-dependent queries easy. Midgard does not hold critical information. To interact with THORChain protocol, users should query THORNode directly.",
		"title": "Midgard Public API",
		"version": "2.34.2"
	},
	"openapi": "3.0.0","servers":[{"url":"https://gateway.liquify.com/chain/thorchain_midgard"}],
	"paths": {
		"/v2/actions": {
			"get": {
				"description": "List actions along with their related transactions. An action is generated by one or more\ninbound transactions with the intended action set in the transaction memo. The action may\nresult in one or more outbound transactions. Results are paginated by sets of 50.\nFilters may be applied to query actions.\n",
				"operationId": "GetActions",
				"parameters": [
					{
						"description": "Comma separated list. Address of sender or recipient of any in/out transaction related\nto the action.\n",
						"example": "tbnb1fj2lqj8dvr5pumfchc7ntlfqd2v6zdxqwjewf5",
						"in": "query",
						"name": "address",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "ID of any in/out tx related to the action",
						"example": "2F624637DE179665BA3322B864DB9F30001FD37B4E0D22A0B6ECE6A5B078DAB4",
						"in": "query",
						"name": "txid",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Comma separated list. Any asset that is part of the action (CHAIN.SYMBOL)\nAdditionally, synth, nosynth, and norune filters can be used for swap, add/withdraw actions.\n",
						"examples": {
							"filterAsset": {
								"summary": "Query action that are neither synth nor rune asset",
								"value": "nosynth,norune"
							},
							"regularAsset": {
								"summary": "Regular multiple asset query. (having at least either one of them)",
								"value": "BTC.BTC,THOR.RUNE"
							}
						},
						"in": "query",
						"name": "asset",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "One or more comma separated unique types of action\n(swap, addLiquidity, withdraw, donate, refund, switch, thorname, runePoolDeposit, runePoolWithdraw)\n",
						"example": "swap,addLiquidity",
						"in": "query",
						"name": "type",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "One or more comma separated transaction type of the action, it's the tx type parsed\nfrom memo. For example: Loan is a swap event but it's considered as loan tx type\nType of Transactions: \n\"unknown\", \"add\", \"withdraw\", \"swap\", \"limitOrder\", \"outbound\", \"donate\",\n\"bond\", \"unbond\", \"leave\", \"yggdrasilFund\", \"yggdrasilReturn\", \"reserve\",\n\"refund\", \"migrate\", \"ragnarok\", \"switch\", \"noOp\", \"consolidate\", \"thorname\",\n\"loanOpen\", \"loanRepayment\"\n",
						"example": "loanOpen,loanRepayment",
						"in": "query",
						"name": "txType",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Comma separated list. Affiliate address of the action (swap, refund)\n",
						"examples": {
							"multiple": {
								"summary": "Query affiliates that one is THORName and other is address",
								"value": "ts,thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g"
							},
							"regular": {
								"value": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g"
							}
						},
						"in": "query",
						"name": "affiliate",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "number of actions returned, default is 50",
						"in": "query",
						"name": "limit",
						"schema": {
							"format": "int64",
							"maximum": 50,
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "pagination offset, default is 0",
						"in": "query",
						"name": "offset",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "if this is given, the actions for the next page will be given",
						"in": "query",
						"name": "nextPageToken",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "if this is given, the actions older than the timestamp will be given",
						"in": "query",
						"name": "timestamp",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "if this is given, the actions older than the height will be given",
						"in": "query",
						"name": "height",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "if this is given, the actions for the previous page will be given",
						"in": "query",
						"name": "prevPageToken",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "if this is given, the actions newer than the timestamp will be given",
						"in": "query",
						"name": "fromTimestamp",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					},
					{
						"description": "if this is given, the actions newer than the height will be given",
						"in": "query",
						"name": "fromHeight",
						"schema": {
							"format": "int64",
							"minimum": 0,
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/ActionsResponse"
					}
				},
				"summary": "Actions List"
			}
		},
		"/v2/balance/{address}": {
			"get": {
				"description": "Returns all coin amounts of the given address at the specified timestamp or\nheight, or at the latest process block if neither is provided. (Only one of\ntimestamp or height can be specified, not both.)\n\nThis endpoint is enabled only if the midgard startup config allows it.\n",
				"operationId": "GetBalance",
				"parameters": [
					{
						"description": "Rune address.",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Unix timestamp as seconds since 1970 (if provided, height must not be provided)",
						"example": 1606780800,
						"in": "query",
						"name": "timestamp",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Block height (if provided, timestamp must not be provided)",
						"example": 2000000,
						"in": "query",
						"name": "height",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/BalanceResponse"
					}
				},
				"summary": "Current balance for an address"
			}
		},
		"/v2/bonds/{address}": {
			"get": {
				"description": "Returns the bond details of a given address.\nThe response contains the bond amount, the bond status, and the bond type.\nThis is wrapper from THORNode nodes API.\n",
				"operationId": "GetBondersDetails",
				"parameters": [
					{
						"description": "Address of the bonder",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/BonderDetailsResponse"
					}
				},
				"summary": "Bonder Details"
			}
		},
		"/v2/borrower/{address}": {
			"get": {
				"description": "Returns an array of statistics for all the open loans associated with a given\nborrower address.\n",
				"operationId": "GetBorrowerDetail",
				"parameters": [
					{
						"description": "Address to match borrower, an asset address is given.\nQuery can also be multiple addresses should be separated by comma (',')\n",
						"example": "bnb1jxfh2g85q3v0tdq56fnevx6xcxtcnhtsmcu64m,bc1qcxssye4j6730h7ehgega3gyykkuwgdgmmpu62n",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/BorrowerDetailsResponse"
					}
				},
				"summary": "Borrower Details"
			}
		},
		"/v2/borrowers": {
			"get": {
				"description": "Returns an array containing the addresses for all borrowers.\nAddresses are only shown once.\n",
				"operationId": "GetBorrowersAddresses",
				"parameters": [
					{
						"description": "Return only borrowers getting loan against this asset as collateral.",
						"in": "query",
						"name": "asset",
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/BorrowersResponse"
					}
				},
				"summary": "Borrowers List"
			}
		},
		"/v2/churns": {
			"get": {
				"description": "Returns block height and timestamp for each churn.",
				"operationId": "GetChurns",
				"responses": {
					"200": {
						"$ref": "#/components/responses/ChurnsResponse"
					}
				},
				"summary": "Churns List"
			}
		},
		"/v2/doc": {
			"get": {
				"description": "Swagger/OpenAPI 3.0 specification generated documents.",
				"operationId": "GetDocs",
				"responses": {
					"200": {
						"description": "swagger/OpenAPI 3.0 spec generated docs"
					}
				},
				"summary": "Documentation",
				"tags": [
					"Specification"
				]
			}
		},
		"/v2/health": {
			"get": {
				"description": "Returns an object containing the health response of the API.\nMeaning of heights:\n\nlastThorNode - Latest block as reported by ThorNode.\n\nlastFetched - Latest block fetched from ThorNode.\n\nlastCommitted - Latest block committed to the DB but not fully processed yet.\n\nlastAggregated - Latest block fully processed and aggregated.\n\ngenesisInfo - The genesis height Midgard bootstrapped with.\n",
				"operationId": "GetHealth",
				"responses": {
					"200": {
						"$ref": "#/components/responses/HealthResponse"
					}
				},
				"summary": "Health Info"
			}
		},
		"/v2/history/affiliate": {
			"get": {
				"description": "Returns affiliate count, earnings in USD in specified interval.\nIf thorname is not specified returns all thornames\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetAffiliateHistory",
				"parameters": [
					{
						"description": "Return history given thorname. Returns sum of all thornames if missing.",
						"in": "query",
						"name": "thorname",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/AffiliateHistoryResponse"
					}
				},
				"summary": "Affiliate earnings History"
			}
		},
		"/v2/history/affiliate/earnings": {
			"get": {
				"description": "Returns affiliate earnings (liquidity fees) in USD and RUNE in specified interval.\nIf thorname is not specified returns all affiliates.\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetAffiliateEarning",
				"parameters": [
					{
						"description": "Return earnings for given thorname. Returns all affiliates if missing.",
						"in": "query",
						"name": "thorname",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/AffiliateEarningResponse"
					}
				},
				"summary": "Affiliate Liquidity Fee Earnings History"
			}
		},
		"/v2/history/affiliate/stats": {
			"get": {
				"description": "Returns affiliate count, swap volume in USD in specified interval.\nIf thorname is not specified returns all thornames\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetAffiliateStats",
				"parameters": [
					{
						"description": "Return history given thorname. Returns sum of all thornames if missing.",
						"in": "query",
						"name": "thorname",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/AffiliateStatsResponse"
					}
				},
				"summary": "Affiliate Volume Stats"
			}
		},
		"/v2/history/depths/{pool}": {
			"get": {
				"description": "Returns the asset and rune depths and price.\nThe values report the state at the end of each interval.\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetDepthHistory",
				"parameters": [
					{
						"description": "Return stats for this single pool.",
						"in": "path",
						"name": "pool",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/DepthHistoryResponse"
					}
				},
				"summary": "Depth and Price History"
			}
		},
		"/v2/history/earnings": {
			"get": {
				"description": "Returns earnings data for the specified interval.\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetEarningsHistory",
				"parameters": [
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/EarningsHistoryResponse"
					}
				},
				"summary": "Earnings History"
			}
		},
		"/v2/history/liquidity_changes": {
			"get": {
				"description": "Returns withdrawals and deposits for given time interval.\nIf pool is not specified returns for all pools\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetLiquidityHistory",
				"parameters": [
					{
						"description": "Return stats for given pool. Returns sum of all pools if missing",
						"in": "query",
						"name": "pool",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400]",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/LiquidityHistoryResponse"
					}
				},
				"summary": "Liquidity Changes History"
			}
		},
		"/v2/history/reserve": {
			"get": {
				"description": "Returns reserve module network fee, outbound fee, and gas reimbursement flow in\nbucketed history\n",
				"operationId": "GetReserveHistory",
				"parameters": [
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/ReserveHistoryResponse"
					}
				},
				"summary": "Reserve income and expenses over bucketed history"
			}
		},
		"/v2/history/rune": {
			"get": {
				"description": "Returns rune price history in USD based on the time bucket given\n",
				"operationId": "GetRunePriceHistory",
				"parameters": [
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/RunePriceHistoryResponse"
					}
				},
				"summary": "Rune price history in USD"
			}
		},
		"/v2/history/runepool": {
			"get": {
				"description": "Returns RUNEPool members and units.\nThe values report the state at the end of each interval.\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetRUNEPoolHistory",
				"parameters": [
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/RUNEPoolHistoryResponse"
					}
				},
				"summary": "RUNEPool total members and units History"
			}
		},
		"/v2/history/savers/{pool}": {
			"get": {
				"description": "Returns savers depths and units.\nThe values report the state at the end of each interval.\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetSaversHistory",
				"parameters": [
					{
						"description": "Return stats for this single pool.",
						"in": "path",
						"name": "pool",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/SaversHistoryResponse"
					}
				},
				"summary": "Savers Units and Depth History"
			}
		},
		"/v2/history/swaps": {
			"get": {
				"description": "Returns swap count, volume, fees, slip in specified interval.\nIf pool is not specified returns for all pools\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetSwapHistory",
				"parameters": [
					{
						"description": "Return history given pool. Returns sum of all pools if missing.",
						"in": "query",
						"name": "pool",
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/SwapHistoryResponse"
					}
				},
				"summary": "Swaps History"
			}
		},
		"/v2/history/tvl": {
			"get": {
				"description": "Returns total pool depths, total bonds, and total value locked in specified interval.\n\nTotal Value Locked = Total Bonds + 2 * Total Pool Depths\n\nHistory endpoint has two modes:\n* With Interval parameter it returns a series of time buckets. From and To dates will\n  be rounded to the Interval boundaries.\n* Without Interval parameter a single From..To search is performed with exact timestamps.\n\n* Interval: possible values: 5min, hour, day, week, month, quarter, year.\n* count: [1..400]. Defines number of intervals. Don't provide if Interval is missing.\n* from/to: optional int, unix second.\n\nPossible usages with interval.\n* last 10 days: `?interval=day\u0026count=10`\n* last 10 days before to: `?interval=day\u0026count=10\u0026to=1608825600`\n* next 10 days after from: `?interval=day\u0026count=10\u0026from=1606780800`\n* Days between from and to. From defaults to start of chain, to defaults to now.\n  Only the first 400 intervals are returned:\n  `interval=day\u0026from=1606780800\u0026to=1608825600`\n\nPagination is possible with from\u0026count and then using the returned meta.endTime as the\nFrom parameter of the next query.\n\nPossible configurations without interval:\n* exact search for one time frame: `?from=1606780899\u0026to=1608825600`\n* one time frame until now: `?from=1606780899`\n* from chain start until now: no query parameters\n",
				"operationId": "GetTVLHistory",
				"parameters": [
					{
						"description": "Interval of calculations",
						"example": "day",
						"in": "query",
						"name": "interval",
						"schema": {
							"enum": [
								"5min",
								"hour",
								"day",
								"week",
								"month",
								"quarter",
								"year"
							],
							"type": "string"
						}
					},
					{
						"description": "Number of intervals to return. Should be between [1..400].",
						"example": 30,
						"in": "query",
						"name": "count",
						"schema": {
							"type": "integer"
						}
					},
					{
						"description": "End time of the query as unix timestamp. If only count is given, defaults to now.\n",
						"example": 1608825600,
						"in": "query",
						"name": "to",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					},
					{
						"description": "Start time of the query as unix timestamp",
						"example": 1606780800,
						"in": "query",
						"name": "from",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/TVLHistoryResponse"
					}
				},
				"summary": "Total Value Locked History"
			}
		},
		"/v2/holders": {
			"get": {
				"description": "Returns all coin amounts of the given asset ordered by their amounts in descending order.\n\nThis endpoint is enabled only if the midgard startup config allows it.\n",
				"operationId": "GetHolders",
				"parameters": [
					{
						"description": "Asset to get the top holders for.",
						"example": "THOR.RUNE",
						"in": "query",
						"name": "asset",
						"schema": {
							"format": "string",
							"type": "string"
						}
					},
					{
						"description": "Number of top holders to return, default is 100, maximum is 1000.",
						"example": 150,
						"in": "query",
						"name": "limit",
						"schema": {
							"format": "int64",
							"type": "integer"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/HolderResponse"
					}
				},
				"summary": "Current top holders for an asset"
			}
		},
		"/v2/knownpools": {
			"get": {
				"description": "Returns an object with known pools and their statuses",
				"operationId": "GetKnownPools",
				"responses": {
					"200": {
						"$ref": "#/components/responses/KnownPoolsResponse"
					}
				},
				"summary": "Known Pools List"
			}
		},
		"/v2/member/{address}": {
			"get": {
				"description": "Returns an array of statistics for all the liquidity providers associated with a given\nmember address.\n",
				"operationId": "GetMemberDetail",
				"parameters": [
					{
						"description": "Address to match liquidity providers. Either a rune or an asset address may be given.\nQuery can also be multiple addresses should be separated by comma (',')\n",
						"example": "bnb1jxfh2g85q3v0tdq56fnevx6xcxtcnhtsmcu64m,bc1qcxssye4j6730h7ehgega3gyykkuwgdgmmpu62n",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "A flag to show saver vault membership details, the default is false.\n",
						"example": true,
						"in": "query",
						"name": "showSavers",
						"schema": {
							"default": false,
							"type": "boolean"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/MemberDetailsResponse"
					}
				},
				"summary": "Member Details"
			}
		},
		"/v2/members": {
			"get": {
				"description": "Returns an array containing the addresses for all pool members.\nAddresses are only shown once. If there's both a RUNE address and an asset address\nfor a member, only the RUNE address will be shown.\n",
				"operationId": "GetMembersAdresses",
				"parameters": [
					{
						"description": "Return only members present in the pool.",
						"in": "query",
						"name": "pool",
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/MembersResponse"
					}
				},
				"summary": "Members List"
			}
		},
		"/v2/network": {
			"get": {
				"description": "Returns an object containing Network data",
				"operationId": "GetNetworkData",
				"responses": {
					"200": {
						"$ref": "#/components/responses/NetworkResponse"
					}
				},
				"summary": "Network Data"
			}
		},
		"/v2/nodes": {
			"get": {
				"description": "Returns a list of Node public keys and adresses.",
				"operationId": "GetNodes",
				"responses": {
					"200": {
						"$ref": "#/components/responses/NodesResponse"
					}
				},
				"summary": "Nodes List"
			}
		},
		"/v2/pool/{asset}": {
			"get": {
				"description": "Returns details of the pool: depths, price, 24h volume, APY. ",
				"operationId": "GetPool",
				"parameters": [
					{
						"description": "pool name",
						"example": "BNB.TOMOB-1E1",
						"in": "path",
						"name": "asset",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Specifies the base interval from which APY is extrapolated.\nDefault is 14d.\n",
						"example": "100d",
						"in": "query",
						"name": "period",
						"schema": {
							"enum": [
								"1h",
								"24h",
								"7d",
								"14d",
								"30d",
								"90d",
								"100d",
								"180d",
								"365d",
								"all"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/PoolResponse"
					}
				},
				"summary": "Details of a Pool"
			}
		},
		"/v2/pool/{asset}/stats": {
			"get": {
				"description": "Statistics about the pool. The description of the fields have pointers about the\ncorresponding v2/history location. Visit the history endpoint for drilldowns.\n",
				"operationId": "GetPoolStats",
				"parameters": [
					{
						"description": "pool name",
						"example": "BNB.TOMOB-1E1",
						"in": "path",
						"name": "asset",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Restricts aggregation type fields to the last period only.\nDefault is 14d.\n",
						"example": "24h",
						"in": "query",
						"name": "period",
						"schema": {
							"enum": [
								"1h",
								"24h",
								"7d",
								"14d",
								"30d",
								"90d",
								"100d",
								"180d",
								"365d",
								"all"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/PoolStatsResponse"
					}
				},
				"summary": "Pool Statistics"
			}
		},
		"/v2/pools": {
			"get": {
				"description": "Returns an array containing details for a set of pools",
				"operationId": "GetPools",
				"parameters": [
					{
						"description": "Filter for only pools with this status",
						"in": "query",
						"name": "status",
						"schema": {
							"enum": [
								"available",
								"staged",
								"suspended"
							],
							"type": "string"
						}
					},
					{
						"description": "Specifies the base interval from which annualPercentageRate and poolAPY is extrapolated.\nDefault is 14d.\n",
						"example": "100d",
						"in": "query",
						"name": "period",
						"schema": {
							"enum": [
								"1h",
								"24h",
								"7d",
								"14d",
								"30d",
								"90d",
								"100d",
								"180d",
								"365d",
								"all"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/PoolsResponse"
					}
				},
				"summary": "Pools List"
			}
		},
		"/v2/runepool/{address}": {
			"get": {
				"description": "Returns an array of statistics for all the RUNEPool associated with given\nmember addresses.\nQuery can also be multiple addresses should be separated by comma (',')\n",
				"operationId": "GetRUNEPoolDetail",
				"parameters": [
					{
						"description": "Address to match the RUNEPool. multiple rune addresses can be given.\n",
						"example": "thor1jxfh2g85q3v0tdq56fnevx6xcxtcnhtsmcu64m,thor2qcxssye4j6730h7ehgega3gyykkuwgdgmmpu62n",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/RUNEPoolDetailsResponse"
					}
				},
				"summary": "RUNEPool Details"
			}
		},
		"/v2/saver/{address}": {
			"get": {
				"description": "Returns an array of statistics for all the savers associated with a given\nmember address.\nQuery can also be multiple addresses should be separated by comma (',')\n",
				"operationId": "GetSaverDetail",
				"parameters": [
					{
						"description": "Address to match the saver. an asset address should be given.\n",
						"example": "bnb1jxfh2g85q3v0tdq56fnevx6xcxtcnhtsmcu64m,bc1qcxssye4j6730h7ehgega3gyykkuwgdgmmpu62n",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/SaverDetailsResponse"
					}
				},
				"summary": "Saver Details"
			}
		},
		"/v2/stats": {
			"get": {
				"description": "Returns an object containing global stats for all pools and all transactions",
				"operationId": "GetStats",
				"responses": {
					"200": {
						"$ref": "#/components/responses/StatsResponse"
					}
				},
				"summary": "Global Stats"
			}
		},
		"/v2/swagger.json": {
			"get": {
				"description": "Returns human and machine readable swagger/openapi specification",
				"operationId": "GetSwagger",
				"responses": {
					"200": {
						"description": "human and machine readable swagger/openapi specification"
					}
				},
				"summary": "Swagger File",
				"tags": [
					"Specification"
				]
			}
		},
		"/v2/tcy/distribution/{address}": {
			"get": {
				"description": "Returns an array of TCY distribution for the given address.\n",
				"operationId": "GetTcyDistribution",
				"parameters": [
					{
						"description": "Address which is assigned to TCY Holder.",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"description": "Specifies the base interval from which APR will be calculated.\nDefault is 30d.\n",
						"example": "90d",
						"in": "query",
						"name": "period",
						"schema": {
							"enum": [
								"1h",
								"24h",
								"7d",
								"14d",
								"30d",
								"90d",
								"100d",
								"180d",
								"365d",
								"all"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/TCYDistributionResponse"
					}
				},
				"summary": "Tcy Distribution"
			}
		},
		"/v2/thorname/lookup/{name}": {
			"get": {
				"description": "Returns an array of chains and their addresses associated with the given THORName",
				"operationId": "GetTHORNameDetail",
				"parameters": [
					{
						"description": "a THORName",
						"example": "thorchain",
						"in": "path",
						"name": "name",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/THORNameDetailsResponse"
					}
				},
				"summary": "THORName Details"
			}
		},
		"/v2/thorname/owner/{address}": {
			"get": {
				"description": "Returns an array of THORNames owned by the address. The address is not necessarily an\nassociated address for those thornames.\n",
				"operationId": "GetTHORNamesOwnerByAddress",
				"parameters": [
					{
						"description": "Address which owns a THORName.",
						"example": "thor102y0m3uptg0vvudeyh00r2fnz70wq7d8y7mu2g",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/ReverseTHORNameResponse"
					}
				},
				"summary": "THORName owner"
			}
		},
		"/v2/thorname/rlookup/{address}": {
			"get": {
				"description": "Returns an array of THORNames associated with the given address",
				"operationId": "GetTHORNamesByAddress",
				"parameters": [
					{
						"description": "Address to match THORNames against.",
						"example": "bnb1jxfh2g85q3v0tdq56fnevx6xcxtcnhtsmcu64m",
						"in": "path",
						"name": "address",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/ReverseTHORNameResponse"
					}
				},
				"summary": "Gives a list of THORNames by reverse lookup"
			}
		},
		"/v2/votes": {
			"get": {
				"description": "Returns timestamp, key, value for each active node member.",
				"operationId": "GetVotes",
				"parameters": [
					{
						"description": "Specifies the base interval from which votes will be shown.\nDefault is 90d.\n",
						"example": "90d",
						"in": "query",
						"name": "period",
						"schema": {
							"enum": [
								"1h",
								"24h",
								"7d",
								"14d",
								"30d",
								"90d",
								"100d",
								"180d",
								"365d",
								"all"
							],
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"$ref": "#/components/responses/VotesResponse"
					}
				},
				"summary": "Current Protocol Voting"
			}
		}
	}
}
