fix: get nonce from pending txs or account