# StarknetTx

```
type StarknetTx = 

  | StarknetTxInvoke

  | StarknetTxDeployAccount;
```

Defined in: [atomiq-chain-starknet/src/starknet/chain/modules/StarknetTransactions.ts:94](https://github.com/atomiqlabs/atomiq-chain-starknet/blob/697277c430597a8514a43540ef8b9a10e2b6a595/src/starknet/chain/modules/StarknetTransactions.ts#L94)

Represents a Starknet transactions, which can either be an "INVOKE" or "DEPLOY\_ACCOUNT" type, use the [isStarknetTxInvoke](https://docs.atomiq.exchange/sdk-reference/api/atomiq-chain-starknet/src/functions/isStarknetTxInvoke.md) & [isStarknetTxDeployAccount](https://docs.atomiq.exchange/sdk-reference/api/atomiq-chain-starknet/src/functions/isStarknetTxDeployAccount.md) to narrow down the type.
