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

> @mount("gtx_ api.priority_ check_ v1")
query priority_ check_ v1(tx_ body: gtx_ transaction_ body, tx_ size: integer, tx_ enter_ timestamp: integer, curren

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

QUERY

# priority\_check\_v1

```signature
@mount("gtx_api.priority_check_v1")
query priority_check_v1(tx_body: gtx_transaction_body, tx_size: integer, tx_enter_timestamp: integer, current_timestamp: integer): priority_state_v1
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/prioritization/module.rell#lines-53)

This query is used by Postchain.
It will be called for every transaction, and the result will be used to determine the
transaction priority.

This is not an actual implementation, it simply calls `priority_check` to allow the
implementation of this query to be defined by the end user.

If the implementation defined in `priority_check` throws, the transaction will be rejected.

**Parameters**

* **tx\_body** — the transaction
* **tx\_size** — size of the transaction in bytes
* **tx\_enter\_timestamp** — when the transaction entered the queue
* **current\_timestamp** — the current timestamp

**See Also**

* [<https://gitlab.com/chromaway/postchain/blob/dev/postchain-base/src/main/kotlin/net/postchain/base/BaseTransactionPrioritizer.kt>]

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