Thanks for using our RPC infra. Here are some details:

How fast is our API?

You can try it out yourself. The following request fetches the hashlist for an NFT project.

curl <https://rpc.theindex.io> -X POST -H "Content-Type: application/json" -d '{
  "method": "getProgramAccounts",
  "jsonrpc": "2.0",
  "params": [
    "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
    {
			"commitment": "finalized",
      "encoding": "base64",
      "filters": [
        {
          "memcmp": {
            "offset": 326,
            "bytes": "B9REbEXGse3JD2EtypAt2rDwPniA57AtPMCQ8n4WfYnK"
          }
        },
        {
          "memcmp": {
            "offset": 358,
            "bytes": "2"
          }
        }
      ]
    }
  ],
  "id": "speed-test"
}'

This takes around a full minute on other RPC providers but we respond in ~5 seconds 😉

<aside> ⚠️ Although we have tested and used this infrastructure internally this is still an experimental service, use it at your own risk.

</aside>

Enhanced APIs

Currently, we support the following extra methods:

getNFTsByOwner

Returns the NFT metadata for Mints that are owned by a wallet.

Parameters:

<string> - Pubkey of account to query, as base-58 encoded string

Results:

The result field will be an array of JSON objects. Each object will contain the following fields: