# TransactionMissingToParamError | @aa-sdk/core

> Error thrown when a transaction is missing the `to` address parameter. This class extends the `BaseError` class.

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

Defined in: [aa-sdk/core/src/errors/transaction.ts:7](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/transaction.ts#L7)

Error thrown when a transaction is missing the `to` address parameter. This class extends the `BaseError` class.

## Extends

- [`BaseError`](BaseError)

## Constructors

### Constructor

```ts
new TransactionMissingToParamError(): TransactionMissingToParamError;
```

Defined in: [aa-sdk/core/src/errors/transaction.ts:12](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/errors/transaction.ts#L12)

Throws an error indicating that a transaction is missing the `to` address in the request.

#### Returns

`TransactionMissingToParamError`

#### Overrides

[`BaseError`](BaseError).[`constructor`](BaseError#constructor)

## Properties

<table>
  <thead>
    <tr>
      <th align="left">Property</th>
      <th align="left">Type</th>
      <th align="left">Default value</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <a id="name" /> `name`
      </td>

      <td>
        `string`
      </td>

      <td>
        `"TransactionMissingToParamError"`
      </td>
    </tr>

    <tr>
      <td>
        <a id="version" /> `version`
      </td>

      <td>
        `string`
      </td>

      <td>
        `VERSION`
      </td>
    </tr>

  </tbody>
</table>