> For the complete documentation index, see [llms.txt](https://multisig-doc.hive-keychain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://multisig-doc.hive-keychain.com/static-helpers/validate-initiator.md).

# Validate Initiator

## Validate Initiator

{% hint style="danger" %}
Anyone can initiate a transaction pretending to be somebody with authority over an account.&#x20;
{% endhint %}

To validate whether the initiator of the transaction has authority over the account in the transaction, you can use `validateInitiatorOverBroadcaster` static function.

```typescript
const validAuth:boolean = await HiveMultisig.validateInitiatorOverBroadcaster(
                        initiator: string,
                        keyType: KeychainKeyTypes,
                        transaction: Transaction,
                      );
```

## Parameters

<table><thead><tr><th width="191.33333333333331">Field</th><th width="245">Description</th><th>Type</th></tr></thead><tbody><tr><td>initiator</td><td>The username of the initiator</td><td>string</td></tr><tr><td>keyType</td><td>The keyType used when initiating the transaction </td><td>KeychainKeyTypes enum</td></tr><tr><td>transaction</td><td>The decoded transaction that is initiated by the initiator being validated</td><td>dhive Transaction</td></tr></tbody></table>
