Validate Initiator
Validate Initiator
Anyone can initiate a transaction pretending to be somebody with authority over an account.
To validate whether the initiator of the transaction has authority over the account in the transaction, you can use validateInitiatorOverBroadcaster
static function.
Parameters
Field | Description | Type |
---|---|---|
initiator | The username of the initiator | string |
keyType | The keyType used when initiating the transaction | KeychainKeyTypes enum |
transaction | The decoded transaction that is initiated by the initiator being validated | dhive Transaction |
Last updated