Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.08 KB

GET_TRANSACT_POOL.md

File metadata and controls

34 lines (28 loc) · 1.08 KB

Get all transactions in Transaction Pool

GET /api/transact-pool-map

Returns a list of transactions present in Transaction pool

Example

Request

GET http://localhost:3000/api/transact-pool-map

Response

{
  "2b158f40-74e8-11eb-ab4c-ed1c196f652d": {
    "id": "2b158f40-74e8-11eb-ab4c-ed1c196f652d",
    "outputMap": {
      "041b15787c99df052c0b07cd8049dd49762b79f2f80635e39aa76ad26c94079ddfb77cc7100c9df1c0497dd52409f71190b81fe8c839f5a8f3ea2d79b780f59919": 200,
      "04d07b2a37a6dbae641a3b10f1e8d1eb2d72ef3614ad977be1f15ca78b1477f2b4b67d33412b9d29ec67df2c8da03ee25b3a5c1e7ce7be3e33e1f2a47091a58e84": 815
    },
    "input": {
      "timestamp": 1613982606900,
      "amount": 1015,
      "address": "04d07b2a37a6dbae641a3b10f1e8d1eb2d72ef3614ad977be1f15ca78b1477f2b4b67d33412b9d29ec67df2c8da03ee25b3a5c1e7ce7be3e33e1f2a47091a58e84",
      "signature": {
        "r": "647ce12f17a66f4fc42cfee7d3a365f71973f8d95ed14f6e33c20f8445eac9d7",
        "s": "c801d0bacc147dc13c12af0fd092d8d57b0f8ad7448072a63e870536476f21da",
        "recoveryParam": 1
      }
    }
  }
}