Skip to main content
POST
/
v1
/
rpc
/
getMempoolEntriesByAddresses
Get mempool entries by addresses
curl --request POST \
  --url https://api.kas.fyi/v1/rpc/getMempoolEntriesByAddresses \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "addresses": [
    "kaspa:qpzpfwcsqsxhxwup26r55fd0ghqlhyugz8cp6y3wxuddc02vcxtjg75pspnwz",
    "kaspa:qpz2vgvlxhmyhmt22h538pjzmvvd52nuut80y5zulgpvyerlskvvwm7n4uk5a"
  ],
  "includeOrphanPool": false,
  "filterTransactionPool": false
}'
{
  "entries": [
    {
      "fee": "1000",
      "transaction": {
        "version": 1,
        "inputs": [
          {
            "previousOutpoint": {
              "transactionId": "34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6",
              "index": 0
            },
            "signatureScript": "0x473044...",
            "sequence": "4294967295",
            "sigOpCount": 1
          }
        ],
        "outputs": [
          {
            "value": "1000000000",
            "scriptPublicKey": "<string>",
            "verboseData": {
              "scriptPublicKeyType": "pubkeyhash",
              "scriptPublicKeyAddress": "kaspa:qpzpfwcsqsxhxwup26r55fd0ghqlhyugz8cp6y3wxuddc02vcxtjg75pspnwz"
            }
          }
        ],
        "lockTime": "0",
        "subnetworkId": "0100000000000000000000000000000000000000",
        "gas": "0",
        "payload": "0x",
        "mass": "1000",
        "verboseData": {
          "transactionId": "34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6",
          "hash": "34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6",
          "computeMass": "1000",
          "blockHash": "34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6",
          "blockTime": "1638360000000"
        }
      },
      "isOrphan": false
    }
  ]
}

Cost

This endpoint costs 0.1 RU (Request Units) per call.

Authorizations

x-api-key
string
header
required

API key required for authentication. Get your API key at https://developer.kas.fyi

Body

application/json
addresses
string[]
required

Array of Kaspa addresses to get mempool entries for

Example:
[
"kaspa:qpzpfwcsqsxhxwup26r55fd0ghqlhyugz8cp6y3wxuddc02vcxtjg75pspnwz",
"kaspa:qpz2vgvlxhmyhmt22h538pjzmvvd52nuut80y5zulgpvyerlskvvwm7n4uk5a"
]
includeOrphanPool
boolean

Whether to include transactions from orphan pool

Example:

false

filterTransactionPool
boolean

Whether to filter transactions from transaction pool

Example:

false

Response

200 - application/json

Mempool entries for addresses retrieved successfully

entries
object[]
required

Array of mempool entries for the specified addresses

⌘I