{"id":22046155,"url":"https://github.com/sablier-labs/legacy-subgraph","last_synced_at":"2025-10-12T03:17:48.190Z","repository":{"id":43335303,"uuid":"185214259","full_name":"sablier-labs/legacy-subgraph","owner":"sablier-labs","description":"Subgraph for the Sablier Legacy protocol","archived":false,"fork":false,"pushed_at":"2024-12-12T12:49:21.000Z","size":2476,"stargazers_count":30,"open_issues_count":2,"forks_count":13,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-10-03T06:52:38.536Z","etag":null,"topics":["blockchain","cryptoasset-streaming","decentralized-finance","defi","ethereum","graphql","money-streaming","real-time-finance","subgraph","the-graph"],"latest_commit_sha":null,"homepage":"https://thegraph.com/hosted-service/subgraph/sablier-labs/sablier","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sablier-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-06T14:34:25.000Z","updated_at":"2025-06-03T23:53:49.000Z","dependencies_parsed_at":"2024-01-11T20:31:45.395Z","dependency_job_id":"44437222-a7a9-4bea-bbec-35587466b29b","html_url":"https://github.com/sablier-labs/legacy-subgraph","commit_stats":null,"previous_names":["sablier-labs/v1-subgraph","sablier-labs/legacy-subgraph"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sablier-labs/legacy-subgraph","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-subgraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-subgraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-subgraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-subgraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sablier-labs","download_url":"https://codeload.github.com/sablier-labs/legacy-subgraph/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sablier-labs%2Flegacy-subgraph/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010175,"owners_count":26084691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","cryptoasset-streaming","decentralized-finance","defi","ethereum","graphql","money-streaming","real-time-finance","subgraph","the-graph"],"created_at":"2024-11-30T13:16:37.866Z","updated_at":"2025-10-12T03:17:48.160Z","avatar_url":"https://github.com/sablier-labs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sablier Legacy Subgraph\n\nThis is the subgraph of the Sablier Legacy token streaming protocol. The most recent release is called Lockup and can be found [here](https://github.com/sablier-labs/lockup). For more details about how Sablier works, check out our docs at [docs.sablier.com](https://docs.sablier.com)/.\n\nYou can interact with the subgraph using The Graph's hosted service:\n\n- [sablier-labs/sablier](https://thegraph.com/explorer/subgraph/sablier-labs/sablier)\n- [sablier-labs/sablier-arbitrum](https://thegraph.com/explorer/subgraph/sablier-labs/sablier-arbitrum)\n- [sablier-labs/sablier-avalanche](https://thegraph.com/explorer/subgraph/sablier-labs/sablier-avalanche)\n- [sablier-labs/sablier-bsc](https://thegraph.com/explorer/subgraph/sablier-labs/sablier-bsc)\n- [sablier-labs/sablier-matic](https://thegraph.com/explorer/subgraph/sablier-labs/sablier-matic)\n- [sablier-labs/sablier-optimism](https://thegraph.com/explorer/subgraph/sablier-labs/sablier-optimism)\n\n## Queries\n\nBelow are a few ways to show how to query the Sablier Legacy subgraph for data. The queries show most of the information that\nis queryable, but there are many other filtering options that can be used. Just check out the GraphQL API.\n\n### Query All Streams\n\n```graphql\n{\n  streams {\n    id\n    cancellation {\n      recipientBalance\n      timestamp\n      txhash\n    }\n    deposit\n    ratePerSecond\n    recipient\n    sender\n    startTime\n    stopTime\n    timestamp\n    token {\n      id\n      decimals\n      name\n      symbol\n    }\n    txs {\n      id\n      block\n      event\n      from\n      timestamp\n      to\n    }\n    withdrawals {\n      id\n      amount\n    }\n  }\n}\n```\n\n### Query All Streams for a Particular User\n\nYou can do this with the [`where`](https://thegraph.com/docs/en/querying/graphql-api/#example-using-where) clause. Make sure that the user address is in lowercase:\n\n```graphql\n{\n  streams(where: { sender: \"0xcafe...beef\" }) {\n    id\n  }\n}\n```\n\n### Query All Transactions\n\n```graphql\n{\n  transactions {\n    id\n    block\n    event\n    from\n    stream {\n      id\n    }\n    timestamp\n    to\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsablier-labs%2Flegacy-subgraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsablier-labs%2Flegacy-subgraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsablier-labs%2Flegacy-subgraph/lists"}