Skip to main content

Endpoint

POST /info

Request Body

ParameterTypeDescription
type*stringMust be "transactionsByUser"
user*stringUser’s wallet address (case-insensitive), e.g., "0x1234567890abcdef..."
limitnumberMaximum number of transactions to return (default: 50, max: 100)

Response

[
  {
    "transactionId": "0xabc123...",
    "type": "OrderPlaced",
    "timestamp": 1701234567890,
    "blockNumber": 12345,
    "txIndex": 0,
    "orderId": "0xdef456...",
    "data": {}
  }
]

Response Fields

FieldTypeDescription
transactionIdstringTransaction hash
typestringTransaction type
timestampnumberTransaction timestamp (ms)
blockNumbernumberBlock containing transaction
txIndexnumberPosition within block
orderIdstringRelated order ID (optional)
dataobjectTransaction data

Example Request

curl -X POST https://api.notional.xyz/info \
  -H "Content-Type: application/json" \
  -d '{
    "type": "transactionsByUser",
    "user": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"
  }'

Error Responses

{
  "error": "Missing 'user' parameter"
}
HTTP Status: 400 Bad Request

Notes

  • Transactions returned in reverse chronological order (newest first)
  • Common types: OrderPlaced, OrderFillDetected, DepositReported, WithdrawReported
  • The data field varies by transaction type