# Table of Contents - [HTTP | Helius Docs](#http-helius-docs) - [getBalance | Helius Docs](#getbalance-helius-docs) - [getAccountInfo | Helius Docs](#getaccountinfo-helius-docs) - [getBlockCommitment | Helius Docs](#getblockcommitment-helius-docs) - [getBlock | Helius Docs](#getblock-helius-docs) - [getClusterNodes | Helius Docs](#getclusternodes-helius-docs) - [getBlockHeight | Helius Docs](#getblockheight-helius-docs) - [getBlocks | Helius Docs](#getblocks-helius-docs) - [getBlockProduction | Helius Docs](#getblockproduction-helius-docs) - [getBlockTime | Helius Docs](#getblocktime-helius-docs) - [getBlocksWithLimit | Helius Docs](#getblockswithlimit-helius-docs) - [getEpochInfo | Helius Docs](#getepochinfo-helius-docs) - [getFirstAvailableBlock | Helius Docs](#getfirstavailableblock-helius-docs) - [getFeeForMessage | Helius Docs](#getfeeformessage-helius-docs) - [getHealth | Helius Docs](#gethealth-helius-docs) - [getEpochSchedule | Helius Docs](#getepochschedule-helius-docs) - [getGenesisHash | Helius Docs](#getgenesishash-helius-docs) - [getInflationGovernor | Helius Docs](#getinflationgovernor-helius-docs) - [getInflationRate | Helius Docs](#getinflationrate-helius-docs) --- # HTTP | Helius Docs ### [](#info) **Info** * For JavaScript applications, use the `@solana/web3.js` library as a convenient interface for the RPC methods to interact with a Solana node. * For a PubSub connection to a Solana node, use the WebSocket API. * * * ### [](#request-formatting) **Request Formatting** To make a JSON-RPC request, send an HTTP POST request with a `Content-Type: application/json` header. The JSON request data should contain the following fields: Field Type Description **jsonrpc** `string` Set to `"2.0"`. **id** `string | number` A unique identifier for the request, generated by the client. Can be a string, number, or `null`. **method** `string` The name of the method to invoke. **params** `array` A JSON array of ordered parameter values. * * * #### [](#example-request-using-curl) **Example Request using cURL** Copy curl https://mainnet.helius-rpc.com/?api-key= -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getBalance", "params": [\ "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"\ ] } ' * * * #### [](#response-format) **Response Format** The response will be a JSON object with the following fields: Field Type Description **jsonrpc** `string` Matches the request specification. **id** `number` Matches the request identifier. **result** `array|number|object|string` Requested data or success confirmation. * * * ### [](#batch-requests) **Batch Requests** Requests can be sent in batches by sending an array of JSON-RPC request objects in a single POST request. * * * #### [](#example-request-with-commitment) **Example Request with Commitment** The `commitment` parameter should be included as the last element in the `params` array: Copy curl https://mainnet.helius-rpc.com/?api-key= -s -X POST -H "Content-Type: application/json" -d ' { "jsonrpc": "2.0", "id": 1, "method": "getBalance", "params": [\ "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri",\ {\ "commitment": "finalized"\ }\ ] } ' * * * ### [](#definitions) **Definitions** * **Hash**: A SHA-256 hash of a chunk of data. * **Pubkey**: The public key of an Ed25519 key-pair. * **Transaction**: A list of Solana instructions signed by a client keypair to authorize those actions. * **Signature**: An Ed25519 signature of a transaction's payload data, including instructions. This can be used to identify transactions. * * * ### [](#health-check) **Health Check** Although not part of the JSON-RPC API, a `GET /health` request at the RPC HTTP endpoint provides a health-check mechanism for load balancers or other network infrastructure. #### [](#response-codes) **Response Codes** Status Description **ok** The node is within `HEALTH_CHECK_SLOT_DISTANCE` slots of the latest cluster confirmed slot. **behind { distance }** The node is behind by `distance` slots from the latest cluster confirmed slot. **unknown** The node is unable to determine its status relative to the cluster. Example health check response body: * `ok` * `behind { distance }` * `unknown` [PreviousGetting Started with Dedicated Nodes](/solana-rpc-nodes/dedicated-nodes/getting-started-with-dedicated-nodes) [NextgetAccountInfo](/rpc/http/getaccountinfo) Last updated 4 months ago Was this helpful? 馃敆 --- # getBalance | Helius Docs [PreviousgetAccountInfo](/rpc/http/getaccountinfo) [NextgetBlock](/rpc/http/getblock) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBalance post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Available options: `getBalance` paramsone of\[\]required Parameters for the request. ### Show available items Responses 200 Successfully retrieved account balance. application/json 400 Invalid request. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBalance", "params": [\ "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"\ ] }' Test it 200 400 Copy { "jsonrpc": "2.0", "id": "text", "result": { "context": { "slot": 1 }, "value": 0 } } Successfully retrieved account balance. --- # getAccountInfo | Helius Docs [PreviousHTTP](/rpc/http) [NextgetBalance](/rpc/http/getbalance) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getAccountInfo post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idintegeroptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getAccountInfo`Available options: `getAccountInfo` paramsone of\[\]optional ### Show available items Responses 200 Successfully retrieved account information. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "getAccountInfo", "params": [\ "vines1vzrYbzLMRdu58ou5XTby4qAqVRLmqo36NKPTg",\ {\ "encoding": "base58"\ }\ ] }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "result": { "context": { "apiVersion": "2.0.15", "slot": 341197053 }, "value": null } } Successfully retrieved account information. --- # getBlockCommitment | Helius Docs [PreviousgetBlock](/rpc/http/getblock) [NextgetBlockHeight](/rpc/http/getblockheight) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlockCommitment post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Available options: `getBlockCommitment` paramsinteger\[\]required Parameters for the request. Example: `5` Responses 200 Successfully retrieved block commitment. application/json 400 Invalid request. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlockCommitment", "params": [\ 5\ ] }' Test it 200 400 Copy { "jsonrpc": "2.0", "id": "text", "result": { "commitment": null, "totalStake": 42 } } Successfully retrieved block commitment. --- # getBlock | Helius Docs [PreviousgetBalance](/rpc/http/getbalance) [NextgetBlockCommitment](/rpc/http/getblockcommitment) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlock post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Available options: `getBlock` paramsone of\[\]required Parameters for the request. ### Show available items Responses 200 Successfully retrieved block details. application/json 400 Invalid request. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlock", "params": [\ 430\ ] }' Test it 200 400 Copy { "jsonrpc": "2.0", "id": "text", "result": { "blockhash": "3Eq21vXNB5s86c62bVuUfTeaMif1N2kUqRPBmGRJhyTA", "previousBlockhash": "mfcyqEXB3DnHXki6KjjmZck6YjmZLvpAByy2fj4nh6B", "parentSlot": 429, "transactions": [\ {\ "transaction": {},\ "meta": {\ "fee": 5000,\ "preBalances": [\ 1\ ],\ "postBalances": [\ 1\ ],\ "rewards": [\ {\ "pubkey": "text",\ "lamports": 1,\ "rewardType": "text"\ }\ ]\ }\ }\ ], "blockTime": null, "blockHeight": 428 } } Successfully retrieved block details. --- # getClusterNodes | Helius Docs [PreviousgetBlocksWithLimit](/rpc/http/getblockswithlimit) [NextgetEpochInfo](/rpc/http/getepochinfo) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getClusterNodes post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Example: `getClusterNodes`Available options: `getClusterNodes` Responses 200 Successfully retrieved cluster node information. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getClusterNodes" }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": [\ {\ "pubkey": "9QzsJf7LPLj8GkXbYT3LFDKqsj2hHG7TA3xinJHu8epQ",\ "gossip": "10.239.6.48:8001",\ "tpu": "10.239.6.48:8856",\ "rpc": "10.239.6.48:8899",\ "version": "1.0.0 c375ce1f",\ "featureSet": 1,\ "shredVersion": 1\ }\ ] } Successfully retrieved cluster node information. --- # getBlockHeight | Helius Docs [PreviousgetBlockCommitment](/rpc/http/getblockcommitment) [NextgetBlockProduction](/rpc/http/getblockproduction) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlockHeight post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Available options: `getBlockHeight` paramsobject\[\]required Parameters for the request. ### Show child attributes Responses 200 Successfully retrieved current block height. application/json 400 Invalid request. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlockHeight", "params": [\ {\ "commitment": "finalized",\ "minContextSlot": 1\ }\ ] }' Test it 200 400 Copy { "jsonrpc": "2.0", "id": "text", "result": 1233 } Successfully retrieved current block height. --- # getBlocks | Helius Docs [PreviousgetBlockTime](/rpc/http/getblocktime) [NextgetBlocksWithLimit](/rpc/http/getblockswithlimit) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlocks post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Example: `getBlocks`Available options: `getBlocks` paramsone of\[\]required Request parameters for the method. ### Show available items Responses 200 Successfully retrieved confirmed blocks. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. 500 Server error. cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlocks", "params": [\ 5\ ] }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": [\ 5,\ 6,\ 7,\ 8,\ 9,\ 10\ ] } Successfully retrieved confirmed blocks. --- # getBlockProduction | Helius Docs [PreviousgetBlockHeight](/rpc/http/getblockheight) [NextgetBlockTime](/rpc/http/getblocktime) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlockProduction post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Available options: `getBlockProduction` paramsone of\[\]required Parameters for the request. ### Show available items Responses 200 Successfully retrieved block production information. application/json 400 Invalid request. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlockProduction", "params": [\ {\ "commitment": "finalized",\ "identity": "85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr",\ "range": {\ "firstSlot": 0,\ "lastSlot": 9887\ }\ }\ ] }' Test it 200 400 Copy { "jsonrpc": "2.0", "id": "text", "result": { "context": { "slot": 9887 }, "value": { "byIdentity": { "85iYT5RuzRTDgjyRa3cP8SYhM2j21fj7NhfJ3peu1DPr": [\ 9888,\ 9886\ ] }, "range": { "firstSlot": 0, "lastSlot": 9887 } } } } Successfully retrieved block production information. --- # getBlockTime | Helius Docs [PreviousgetBlockProduction](/rpc/http/getblockproduction) [NextgetBlocks](/rpc/http/getblocks) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlockTime post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Available options: `getBlockTime` paramsinteger\[\]required Parameters for the request. Example: `5` Responses 200 Successfully retrieved block time. application/json 400 Block time not available. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlockTime", "params": [\ 5\ ] }' Test it 200 400 Copy { "jsonrpc": "2.0", "id": "text", "result": 1574721591 } Successfully retrieved block time. --- # getBlocksWithLimit | Helius Docs [PreviousgetBlocks](/rpc/http/getblocks) [NextgetClusterNodes](/rpc/http/getclusternodes) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getBlocksWithLimit post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Example: `getBlocksWithLimit`Available options: `getBlocksWithLimit` paramsobject\[\]required Request parameters for the method. ### Show child attributes Responses 200 Successfully retrieved confirmed blocks. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getBlocksWithLimit", "params": [\ {\ "start_slot": 5,\ "limit": 3,\ "commitment": "finalized"\ }\ ] }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": [\ 5,\ 6,\ 7\ ] } Successfully retrieved confirmed blocks. --- # getEpochInfo | Helius Docs [PreviousgetClusterNodes](/rpc/http/getclusternodes) [NextgetEpochSchedule](/rpc/http/getepochschedule) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getEpochInfo post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getEpochInfo`Available options: `getEpochInfo` paramsobject\[\]optional Optional parameters for the request. ### Show child attributes Responses 200 Successfully retrieved epoch information. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getEpochInfo", "params": [\ {\ "commitment": "finalized",\ "minContextSlot": 1000\ }\ ] }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": { "absoluteSlot": 166598, "blockHeight": 166500, "epoch": 27, "slotIndex": 2790, "slotsInEpoch": 8192, "transactionCount": 22661093 } } Successfully retrieved epoch information. --- # getFirstAvailableBlock | Helius Docs [PreviousgetFeeForMessage](/rpc/http/getfeeformessage) [NextgetGenesisHash](/rpc/http/getgenesishash) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getFirstAvailableBlock post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getFirstAvailableBlock`Available options: `getFirstAvailableBlock` Responses 200 Successfully retrieved the slot of the lowest confirmed block. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getFirstAvailableBlock" }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": 250000 } Successfully retrieved the slot of the lowest confirmed block. --- # getFeeForMessage | Helius Docs [PreviousgetEpochSchedule](/rpc/http/getepochschedule) [NextgetFirstAvailableBlock](/rpc/http/getfirstavailableblock) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getFeeForMessage post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumrequired The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringrequired A unique identifier for the request. Example: `1` methodstring 路 enumrequired The name of the RPC method to invoke. Example: `getFeeForMessage`Available options: `getFeeForMessage` paramsone of\[\]required Parameters for the method. ### Show available items Responses 200 Successfully retrieved the fee for the given message. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getFeeForMessage", "params": [\ "AQABAgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQAA"\ ] }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": { "context": { "slot": 5068 }, "value": 5000 } } Successfully retrieved the fee for the given message. --- # getHealth | Helius Docs [PreviousgetGenesisHash](/rpc/http/getgenesishash) [NextgetHighestSnapshotSlot](/rpc/http/gethighestsnapshotslot) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getHealth post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getHealth`Available options: `getHealth` Responses 200 The node is healthy. application/json 500 The node is unhealthy. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getHealth" }' Test it 200 500 Copy { "jsonrpc": "2.0", "id": "1", "result": "ok" } The node is healthy. --- # getEpochSchedule | Helius Docs [PreviousgetEpochInfo](/rpc/http/getepochinfo) [NextgetFeeForMessage](/rpc/http/getfeeformessage) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getEpochSchedule post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getEpochSchedule`Available options: `getEpochSchedule` Responses 200 Successfully retrieved epoch schedule information. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getEpochSchedule" }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": { "slotsPerEpoch": 8192, "leaderScheduleSlotOffset": 8192, "warmup": true, "firstNormalEpoch": 8, "firstNormalSlot": 8160 } } Successfully retrieved epoch schedule information. --- # getGenesisHash | Helius Docs [PreviousgetFirstAvailableBlock](/rpc/http/getfirstavailableblock) [NextgetHealth](/rpc/http/gethealth) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getGenesisHash post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getGenesisHash`Available options: `getGenesisHash` Responses 200 Successfully retrieved the genesis hash. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getGenesisHash" }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": "GH7ome3EiwEr7tu9JuTh2dpYWBJK3z69Xm1ZE3MEE6JC" } Successfully retrieved the genesis hash. --- # getInflationGovernor | Helius Docs [PreviousgetIdentity](/rpc/http/getidentity) [NextgetInflationRate](/rpc/http/getinflationrate) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getInflationGovernor post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getInflationGovernor`Available options: `getInflationGovernor` Responses 200 Successfully retrieved inflation governor information. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getInflationGovernor" }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": { "initial": 0.15, "terminal": 0.015, "taper": 0.15, "foundation": 0.05, "foundationTerm": 7 } } Successfully retrieved inflation governor information. --- # getInflationRate | Helius Docs [PreviousgetInflationGovernor](/rpc/http/getinflationgovernor) [NextgetInflationReward](/rpc/http/getinflationreward) Last updated 4 months ago Was this helpful? 馃敆 ### [](#api-key-less-than-api-key-greater-than) getInflationRate post https://mainnet.helius-rpc.com/?api-key= Body jsonrpcstring 路 enumoptional The JSON-RPC protocol version. Example: `2.0`Available options: `2.0` idstringoptional A unique identifier for the request. Example: `1` methodstring 路 enumoptional The name of the RPC method to invoke. Example: `getInflationRate`Available options: `getInflationRate` Responses 200 Successfully retrieved inflation rate information. application/json 400 Invalid request. application/json 401 Unauthorized, invalid API key. application/json 500 Server error. application/json cURL JavaScript Python HTTP Copy curl -L \ --request POST \ --url 'https://mainnet.helius-rpc.com/?api-key=' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": "1", "method": "getInflationRate" }' Test it 200 400 401 500 Copy { "jsonrpc": "2.0", "id": "1", "result": { "total": 0.149, "validator": 0.148, "foundation": 0.001, "epoch": 100 } } Successfully retrieved inflation rate information. ---