---
title: "Sign transaction via end user EVM account"
method: POST
path: "/v2/embedded-wallet-api/end-users/{userId}/evm/sign/transaction"
tags: ["End User Accounts"]
---

# Sign transaction via end user EVM account

`POST /v2/embedded-wallet-api/end-users/{userId}/evm/sign/transaction`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/embedded-wallet-api/end-users/{userId}/evm/sign/transaction`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Signs a transaction with the given end user EVM account.
The transaction should be serialized as a hex string using [RLP](https://ethereum.org/en/developers/docs/data-structures-and-encoding/rlp/).

The transaction must be an [EIP-1559 dynamic fee transaction](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1559.md). The developer is responsible for ensuring that the unsigned transaction is valid, as the API will not validate the transaction.

## Path parameters

- `userId` string, required

## Query parameters

- `projectID` string

## Headers

- `X-Wallet-Auth` string
- `X-Idempotency-Key` string
- `X-Developer-Auth` string

## Request body

- object
  - `address` string, required: The 0x-prefixed address of the EVM account belonging to the end user.
  - `transaction` string, required: The RLP-encoded transaction to sign, as a 0x-prefixed hex string.
  - `walletSecretId` string: Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.

## Response `200`

Successfully signed transaction.

- object
  - `signedTransaction` string, required: The RLP-encoded signed transaction, as a 0x-prefixed hex string.

## Other responses

- `400`: Invalid request.
- `401`: Unauthorized.
- `402`: A payment method is required to complete this operation.
- `403`: The request was rejected due to a delegation issue. The errorType field indicates the specific reason.
- `404`: Not found.
- `409`: The resource already exists.
- `422`: Idempotency key conflict.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 10 warning
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `401`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `402`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `403`
  - …6 more
- **2026-10-16** `ff3c1fdef902`: 10 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `401`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `402`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `403`
  - …6 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/embedded-wallet-api/end-users/:userId/evm/sign/transaction/post.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
