sdk.assertlockaddress
Home > @blaze-cardano/sdk > assertLockAddress
assertLockAddress() function
Asserts that the given address is a valid lock address.
Signature:
assertLockAddress: (address: Address) => never | void
Parameters
| Parameter | Type | Description | 
|---|---|---|
| address | The address to be checked. | 
Returns:
never | void
Exceptions
{Error} If the address has no payment part or if the payment credential is not a script hash.