Skip to main content
GET
/
user-events
Webhook user events (deprecated)
curl --request GET \
  --url https://api.rhino.fi/webhook/user-events \
  --header 'Authorization: Bearer <token>'
{
  "totalItems": 123,
  "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,
      "_tag": "BRIDGE_PENDING",
      "type": "bridge",
      "estimatedDuration": 1,
      "postBridgeData": {
        "_tag": "extended",
        "vaultId": 1
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token for authentication

Query Parameters

page
string
required

a string to be decoded into a number

limit
string
required

a string to be decoded into a number

sinceTimestamp
string
required

a string to be decoded into a number

Response

WebhookUserEventsResponse

totalItems
number
required
items
object[]
required