# SLPSocket

SLPSockserve is a frontend API for SLPDB that provides a streaming output of new transactions. Unlike slpserve which is a similar frontend API used to fetch historical blockchain data, SLPSockserve can be used display data as it comes in.

Compare this project to SLPStream which may have better characteristics for your application.

Try it here → (opens new window)

# Introduction

SLPSocket querying is done much in the same way as with SLPDB, except in a reduced fashion. There are no aggregate functions possible, only find. Also, only transactions will be available.. so you can query only on u (unconfirmed / recent transactions) and c (all SLP transactions inside a block, limited transaction information).

# Examples

{
  "v": 3,
  "q": {
    "find": {}
  }
}

Try it here → (opens new window)