Skip to main content
GET
/
history-cursor
/
user
User History
curl --request GET \
  --url https://api.rhino.fi/bridge/history-cursor/user \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "_id": "<string>",
      "userId": "<string>",
      "chainIn": "<string>",
      "chainOut": "<string>",
      "amountIn": "<string>",
      "amountInUsd": 123,
      "amountOut": "<string>",
      "amountOutUsd": 123,
      "amountNative": "<string>",
      "amountNativeUsd": 123,
      "fee": "<string>",
      "feeUsd": 123,
      "gasFee": "<string>",
      "gasFeeUsd": 123,
      "platformFee": "<string>",
      "platformFeeUsd": 123,
      "percentageFee": "<string>",
      "percentageFeeUsd": 123,
      "sourceGasFee": "<string>",
      "sourceGasFeeUsd": 123,
      "sponsoredFees": {
        "fee": "<string>",
        "feeUsd": 123,
        "gasFee": "<string>",
        "gasFeeUsd": 123,
        "platformFee": "<string>",
        "platformFeeUsd": 123,
        "percentageFee": "<string>",
        "percentageFeeUsd": 123,
        "sourceGasFee": "<string>",
        "sourceGasFeeUsd": 123
      },
      "recipient": "<string>",
      "depositor": "<string>",
      "createdAt": "<string>",
      "commitmentDate": "<string>",
      "token": "<string>",
      "usdPrice": 123,
      "state": "PENDING",
      "speed": "fast",
      "estimatedDuration": 1,
      "postBridgeData": {
        "_tag": "extended",
        "vaultId": 1
      },
      "additionalSteps": [
        {
          "_tag": "RhinoWithdrawalToKarnot",
          "txHash": "<string>",
          "chain": "<string>",
          "createdAt": "<string>"
        }
      ],
      "_tag": "bridge"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Query Parameters

sortBy
enum<string>
required

Field to sort by: "createdAt" or "updatedAt".

Available options:
createdAt,
updatedAt
sortDirection
enum<string>
required

Sort direction: "asc" for ascending, "desc" for descending.

Available options:
asc,
desc
state
enum<string>

Optional filter by bridge state: "PENDING", "ACCEPTED", or "EXECUTED".

Available options:
PENDING,
ACCEPTED,
EXECUTED
pageToken
string

a non empty string

Minimum string length: 1
pageSize
string
required

a string to be decoded into a number

Response

Success

items
object[]
required

Bridge transaction details.

nextPageToken
string | null
required

a non empty string

Minimum string length: 1