All Projects → sablierhq → sablier-subgraph

sablierhq / sablier-subgraph

Licence: GPL-3.0 License
Subgraph for the Sablier money streaming protocol

Programming Languages

typescript
32286 projects
shell
77523 projects

Projects that are alternatives of or similar to sablier-subgraph

fnd-docs
Foundation developer docs
Stars: ✭ 33 (+57.14%)
Mutual labels:  subgraph, the-graph
CryptoPunks
Subgraph for the Cryptopunks marketplace
Stars: ✭ 37 (+76.19%)
Mutual labels:  subgraph
NoteStream
Private money streaming on Ethereum using AZTEC Protocol
Stars: ✭ 24 (+14.29%)
Mutual labels:  money-streaming
subgraph
🇬 The Hop Protocol Subgraph for The Graph
Stars: ✭ 17 (-19.05%)
Mutual labels:  subgraph
creaton
Decentralized content sharing platform.
Stars: ✭ 38 (+80.95%)
Mutual labels:  subgraph
CBioInfCpp-0-
The lib CBioInfCpp.h contains 3 groups of functions for C++: "Input-Output", "Working with strings", "Working with graphs". Data structures "Adjacency vector" and "Adjacency map" are implemented in the last one (i.e. in "Working with graphs"). See About_CBioInfCpp for details.
Stars: ✭ 12 (-42.86%)
Mutual labels:  subgraph

Sablier Subgraph

Sablier is a money streaming protocol running on top of EVM-compatible chains. This subgraph indexes the events emitted by our smart contracts.

You can interact with the subgraph via The Graph's hosted service:

Queries

Below are a few ways to show how to query the Sablier subgraph for data. The queries show most of the information that is queryable, but there are many other filtering options that can be used. Just check out the GraphQL API.

Querying All Streams

{
  streams {
    id
    cancellation {
      recipientBalance
      timestamp
      txhash
    }
    deposit
    ratePerSecond
    recipient
    sender
    startTime
    stopTime
    timestamp
    token {
      id
      decimals
      name
      symbol
    }
    txs {
      id
      block
      event
      from
      timestamp
      to
    }
    withdrawals {
      id
      amount
    }
  }
}

Querying All Transactions

{
  transactions {
    id
    block
    event
    from
    stream {
      id
    }
    timestamp
    to
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].