cURL
curl --request POST \ --url https://api.portalhq.io/api/v3/custodians/me/alerts/format \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "chain": "eip155", "rawAlert": "{\"...\"}" } '
[ { "chainName": "sepolia", "chainId": "eip155:11155111", "from": "0xf428e1f82f18de15ef2861a4bdde42e755998ece", "to": "0xdfd8302f44727a6348f702ff7b594f127de3a902", "amount": "0.001", "tokenSymbol": "USDC", "assetType": "NON_NATIVE_TOKEN", "direction": "OUTBOUND" } ]
Deprecated. Use the alert webhooks endpoints instead.
Formats a raw webhook request body for wallet events, which may include one or many transactions at once.
Portal API Key (Custodian API Key). Pass as a Bearer token in the Authorization header.
The chain the raw webhook event is from (e.g. "eip155").
The stringified raw webhook event.
Alerts formatted successfully
Show child attributes
Was this page helpful?