RSS3 Documentation

Retrieve bridging transactions

Retrieve a list of bridging transactions based on various query parameters such as cursor, sender, receiver, address, transaction type, and limit. This endpoint allows users to filter transactions to get precise data related to deposits and withdrawals. The response includes transaction details, such as sender and receiver addresses, token information, and related events like deposit initialization and finalization. Use this endpoint for monitoring, auditing, or analyzing bridging transactions. The 'cursor' parameter can be used for pagination to fetch subsequent sets of results.

GET
/nta/bridgings/transactions
/nta/bridgings/transactions

Query Parameters

cursorstring

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

senderstring

Sender address

receiverstring

Receiver address

addressstring

Address involved in the transaction

typestring

Type of bridging transaction

Value in: "deposit" | "withdraw"

limitinteger

Limit the number of results

Default: 50
curl -X GET "https://gi.rss3.io/nta/bridgings/transactions?cursor=string&sender=string&receiver=string&address=string&type=deposit&limit=50"

List of bridging transactions retrieved successfully

{
  "data": [
    {
      "id": "0x2af31b2a2708d5c9074074c578d3c521bd4385875e500f274fce52d3074460aa",
      "sender": "0x3b6d02a24df681ffdf621d35d70aba7adaac07c1",
      "receiver": "0x3b6d02a24df681ffdf621d35d70aba7adaac07c1",
      "token": {
        "address": {
          "l1": "0xc98d64da73a6616c42117b582e832812e7b8d57f",
          "l2": "0x4200000000000000000000000000000000000042"
        },
        "value": "10000000000000000000000"
      },
      "event": {
        "deposit": {
          "initialized": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          },
          "finalized": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        },
        "withdraw": {
          "initialized": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          },
          "proved": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          },
          "finalized": {
            "block": {
              "hash": "0x200b26e118e51f23d052ef3aa92bc411dbd0a6ce811f511adb9f6049dc938614",
              "number": 726419,
              "timestamp": 1708337158
            },
            "transaction": {
              "hash": "0x6595192f1193c2584c28e7d4b50b9208242bf9b4538933f0081d3f4625373d2f",
              "index": 1
            }
          }
        }
      }
    }
  ]
}