OstiumBuilder Service
API ReferenceHTTP APIAuth

Auth: Cancel

Get a cancel message for unverified delegate wallets.

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/cancel

Returns a message that the trader must sign to cancel an unverified delegate wallet.

Headers

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

Response Body

FieldTypeRequiredDescription
messagestringYesMessage to sign (EIP-191 / personal_sign).
noncestringYesNonce embedded in the message.
expiresAtstringYesISO expiry time.
smartAccountAddressstringYesSmart account address.

Example

curl -X POST https://builder.ostiscan.xyz/v1/auth/cancel \
  -H "X-Trader-Address: 0xYourWallet"

Example Response

{
  "message": "<signable message returned by server>",
  "nonce": "0x...",
  "expiresAt": "2026-02-05T12:34:56.789Z",
  "smartAccountAddress": "0x..."
}

Notes

  • Use this only for unverified delegate wallets.
  • If the message expires, call this endpoint again for a fresh message.

Errors

See /docs/errors.

On this page