suix_queryTransactionBlocks

Extended API

Return list of transactions for a specified query criteria.

Parameters

KeyRequiredTypeDetail
queryTransactionBlockResponseQuerythe transaction query criteria.
cursorObjectIDAn optional paging cursor. If provided, the query will start from the next item after the specified cursor. Default to start from the first item if not specified.
limituintMaximum item returned per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified.
descending_orderbooleanquery result ordering, default to false (ascending order), oldest record first.
"params": [
  {
    "filter": {
      "InputObject": "0xbb1531504c9c3235d3cd637ed9573cbe18461255b4175a1cb1e1b07b8aa8e11b"
    },
    "options": null
  }
]

Result

TransactionBlocksPage: <Page_for_TransactionBlockResponse_and_TransactionDigest> Return the transaction digest for specified query criteria.

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_queryTransactionBlocks",
  "params": [
    {
      "filter": {
        "InputObject": "0xbb1531504c9c3235d3cd637ed9573cbe18461255b4175a1cb1e1b07b8aa8e11b"
      },
      "options": null
    }
  ]
}
'

Response

{
    "jsonrpc": "2.0",
    "result": {
        "data": [
            {
                "digest": "HSBM8Yx3s1Hwz22xSX5QGXnPfcuCWxHj2UHrBWMRqUfG"
            },
            {
                "digest": "29aeUyvR1W6kY2EsY4cFUQbX3nZL5QuVsZb7nLXZ7Qvj"
            },
            {
                "digest": "HJkouQgyRKJxV4kZcDv3x5skgg6CCfdjDy6njzUZtdtC"
            },
            {
                "digest": "9HDq7L11XuGZHvAt4qWhE7h4JsS53jDz9KPhZYHDvRKx"
            },
            {
                "digest": "8b9DuCsT19P5EzwzUdRVFFx2AshwVC6jvRJkA5ooGEFK"
            },
            {
                "digest": "8aMyKx8T1V6atGHEH5v6ZRriL1tn4qs94CoEiRAKX4dT"
            },
            {
                "digest": "2kLpqYU2tyKxFDy4aqG21Xvkwcmw4zvtaNNBU34Gg9AS"
            },
            {
                "digest": "6sSFwMHa4EoHJyaDW1TdMVMSuaWU1w6eurrMEkLNaKj9"
            },
            {
                "digest": "4KX4Q3aAnGNeXFyk7Mh5CSx4AeBbU5j3N5BTbYmZDZKR"
            },
            {
                "digest": "CEmg2Cpk87vByLxvG1ZwS4dRbyigjA8KvwMsh9ZgcDkp"
            },
            {
                "digest": "HETNREE6Zkkc1A8JsDtDqgCxungthMeKvxZLJ7AbF2xd"
            },
            {
                "digest": "GyCESSj3YfeqBqsyPmngb7CPMswBpAtCmdKAQJsJGAbi"
            },
            {
                "digest": "ENm1YVMa82JsfnNsujkCHqRvFLRci5dToMKn3x6C7neB"
            },
            {
                "digest": "CBTgvXrVeKrvEdxVie8c8kStMa9Ky9sZdb3xkuNM6MsB"
            },
            {
                "digest": "9iTyYRTc9yPyjusbC25a4ngstSgMGNDPMM4grLrZxkaF"
            },
            {
                "digest": "3bZCZRWbpDdZ7nQP8QKNBozDk58rzR974KPbVXGAGZeS"
            },
            {
                "digest": "8Q69vctCs8krDE9gT9gJpbPMtDRRWE7pbGnBopBakmcq"
            },
            {
                "digest": "A49jZCNHqq62RnGdVLgrGQHC45LFDCVUMY9hJ85SX2sy"
            },
            {
                "digest": "5CukP9ZbKm1LDmmGAMsyU79nhyVnnqzTYxBfqu3H2b9c"
            },
            {
                "digest": "D92dESqwpuWWdwjMLKUVBmwCjwnjmGerJUBDAPESggnK"
            },
            {
                "digest": "3GVNZE6WUXxf1Pk9oK3iHzF48xLUDnU3yQAQQRv579qZ"
            },
            {
                "digest": "Hp5QydFJPgNovekaH2UfHdMxeKxSzeWAeVn6qvYyujRP"
            },
            {
                "digest": "FU7PndkDmEgc7sAUhMp54V6NrrPjZcWzo2YVU7N1LJYS"
            },
            {
                "digest": "DC4ficb8Pie9phugGt5RQPsZTrtgKo5kFXwXDtG1DTft"
            },
            {
                "digest": "GmJuqt72kKfWhdqEJG2hCDrMhh6pt8qwcqMdn631DsiD"
            },
            {
                "digest": "4TDGntyAj5GhL7FEGcYViXL4qMenFKntCoBrhjTCMgQv"
            },
            {
                "digest": "GdR1ZazubRj6nBRwfvw7yg9d8E9UjqjX4souCJykc7YL"
            },
            {
                "digest": "BBNG6MJkvtZa9uvu2RW26t9SLJJpKU4HQ84nxUf3GBvw"
            },
            {
                "digest": "BsJakz2Td7bdT9JLEFvJgQGubj1guQsTM9UGrm4PZg5c"
            },
            {
                "digest": "9j8a6f1LjfynLQzwp9WdFRbNV3egPnkv36iSr166skEi"
            },
            {
                "digest": "4kapenZvPiMrch7dXhKGG3W357u2HwKSa4kQE3SaW74e"
            },
            {
                "digest": "Duqai9H7YDpfwqgg2j4ZpDwA2uwgiyrxrmJbWPyp1naM"
            },
            {
                "digest": "4zFdJcnZZxgWRRnCAANqZxMpctKYq5EmLj6gsDRX7u35"
            },
            {
                "digest": "LRXHhSD8nK9bLYS9QvPpacWqgqnH1fUKD9XCu51jdvf"
            },
            {
                "digest": "4YQzgbDoewBrcyCngrKFV5buMsz2Em1p9QoZ32GXr4rH"
            },
            {
                "digest": "8vihZQbdDT54EosjRMsEy6kq34CS4bQc4mwk57o8eBXb"
            },
            {
                "digest": "646ch1eYMUzHkAUsSzYpNYyxi54CoRgL57JRdx8j7VTh"
            },
            {
                "digest": "8E3VxrvcMShYjEX5uGdjU7RBhbstDxCcuMPAtxaaRwcB"
            },
            {
                "digest": "8RtF57qTySd1v2CQW2Pws3AfVknrbjRzjwJuR7ythL3m"
            },
            {
                "digest": "2iyrMpgdi3G76w9h6xQcdHvpta22shAzV3w7JTcJdfG7"
            },
            {
                "digest": "FXvc92UCWYeavXFcf9Jn2bxGt1MiV9AigpHfA2jVhD1j"
            },
            {
                "digest": "BuqLAyZ8BhjVzrUpvQ43KDtP5oeCtmYoje2a2akndPeY"
            },
            {
                "digest": "57yE1HAwpMF4aq4TJHxioHox6mtS4EXdrwTQgYCNS6Uf"
            },
            {
                "digest": "CobWe3Q4z53ELPFpavMynRxtg8CdMNLZMtQdnWQ3WoPW"
            },
            {
                "digest": "Hr8efy5YrZKBpZwakDts3XpUot7pbapJGJtokAshtYL7"
            },
            {
                "digest": "6PgxgwMacVKgzCua46tPHo7fZmauRttiv1Z9S26rXYh8"
            },
            {
                "digest": "AoZfkbWK4XbgDnKvXfVR9Ts6Z8KqYiKf8tbsaW7wpHAc"
            },
            {
                "digest": "6XjsXTkj3QR5sP3MBD2v7oDrFKNt1hUAWdS7Z2N7yK4V"
            },
            {
                "digest": "HN5KRboX5tXukwixdATMEJHjY69AyfufxTj7BMm3LYdr"
            },
            {
                "digest": "AwFp5e2AeN6k3LRFVw8Gdx9wnTutuCgV74J4rUQryccN"
            }
        ],
        "nextCursor": "AwFp5e2AeN6k3LRFVw8Gdx9wnTutuCgV74J4rUQryccN",
        "hasNextPage": true
    },
    "id": 1
}
Language
Click Try It! to start a request and see the response here!