TypeScript SDK for Aleph Indexer GraphQL API
npm install aleph-indexer-sdk```
██╗███╗ ██╗██████╗ ███████╗██╗ ██╗███████╗██████╗ ███████╗██████╗ ██╗ ██╗
██║████╗ ██║██╔══██╗██╔════╝╚██╗██╔╝██╔════╝██╔══██╗ ██╔════╝██╔══██╗██║ ██╔╝
██║██╔██╗ ██║██║ ██║█████╗ ╚███╔╝ █████╗ ██████╔╝ ███████╗██║ ██║█████╔╝
██║██║╚██╗██║██║ ██║██╔══╝ ██╔██╗ ██╔══╝ ██╔══██╗ ╚════██║██║ ██║██╔═██╗
██║██║ ╚████║██████╔╝███████╗██╔╝ ██╗███████╗██║ ██║ ███████║██████╔╝██║ ██╗
╚═╝╚═╝ ╚═══╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝
TypeScript SDK for Aleph Indexer GraphQL API.
`bash`
npm install aleph-indexer-sdk graphql-request
`typescript
import { AlephIndexerClient } from 'aleph-indexer-sdk'
const client = new AlephIndexerClient('http://localhost:8080/v1/graphql')
const vaults = await client.GetAllVaults()
const managerVaults = await client.GetVaultsByManager({ manager: '0x123...' })
`
`typescript
import { GraphQLClient } from 'graphql-request'
import { GetAllVaultsDocument, type GetAllVaultsQuery } from 'aleph-indexer-sdk'
const client = new GraphQLClient('http://localhost:8080/v1/graphql')
const result = await client.request
``