priority_state_v1

Return value of priority_check_v1 query. It is used to represent how to prioritize a transaction: if multiple transactions are in queue, the one with the highest priority value will be executed first.

Properties

Link copied to clipboard

ID of account which wants to push the transaction forward. A transaction can be multi-party, it's up to the dapp to decide who's the "main actor" of the transaction.

Link copied to clipboard

Number of points currently associated with the account. If this is lower than tx_cost_point, the transaction will be rejected.

Link copied to clipboard

priority, higher is better

Link copied to clipboard

Number of points which this transaction costs. If this is higher than account_points, the transaction will be rejected.

If many transactions from this account are in queue, the costs are summed up to see if the account would be able to complete them all.