# check_auth_args · FT4 Rell API · Chromia Docs (concept)

> function check_ auth_ args(a_ t: auth_type , args: byte_ array, signers: list<byte_ array>, required_ flags: list<text>): validation_result Checks that the

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/check_auth_args/

FUNCTION

# check\_auth\_args

```signature
function check_auth_args(a_t: auth_type, args: byte_array, signers: list<byte_array>, required_flags: list<text>): validation_result
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/auth_basic.rell#lines-176)

Checks that the multi-sig auth descriptor has all the requirements to authorize an
operation.

Can only be called from an operation.

Gives invalid results when the signatures cannot be validated, i.e.:

* `signers` is 0 or more than one, but the auth type is `auth_type.S`
* the single sig signer did not sign
* not enough multisig signers signed
* the flags of the auth descriptors do not contain all `required_flags`

**Parameters**

* **args** — The args for this auth descriptor.
* **signers** — The signers for this auth descriptor.
* **required\_flags** — The flags it must have for the operation that needs to be authorized.

**Returns**

`utils.VALID` if valid, `utils.invalid` otherwise.

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/check_auth_args.html)Generated API reference, mirrored from the live docs
