REST APIWallet & TransactLightning

GET

This API call is used to fetch current lightning onchain transactions.

Path Params

  • walletId string required

    matches ^[0-9a-f]{32}$

Query Params

  • blockHeight string number
  • limit string number
  • startDate string date-time
  • endDate string date-time
  • prevId string

Responses

200
OK

Response Body

object

  • transactions array of objects required
    transactions object
    • id string required
    • normalizedTxHash string required
    • blockHeight number required
    • inputIds object required
    • entries object required
    • inputs object required
    • outputs object required
    • size number required
    • date string date-time required
    • fee number required
    • feeString string required
    • hex string required
    • confirmations number required
    • blockHash string
    • blockPosition number
    • label string
  • nextBatchPrevId string
    This is the transaction ID from the last item in the current batch. Providing this value as the prevId in the next request will return the next batch of transactions.
400
Bad Request

Response Body

ONE OF

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
404
Not Found

Response Body

object

  • name string enum required
    InvalidWalletId
  • context object required
    context object
    • id string required

      matches ^[0-9a-f]{32}$

  • error string required
    Human-readable error message
  • requestId string required
    Client request id
500
Internal Server Error

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id