NEAR can process transactions in parallel, but your programs may still get stuck on the same key
The chain supports parallel processing, but that doesn't mean multiple programs sharing one key can freely submit transactions at the same time. NEAR's throughput and how an application assigns transaction nonces are two separate issues.
The official transaction specification, $NEAR , states that ordinary transaction nonces increment for each signer account and public key combination. A regular access key has its own nonce; all keys on an account do not share a single sequence.
This means that if two programs share the same regular access key and each reads stale state to construct its next transaction, they may contend for the same nonce. No matter how fast the chain is, it can't resolve this kind of local coordination issue for the application.
The official SDK lists rotating multiple access keys for the same account as one way to send transactions in parallel. But that doesn't mean more keys are always better: permission boundaries, nonce allocation, and failure handling all need to be designed together. Gas Keys have multiple nonce sequences of their own and should not be confused with regular access keys.
My view is that when evaluating the efficiency of on-chain bots, success rates can't be explained by network TPS alone. Whether programs are competing for nonces can sometimes be a better indicator of the cause of a failure than the chain's theoretical speed.
The risk is that blindly adding high-privilege keys can increase the impact of a leak, while signing and resending without checking the state can turn the recovery process into duplicate business operations.
Concurrency depends both on the chain and on how signing and nonce management are handled. When a transaction fails, first identify which layer caused the problem.
The chain supports parallel processing, but that doesn't mean multiple programs sharing one key can freely submit transactions at the same time. NEAR's throughput and how an application assigns transaction nonces are two separate issues.
The official transaction specification, $NEAR , states that ordinary transaction nonces increment for each signer account and public key combination. A regular access key has its own nonce; all keys on an account do not share a single sequence.
This means that if two programs share the same regular access key and each reads stale state to construct its next transaction, they may contend for the same nonce. No matter how fast the chain is, it can't resolve this kind of local coordination issue for the application.
The official SDK lists rotating multiple access keys for the same account as one way to send transactions in parallel. But that doesn't mean more keys are always better: permission boundaries, nonce allocation, and failure handling all need to be designed together. Gas Keys have multiple nonce sequences of their own and should not be confused with regular access keys.
My view is that when evaluating the efficiency of on-chain bots, success rates can't be explained by network TPS alone. Whether programs are competing for nonces can sometimes be a better indicator of the cause of a failure than the chain's theoretical speed.
The risk is that blindly adding high-privilege keys can increase the impact of a leak, while signing and resending without checking the state can turn the recovery process into duplicate business operations.
Concurrency depends both on the chain and on how signing and nonce management are handled. When a transaction fails, first identify which layer caused the problem.