RSS3 Documentation

Retrieve staking transactions

Retrieve a list of staking transactions based on various query parameters such as cursor, staker, node, transaction type, pending status, and limit. This endpoint allows users to filter transactions to get precise data related to staking activities including deposits, withdrawals, stakes, and unstakes. The response includes detailed transaction information such as staker address, Node address, value staked, associated chips, and related events. Use this endpoint for monitoring, auditing, or analyzing staking transactions. The 'cursor' parameter can be used for pagination to fetch subsequent sets of results.

GET
/nta/stakings/transactions
/nta/stakings/transactions

Query Parameters

cursorstring

Specify the cursor used for pagination. This helps in retrieving the next set of results in a paginated response.

stakerstring

Staker address

nodestring

Node address

typestring

Type of staking transaction

Value in: "deposit" | "withdraw" | "stake" | "unstake" | "merge_chips"

pendingboolean

Pending status of the transaction

limitinteger

Limit the number of results

Default: 50
curl -X GET "https://gi.rss3.io/nta/stakings/transactions?cursor=string&staker=string&node=string&type=deposit&pending=true&limit=50"

List of staking transactions retrieved successfully with pagination cursor

{
  "data": [
    {
      "id": "0xcb4038576ed46c3913915435c7ccb7316cf83c626dfcf580d0b84b86702e76eb",
      "staker": "0xc8b960d09c0078c18dcbe7eb9ab9d816bcca8944",
      "node": "0x08d66b34054a174841e2361bd4746ff9f4905cc2",
      "value": "5000000000000000000000",
      "chip_ids": [
        1690,
        1691
      ],
      "event": {
        "deposit": {
          "deposited": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        },
        "withdraw": {
          "requested": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          },
          "claimed": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        },
        "stake": {
          "staked": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        },
        "unstake": {
          "requested": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          },
          "claimed": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        },
        "merge_chips": {
          "merged": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        }
      }
    }
  ],
  "cursor": "string"
}