Finalize delegation of spending authority from EVM-compatible wallets (Step 3 of 3)
linea or ethereumBearer {access_token}application/jsonus for US-specific Linea routing.Example: ?region=usNote: When region=us is set or x-us-env: true header is used, Linea transactions are automatically routed to linea-us environment.0x followed by 40 hexadecimal characters.Pattern: ^0x[a-fA-F0-9]{40}$Example: 0x3a11a86cf218c448be519728cd3ac5c741fb3424This address must match the one that signed the approval transaction.linea - Linea mainnet (Chain ID: 59144)ethereum - Ethereum mainnet (Chain ID: 1)usdc - USD Coinusdt - Tether USD^\d+(\.\d+)?$Example: "5000" or "5000.50"approve() call on the token contract. Must start with 0x followed by 64 hexadecimal characters.Pattern: ^0x[a-fA-F0-9]{64}$Example: 0xb92de09d893e8162b0861c0f7321f68df02212efbc58f208839ae3f176d89638The API verifies this transaction exists on-chain and is confirmed.sigMessage with the wallet’s private key. Must start with 0x followed by 130 hexadecimal characters.Pattern: ^0x[a-fA-F0-9]{130}$Example: 0x2039b9765a4df76e8bae80f3bbc640e8ae6acc81f7a5cc96fe91ccc1844b6f7d4c3e8f1a2b5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5bGET /v1/delegation/token (Step 1). Must be a valid UUID.Format: UUID v4Example: 100a99cf-f4d3-4fa1-9be9-2e9828b20ebcNote: Token expires after ~10 minutes or after successful use.| Code | Description |
|---|---|
| 201 | Wallet delegation completed successfully |
| 400 | Bad request - invalid data format or verification failed |
| 401 | Authentication failed - invalid or expired access token |
| 422 | Validation error - invalid request parameters |
| 498 | Invalid client key |
| 499 | Missing client key |
| 500 | Internal server error |
GET /v1/wallet/external endpoint responsesigMessage must follow the EIP-4361 Sign-In with Ethereum standard:
address field159144 for Linea, 1 for Ethereum mainnetsigHash doesn’t match the wallet that signedsigMessage was modified after signingaddress fieldsigMessage after user signs itTransaction Confirmation
Error Handling
Security
User Experience