OstiumBuilder Service
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

HeaderRequiredDescription
X-Trader-AddressYesTrader wallet address.
Content-TypeYesapplication/json or text/plain (JSON string).

Request Body

FieldTypeRequiredDescription
messagestringYesMessage returned by /v1/auth/cancel.
signaturestringYesSignature for the message.

Response Body

FieldTypeRequiredDescription
successbooleanYesWhether the action succeeded.
modestringYesAlways cancel.
smartAccountAddressstringYesSmart account address.
delegatedTostringYesCurrent 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.

On this page