Skip to content

@swapped/connect-sdk / wallet-verification / WalletVerificationChallenge

Type Alias: WalletVerificationChallenge ​

WalletVerificationChallenge = object

Defined in: src/types/wallet-verification.types.ts:68

Proof payload while WalletVerification.status is pending. null on terminal statuses (verified / failed / expired) because the API omits it after the challenge is consumed or the TTL lapses.

Properties ​

authorizationUrl ​

authorizationUrl: string | null

Defined in: src/types/wallet-verification.types.ts:83

Coinbase login URL (exchange_oauth only). Expires with the challenge (~15 min). openVerificationTab() / same-tab redirect use this - there is no /proof step.

Example ​

ts
`'https://login.coinbase.com/oauth2/auth?...'`

expiresAt ​

expiresAt: string | null

Defined in: src/types/wallet-verification.types.ts:95

When this challenge dies. After this, status becomes expired.

Example ​

ts
`'2026-09-02T12:15:00.000Z'`

message ​

message: string | null

Defined in: src/types/wallet-verification.types.ts:75

Exact string the wallet must sign (signature only). Sign this as returned - do not build SIWE or rewrite the text.

Example ​

ts
`'Sweeper: I confirm I control wallet address 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B (verification b6f3c2a1-0000-4000-8000-000000000001, expires 2026-09-02T12:15:00.000Z)'`

nonce ​

nonce: string | null

Defined in: src/types/wallet-verification.types.ts:89

Server nonce bound into the challenge.

Example ​

ts
`'n7k2…'`