---
updatedAt: 2026-03-05T10:56:24.000Z
agentTools:
  projectIndex: https://docs.tatum.io/llms.txt
---

# getEpochInfo - Solana

Returns information about the current epoch.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Epoch Info - Solana",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{solana-network}.gateway.tatum.io",
      "description": "RPC Gateway - Recommended",
      "variables": {
        "solana-network": {
          "enum": [
            "solana-mainnet",
            "solana-devnet"
          ],
          "default": "solana-mainnet"
        }
      }
    },
    {
      "url": "https://api.tatum.io/v3/blockchain/node/{solana-network}",
      "description": "Deprecated",
      "variables": {
        "solana-network": {
          "enum": [
            "solana-mainnet",
            "solana-devnet"
          ],
          "default": "solana-mainnet"
        }
      }
    }
  ],
  "x-sandbox": {
    "category": {
      "type": {
        "name": "category",
        "type": "string",
        "enum": [
          "core",
          "bundler",
          "nft",
          "token",
          "transfers",
          "transaction-receipts",
          "gas-manager",
          "trace",
          "debug",
          "gas-optimized-transactions",
          "private-transactions",
          "notify",
          "transaction-simulation"
        ]
      },
      "value": "core"
    }
  },
  "paths": {
    "/": {
      "post": {
        "summary": "getEpochInfo - Solana",
        "description": "Returns information about the current epoch.",
        "tags": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "default": 1
                      },
                      "jsonrpc": {
                        "type": "string",
                        "default": "2.0"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "method": {
                        "default": "getVersion",
                        "type": "string"
                      },
                      "params": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "commitment": {
                              "type": "string",
                              "default": "processed",
                              "description": "Configures the commitment level of the blocks queried.\nAccepts one of the following strings: [\"finalized\", \"confirmed\", \"processed\"]\n",
                              "enum": [
                                "finalized",
                                "confirmed",
                                "processed"
                              ]
                            },
                            "minContextSlot": {
                              "type": "number",
                              "default": 165768577,
                              "description": "Set the minimum slot that the request can be evaluated at."
                            }
                          }
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer"
                        },
                        "jsonrpc": {
                          "type": "string"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "nullable": true,
                      "properties": {
                        "result": {
                          "type": "object",
                          "properties": {
                            "absoluteSlot": {
                              "type": "integer",
                              "format": "int64",
                              "description": "u64 - The current slot."
                            },
                            "blockHeight": {
                              "type": "integer",
                              "format": "int64",
                              "description": "u64 - The current block height."
                            },
                            "epoch": {
                              "type": "integer",
                              "format": "int64",
                              "description": "u64 - The current epoch."
                            },
                            "slotIndex": {
                              "type": "integer",
                              "format": "int64",
                              "description": "u64 - The current slot relative to the start of the current epoch."
                            },
                            "slotsInEpoch": {
                              "type": "integer",
                              "format": "int64",
                              "description": "u64 - The number of slots in this epoch."
                            },
                            "transactionCount": {
                              "type": "integer",
                              "format": "int64",
                              "nullable": true,
                              "description": "u64 | null - Total number of transactions processed without error since genesis."
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "rpc-solana-getEpochInfo",
        "security": [
          {
            "X-API-Key": []
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-API-Key": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header",
        "description": "Your **API key** is used to identify your account & your plan, including the number of API calls per second and total monthly calls you have.\n\nEach key is for individual use only.\n\nIf you don't have a key already you can [Sign up for a Free Tatum account](https://co.tatum.io/signup) to get two keys (testnet and mainnet), allowing up to 5 API calls per second and 1,000,000 Credits.\n\nFor testing purposes, you can use the following key which only works inside docs and has limited functionality (e.g. you cannot create virtual accounts or notification subscriptions with it):\n* t-66a730ccccfd17001c479705-2f597d14ad7543f289a03418\n\nFor more details on limits and plans, [click here](https://docs.tatum.io/docs/plans-limits).\n"
      }
    }
  }
}
```