Coinbase Server Wallet icon

Coinbase Server Wallet

Interact with Coinbase Server Wallet API v2 (EVM & Solana)

Actions61

EVM Accounts → Sign Evm Typed Data

AI-generated

Summary

Sign EVM typed data using a specific EVM account.

Inputs

  • X-Wallet-Auth (required) — A JWT signed using your Wallet Secret, encoded in base64.
  • X-Idempotency-Key — An optional UUID v4 request header for making requests safely retryable.
  • address (required) — The 0x-prefixed address of the EVM account.
  • domain (required) — The domain of the EIP-712 typed data.
  • types (required) — A mapping of struct names to an array of type objects for the EIP-712 data.
  • primaryType (required) — The primary type of the message, corresponding to the root of the struct.
  • message (required) — The message to sign, structured according to the primary type.
  • requestOptions — Optional request settings including batching, SSL, proxy, and timeout.

Output shape

a signed EVM typed data response

Ensure all required fields are provided; response will include a signature of the typed data requested.

Examples

Example 1: Signing a permission transfer message

Configure with the necessary account address, domain details, types, and message for transfer.

Discussion