API ReferenceHTTP APIAuth
Auth: Verify Cancel
Verify a signed cancel message.
Alpha Version
The Ostium Builder Service is in Alpha. API endpoints, specifications, and builder URLs may change without notice. Use with caution in production environments.
POST /v1/auth/verify-cancel
Verifies a signed cancel message and deletes the unverified delegate wallet record.
Headers
| Header | Required | Description |
|---|---|---|
X-Trader-Address | Yes | Trader wallet address. |
Content-Type | Yes | application/json or text/plain (JSON string). |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Message returned by /v1/auth/cancel. |
signature | string | Yes | Signature for the message. |
Response Body
| Field | Type | Required | Description |
|---|---|---|---|
success | boolean | Yes | Whether the action succeeded. |
mode | string | Yes | Always cancel. |
smartAccountAddress | string | Yes | Smart account address. |
delegatedTo | string | Yes | Current delegate address. |
Example
curl -X POST https://builder.ostiscan.xyz/v1/auth/verify-cancel \
-H "Content-Type: application/json" \
-H "X-Trader-Address: 0xYourWallet" \
-d '{"message":"<message>","signature":"0x..."}'Example Response
{
"success": true,
"mode": "cancel",
"smartAccountAddress": "0x...",
"delegatedTo": "0x0000000000000000000000000000000000000000"
}Errors
See /docs/errors.