# finalizeTransactionSigning

The `finalizeTransactionSigning` method adds a signature to an unsigned transaction, producing a signed transaction that can be broadcast to the network.

## Usage

```ts twoslash
// [!include ~/snippets/code/chains.ts]
const { transaction, hashesToSign } =
  await evmChain.prepareTransactionForSigning({
    to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
    from: '0x8626f6940E2eb28930eFb4CeF49B2d1F2C9C1199',
    value: 1n,
    data: '0x',
  })
// ---cut---
import { RSVSignature } from 'signet.js'

const rsvSignatures: RSVSignature[] = [
  {
    r: '123...',
    s: '123...',
    v: 27,
  },
]

const signedTx = evmChain.finalizeTransactionSigning({
  transaction,
  rsvSignatures,
})
```

## Parameters

| Parameter       | Type                     | Description                                                         |
| --------------- | ------------------------ | ------------------------------------------------------------------- |
| `transaction`   | `EVMUnsignedTransaction` | The unsigned transaction prepared by `prepareTransactionForSigning` |
| `rsvSignatures` | `RSVSignature[]`         | Array of RSV signatures from the MPC network                        |

## Returns

| Type                  | Description                                             |
| --------------------- | ------------------------------------------------------- |
| `` `0x02${string}` `` | The serialized signed transaction (EIP-1559 hex string) |
